157

Since yesterday a lot of users in Europe found their workflows failing due to Github seemingly randomly throwing HTTP/401 on git clone/git pull when interacting with public repos without authentication.

It was now confirmed by staff member that this indeed is intentional and no further steps are planned at this point.

you are viewing a single comment's thread
view the rest of the comments
[-] ChaosMonkey@lemmy.dbzer0.com 7 points 5 days ago

Wait, doesn't rust cargo pull from crates.io?

[-] onlinepersona@programming.dev 1 points 5 days ago* (last edited 5 days ago)

crates.io pulls everything from github.

[-] teolan@lemmy.world 13 points 5 days ago

No true at all.

The index used to be from github but now it pulls from a CDN by default and doesn't do a full clone of the index. Crate downloads have always been pulled from a CDN.

The index was quite small in the beginning this is why it worked.

[-] onlinepersona@programming.dev 0 points 5 days ago

The service itself pulls from github to create the crates. Cargo pulls from crates.io, that is correct.

[-] teolan@lemmy.world 8 points 5 days ago

Who pulls from Github to create the crates? The crates are pushed by cargo publish to crates.io's API, not to github.

crates.io does have an index in GitHub, but that's legacy and pretty much unused for reads now. GitHub doesn't store the crates themselves.

[-] rgalex@lemmy.world 4 points 5 days ago

It seems that's not the case. Crates.io only needs Github for logging in. Publishing a package uploads a .tar.gz to crates.io with the source code.

https://users.rust-lang.org/t/publishing-crates-without-github-and-some-criticism/134597/11

this post was submitted on 03 Sep 2026
157 points (99.4% liked)

Programming

28405 readers
386 users here now

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you're posting long videos try to add in some form of tldr for those who don't want to watch videos

Wormhole

Follow the wormhole through a path of communities !webdev@programming.dev



founded 3 years ago
MODERATORS