-
Notifications
You must be signed in to change notification settings - Fork 517
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
Fetching dependency by git ref fails when upgrading to Erlang 26 #2886
Comments
I could not replicate the issue locally (git version 2.39.3):
Specifically the diagnostic view of checking out grisp_updater:
I'm not sure if there's anything weird about the runners in gitlab or their filesystem that would make this happen? Are you able to replicate in other environments? |
Found the culprit: The new buildroot release sets This results in git checkout looking for the .git directory in the directory where the pipeline checked the tool that contains the rebar config files instead of the checked out dependency. Not sure if you want to guard rebar against this, otherwise this issue can be closed. |
Pre-Check
Environment
Rebar version: 3.22.1
git version: 2.40.1
rebar.config:
Current behaviour
Describe the current behaviour. In case of a failure, crash, or exception, please include the result of running the command with debug information:
It looks to me as if the git checkout is attempted in the wrong directory as the
cd /tmp/
specified in the opts does not happen (cwd does not change across command outputs)Expected behaviour
The command works as it did with Erlang 24.3.2
The text was updated successfully, but these errors were encountered: