News for hackers. Stuff that matters.
Re:Microsoft Ubuntu repositories are broken because of space... by dvfjsdhgfv on Thursday June 17, 2021 @04:52AM (#27537483)
We had the same problems already in the 90s and resolved them by caching, it's unthinkable that the whole build is broken by a problem with an external dependence - if you assume everything will be 100% available you basically make sure a problem will happen.
Re:Microsoft Ubuntu repositories are broken because of space... by rkeene2 on Thursday June 17, 2021 @07:58AM (#27538622)
I wrote "hashcache" [0] [1] for this for my Linux distribution (which is the build from source variety) to avoid issues with upstream going away, or worse changing the contents of a file.

Many different caches can be used, in case one is down as well.

Simple example download script at [2].

[0] http://hashcache.rkeene.org/ [1] https://chiselapp.com/user/rkeene/repository/hashcache/ [2] https://kitcreator.rkeene.org/fossil/artifact/d546c4b48dfce8...

Re:Microsoft Ubuntu repositories are broken because of space... by creshal on Thursday June 17, 2021 @05:00AM (#27537521)
https://wiki.debian.org/AptCacherNg still exists and still works fine.
Re:Microsoft Ubuntu repositories are broken because of space... by tambre on Thursday June 17, 2021 @05:53AM (#27537909)
Aptly [0] is also really nice for maintaining mirrors and one's own Apt repositories though it is unmaintained.

[0]: https://github.com/aptly-dev/aptly

Re:Microsoft Ubuntu repositories are broken because of space... by silon42 on Thursday June 17, 2021 @07:29AM (#27538452)
Not caching... mirroring or vendoring.