You call that "operational", when you serve 404s?

#github #shithub

@musicmatze are they down again?! Been an awful lot lately compared to the past YEARS
@kevin I got some 404s in the last few hours...
@musicmatze curious; I’ve had more than is usual over the past weeks - noticeable enough to I’m thinking about caching all we need from GitHub

@kevin I mirror repositories for years now for stuff that might vanish.

Mostly smaller tools and scripts I use or used to use ... something about 300 repos that I mirror automatically on my NAS just in case 😉

@musicmatze good idea. I should start doing that, too. I started mirroring some of my stuff to my Forgejo instance.

Do you have any script for the mirrors or is it just a simple git mirror?

@kevin its https://github.com/matthiasbeyer/mirrorit/blob/master/mirrorit plus some systemd services and timers.

Don't forget to `git gc` with that script, that can easily safe a dozen GBs if you mirror a lot of stuff.

mirrorit/mirrorit at master · matthiasbeyer/mirrorit

Mirror git repositories. Contribute to matthiasbeyer/mirrorit development by creating an account on GitHub.

GitHub

@kevin I also plan to write something that can automatically mirror all dependencies of a/my rust project, down to stuff from the flake, such as GCC and libc and so on, so that you can just dumb the world on a storage and recover from there.

I believe that @Hemera was the person who came up with that initial idea. 🤔

@musicmatze @Hemera that’s a nice idea tbh, I’d be very interested in such a tool!

@kevin @musicmatze So far it's just an idea really :D

Since its nix, I am sure there is some way by saying 'no substitutions' and pointing it at a store via SSH or so. To force it to do a 'source only' build.

But that's not easy, cause you gotta bootstrap right? And if you do a binary cache, which is also fine IMO, it might still be quite a lot of data.