Skip to content

git-clone-to-dir.sh fails by default on newer git versions #3111

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

Closed
crummel opened this issue Nov 10, 2022 · 5 comments · Fixed by dotnet/arcade#12297
Closed

git-clone-to-dir.sh fails by default on newer git versions #3111

crummel opened this issue Nov 10, 2022 · 5 comments · Fixed by dotnet/arcade#12297
Assignees
Labels
area-build Improvements in source-build's own build process untriaged

Comments

@crummel
Copy link
Contributor

crummel commented Nov 10, 2022

Git has disallowed the file transport by default now so git-clone-to-dir.sh fails with fatal: transport 'file' not allowed. The solution is either git config --global protocol.file.allow always (for all clones on the machine) or git -c protocol.file.allow=always clone <other stuff as usual> (for the individual clone command).

@ghost ghost added area-build Improvements in source-build's own build process untriaged labels Nov 10, 2022
@MichaelSimons MichaelSimons moved this to Servicing On Deck in .NET Source Build Nov 17, 2022
@MichaelSimons
Copy link
Member

[Triage] @crummel - please check if this affects the 6.0+ tarball creation infrastructure. If this only affects 3.1 we won't fix this given its EOL is December.

@MichaelSimons
Copy link
Member

[Triage] Per @crummel, this only affects 3.1 which is EOL shortly so we won't fix this.

@MichaelSimons MichaelSimons closed this as not planned Won't fix, can't repro, duplicate, stale Dec 1, 2022
Repository owner moved this from Servicing On Deck to Done in .NET Source Build Dec 1, 2022
@crummel crummel reopened this Jan 19, 2023
@crummel
Copy link
Contributor Author

crummel commented Jan 19, 2023

Also showing up in dotnet/aspnetcore#46174, we do need to fix this.

@wtgodbe
Copy link
Member

wtgodbe commented Jan 20, 2023

@crummel any ETA on fixing this? Our source-build job is failing very frequently right now, it's causing a lot of disruption. Want to know if we should just disable it in the meantime.

@crummel
Copy link
Contributor Author

crummel commented Jan 23, 2023

I've merged this in the Arcade main, 6.0, and 7.0 branches now. Matt Mitchell triggered the dependency flow in 7.0 so you should get that soon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-build Improvements in source-build's own build process untriaged
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

3 participants