-
Notifications
You must be signed in to change notification settings - Fork 62
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Graal does not honor environment variable #101
Comments
Hi @nhasabni,
The git executable path is hardcoded here: https://github.com/chaoss/grimoirelab-graal/blob/master/graal/graal.py#L50. The code should be modified to accept the git executable path via the command line. Please try to create a soft link, it worked for me
Hope it helps! |
Thx, @valeriocos! |
Thanks @valeriocos for looking into this. Unfortunately,
Also, I do not have sudo access in the machine that I am using for setup. So I cannot create a softlink for |
@nhasabni if that suits you, feel free to fork Graal, patch it so that instead of using an specific path for git it uses the one in $PATH, and make it public. It seems some other people in the hackathon could benefit from that. Also, feel free to pull request the modification to the Graal repo. BTW, if you do this, please ensure that is mention in your final paper: not only working with the tools as such, but also adapting them to your specific needs, show a high level of engagement. |
I am using a different version of
git
than the one installed on the system by default. Newer version of thegit
is installed in~/bin
andPATH
variable is set to~/bin
. Shell command forgit
picks it up correctly as:But Graal does not:
worktree
is part ofgit
installed under~/bin
:The text was updated successfully, but these errors were encountered: