RubenKelevra / pacman.store

Pacman Mirror via IPFS for ArchLinux, Endeavouros, Manjaro plus custom repos ALHP and Chaotic-AUR.
GNU General Public License v3.0
108 stars 5 forks source link

decompress database files and use a rolling chunker #66

Open RubenKelevra opened 2 years ago

RubenKelevra commented 2 years ago

The compressed database files need to be fetched each time there's a change, even if there's just a single package updated.

To avoid this, I like to decompress them and use a rolling chunker with fairly small chunks on it. This way, ipfs can do delta updates on it.

Compared to packages, this is possible because database files are not signed – it just doesn't matter how they are delivered as Pacman will always trust them.

RubenKelevra commented 2 years ago

Necessary to investigate how useful this would be.