-
-
Notifications
You must be signed in to change notification settings - Fork 183
Open
Description
Describe the bug
I'm running into an issue where ghorg reclone does not seem to respect the GHORG_ABSOLUTE_PATH_TO_CLONE_TO environment variable.
Context
- I use the environment variable because the conf.yaml file doesn’t handle relative paths correctly.
- My setup runs on multiple machines with different usernames, so I rely on the environment variable to point to a custom directory within each user's home directory.
Any advice or workaround would be appreciated! 😊
To Reproduce
Steps to reproduce the behavior:
- Configure
reclone.yaml
github-dvonessen:
cmd: ghorg clone NAME --scm=github --clone-type user --preserve-dir --token xxxxxx --output-dir github.com/dvonessen
description: Clones the dvonessen user repositories-
Full command and details of the clone (removing your token) e.g.
$ export GHORG_ABSOLUTE_PATH_TO_CLONE_TO=/home/username/git $ ghorg reclone github-dvonessen Running reclone: github-dvonessen Description: Clones the dvonessen user repositories > ghorg clone dvonessen --scm=github --clone-type user --preserve-dir --token XXXXXXX --output-dir github.com/dvonessen +-+-+-+-+ +-+-+ +-+-+-+-+-+ |T|I|M|E| |T|O| |G|H|O|R|G| +-+-+-+-+ +-+-+ +-+-+-+-+-+ ************************************* * SCM : github * Type : user * Protocol : ssh * Location : /Users/dvonessen/ghorg/ * Concurrency : 25 * Skip Archived : true * Wikis : true * Submodules : true * Output Dir : github.com/dvonessen * No Clean : true * Prune : true * Fetch All : true * Reclone Conf : /Users/dvonessen/.config/ghorg/reclone.yaml * Preserve Dir : true * Config Used : /Users/dvonessen/.config/ghorg/conf.yaml * Ghorg version : v1.11.0 ************************************* -
Details on the user/org you tried to clone e.g. is it your user, a public org, etc.
Environment (please complete the following information):
- OS: MacOS 15.1
- SHELL: ZSH
Additional context
Add any other context about the problem here.
Metadata
Metadata
Assignees
Labels
No labels