Alpine-linux packages #83
Made an effort around half year ago to mirror all the alpine-linux packages, which I completely forgot about but would be worth continuing if someone would like to pick it up.
It mirrors and adds all the packages for alpine-linux 3.4 and 3.5. Each one is about 30GB big.
Hash for 3.4: QmRsvEpJggeu4HhoafzRFobV4sbwVVTXMrdb2p8XWv7bCS
Code and steps to reproduce: https://github.com/VictorBjelkholm/alpine-mirror
The text was updated successfully, but these errors were encountered:
@victorb If you're still interested in this and running updates: I've set up a collab cluster for ArchLinux-packages a month ago.
It's basically an rsync to ipfs and ipfs cluster script, which also maintains snapshots after every sync with changes. The cluster will automatically unpin snapshots older than 2 month, but users can obviously pin and provide older snapshots if they like.
The listing of the snapshots (as a simple html page) will never be purged, so old CIDs can be found, even after the cluster unpinned and garbage collected them.
The whole script is somewhat lengthy, since I want to pin every single package file instead of pinning full directories recursively. This had the advantage of sharding (if you just want to hold 10 copies of each file in a cluster) and you can set different pin expire dates for files and folders.
The script is also very efficient, by just modifying the least amount of data with ipfs commands corresponding to every file add/change/delete rsync has fetched.
So it's not tediously adding recursively all files to IPFS and let it figure out the changes and redundancies.
Note that it's currently not supported to run multiple Linux distributions with this script, since it would wipe the folders on the second
This limitations is probably going away soon, when I'm looking into supporting different pacman based distributions.
But your usage scenario look probably very different anyway :)