-
Notifications
You must be signed in to change notification settings - Fork 343
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
Repository addresses must not contain the .git suffix #566
Comments
Actually we do a cleanup of '.git' when inferring the repo. Should we apply it always? |
@DavidGOrtega, this only happens in the cases where the repository address is inferred from the Git repository itself, but not when it comes from the Line 77 in 498fcd1
Lines 30 to 36 in 498fcd1
If we can safely remove the suffix from every address, let's do it in the code. I can't think of any case where we shouldn't remove it, but I'm not completely sure. |
We can choose to:
I find the latter rather convenient, but I still don't know if there is any special case[citation required] where this behavior can produce unexpected results. It seems pretty safe to me. |
Agree. I can't see anything bad with it. |
The error on #562 happened because the user configured a repository address with the
.git
suffix (e.g. https://github.com/user/repository.git) as theRUNNER_REPO
/--repo
option. It would be nice to clarify this somewhere in a troubleshooting section, if we plan to have it.Desiderata, part of #514
The text was updated successfully, but these errors were encountered: