Closed guysv closed 3 years ago
Hey cool! Thanks for looking into that!
Have you tried the mirror in the last days (since the 0.8 update)? Most issues seems to be gone actually.
Not sure where the performance issue was.
Sometimes a download stalls, but not sure if that's not an issue with my LTE connection.
To get the hashes from the files you can do something like this:
@guysv wrote
For the second point, we need you to add that hashes index to the repo, I'd be happy to discuss that!
ipfs ls --size=false --resolve-type=false /ipns/x86-64.archlinux.pkg.pacman.store/community/
Takes like 2 seconds here. :)
Let me know if this is not what you were searching for.
Ah and you could also run pacman in a crontab like this every 5 minutes or so. It requires nearly no traffic as only when there are changes the database files get updated. Else IPFS figures out that it got them already.
pacman -Syuw --noconfirm
Additionally this helps obviously with the distribution of the packages as soon as they are released, since most people have a bit higher delay to fetch them - in this case you can already offer the files to them.
So, as I understood it from following this repo's issues, I think we could use a pacman wrapper to fix some of the shortcomings we currently face.
I wrote a tiny POC (upgrade-only) wrapper for the first point:
For the second point, we need you to add that hashes index to the repo, I'd be happy to discuss that!