-
Notifications
You must be signed in to change notification settings - Fork 43
clone via branch does not create a project dir #380
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
Comments
@ericpaulsen I'm trying to reproduce this with envbuilder 1.0 but it seems to work as expected. Could you provide the following additional information:
Edit: This was possibly fixed in #188. |
I believe it’s a bug in this code: envbuilder/options/defaults.go Line 20 in 46c97a4
I’m able to reproduce by testing the code locally on an input like https://github.com/[org]/[repo]/#refs/heads/[branch]
Specifically this line: envbuilder/options/defaults.go Line 28 in 46c97a4
For the URL The same issue can be noticed by adding an extra |
@JonathanSun @mafredri i am also able to reproduce: i just reproduced this on dev.coder.com using the
no $ env | grep GIT
GIT_SSH_COMMAND=/tmp/coder.vPtbyP/coder gitssh --
GIT_COMMITTER_NAME=eric
GIT_ASKPASS=/tmp/coder.vPtbyP/coder
[email protected]
[email protected]
GIT_AUTHOR_NAME=eric |
Thanks @JonathanSun for your investigation and @ericpaulsen for verification, I can also reproduce this by adding the trailing slash 👍🏻 |
Closes #380 Closes coder/customers#690 (cherry picked from commit f50ec7a)
from a prospective customer:
this is blocking their devcontainer use-case with Coder, because their build/service scripts rely on the source path in order to work, so the project not being in
/workspaces/repo-name/
is breaking the services.The text was updated successfully, but these errors were encountered: