Skip to content

feat: try first to download the source archive instead of using git for github.com - #247

Open
ArchangelX360 wants to merge 1 commit into
hermeticbuild:mainfrom
ArchangelX360:archangelx360/no_git
Open

feat: try first to download the source archive instead of using git for github.com#247
ArchangelX360 wants to merge 1 commit into
hermeticbuild:mainfrom
ArchangelX360:archangelx360/no_git

Conversation

@ArchangelX360

@ArchangelX360 ArchangelX360 commented Sep 3, 2026

Copy link
Copy Markdown
Collaborator

This prevents anonymous fetch to be blocked especially in company networks when remote caches are down and the repo keeps being resolved:

Finished `release` profile [optimized] target(s) in 41.59s
  ERROR: error running 'git fetch origin refs/heads/*:refs/remotes/origin/* refs/tags/*:refs/tags/*' while working with @rules_rs++crate+frc__github.com_JetBrains_alacritty_41b81372:
  fatal: could not read Username for 'https://github.com': No such device or address
  fatal: expected flush after ref listing
  Process exited with code 8
  Process exited with code 8 (Step: bazel.cmd fetch  (Bazel))
  Step bazel.cmd fetch  (Bazel) failed

@ArchangelX360

ArchangelX360 commented Sep 3, 2026

Copy link
Copy Markdown
Collaborator Author

@dzbarsky What do you think of that? Maybe you have a better alternative in mind?

Also, what do you think of having a flag to disallow git fully and replace it with hard failures?
At JetBrains we would enable it for example.

… for `github.com`

This prevents anonymous fetch to be blocked especially in company networks when remote caches are down:
```
Finished `release` profile [optimized] target(s) in 41.59s
  ERROR: error running 'git fetch origin refs/heads/*:refs/remotes/origin/* refs/tags/*:refs/tags/*' while working with @rules_rs++crate+frc__github.com_JetBrains_alacritty_41b81372:
  fatal: could not read Username for 'https://github.com': No such device or address
  fatal: expected flush after ref listing
  Process exited with code 8
  Process exited with code 8 (Step: bazel.cmd fetch  (Bazel))
  Step bazel.cmd fetch  (Bazel) failed
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant