Post #753838
2026-03-19 10:48 UTC
Replies (6)
-
@schubotz@mathstodon.xyz 2026-03-19 16:33
@bzg @andrewnez Thank you for the analysis. If there was a form of SWHID that used a CID instead of SHA1 it would also help for load balancing, caching and retrieval without access to a SWH mirror, censorship etc. Here also the concept of a shallow SWH mirror might be an attempt to solve the problem with poor connections to git remotes.
-
@raito@nixos.paris 2026-03-19 19:22
@bzg SWHID built-in in Git when
-
@zacchiro@mastodon.xyz 2026-03-25 09:48
@bzg @andrewnez BTW, I think we can do better than "fetch one git object at at a time". For instance, for everything already cooked in the SWH Vault cache https://archive.softwareheritage.org/api/1/#batch-download , we could return a larger bundle, possibly even as a packfile.
-
@nat@social.fogcloud.org 2026-03-25 17:29
@bzg @andrewnez Git needs to use a secure hash algorithm before it's safe for any sort of clever content-addressable store stuff.
-
@khinsen@scholar.social 2026-03-25 17:32
@bzg Here's a tool that does roughly that: https://github.com/khinsen/swh-checkout More proof-of-concept than for wide-scale use, if only because it has Guix as a dependency. But I do use it from time to time. @andrewnez
-
@khinsen@scholar.social 2026-03-26 07:32
@csantosb@sigmoid.social Indeed. The code that handles this fallback is exactly what my little Guile script exposes for other uses. That's why Guix is a dependency. @bzg@floss.social @andrewnez@mastodon.social