AUR Archive Diffs (WIP)
AUR developer here. We are running into an issue again with the amount of traffic used to maintain pamac's usage of the AUR, and this time its the result of archive transfers.
We have had this feature planned for a while now, and we're going to hop on it now and get it done. Basically, this feature will end up storing snapshots of archives, and when presented with a
Last-Modified from the user, we will deduce we should serve out either the entire archive (if your
Last-Modified is too old), or a particular diff that your
Last-Modified fits into. We will provide sample code so that these diffs can be easily consumed and used in your applications.
Doing this should pretty much kill the over-consumption of resources on the AUR, as long as people's machines reliably stay up to date.
We'll keep you updated here regarding this. I'm trying to solve this as quick as possible, but this feature should be ironed out so that it's stable for a long time to come, so we're not going to be rushing it.
We also have some new .sha256 checksums which should probably be coupled with the next patchset regarding these archives, so that you can verify integrity of each download; we will describe this when the diffs are ready.