-
Notifications
You must be signed in to change notification settings - Fork 50
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
pop-os//cosmic-protocols is not a valid repository name #258
Comments
This is an intended workaround for rust-lang/cargo#5478. If recent cargo version break this, that is very unfortunate. Thanks for raising this issue |
Yeah, that seems to be the case, just for some more info, here's the full output I get with my version of cargo:
and similarly, using
Trying the git command on its own:
and now after writing all this out I realize that I don't think it's cargo that changed, it's GitHub that changed 😅 it seems GitHub no longer accepts repo names with extra slashes in them... |
I'm not sure if it has a side effect on other parts of project or not, but I could bypass the error using a git config rewrite workaround:
I know workaround for a workaround is not the best idea 😅 |
git config didnt seem to have worked for a work around :( why does cargo use urls with // ? |
@codevski it's not used by cargo, it's used in this project as a workaround for a cargo limitation referenced in #258 (comment). Are you getting the same error after the git config? Do you know if you have configs that have conflict with this one? |
Steps to reproduce:
Fails to build because it tries to fetch the git repo
git@github.com:pop-os//cosmic-protocols
which is not valid, because it has two slashes in it.Fails with both built-in client and with
CARGO_NET_GIT_FETCH_WITH_CLI=true
The text was updated successfully, but these errors were encountered: