-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Delta support #43
Comments
Yeah, should probably get around to getting that. I'll see what I can do... |
Started hacking around with this on the delta-support branch. |
Preserve delta information when reading and writing the database. Initial support for #43
Okay, so as a start, its fairly straightforward to add support to serialise delta information. This, at the very least, means that I don't lose that information. But I never really stopped to think about how to support deltas in this tool. I guess I need to, when calculating which files trigger an update, generate a delta between the old version an the new version, and record that information. Few open questions/musing out loud):
And random footnote, looks like pacman expects deltas to have a md5 checksum. I wonder if there's support for anything else... or if that should also get added upstream. |
Preserve delta information when reading and writing the database. Initial support for #43
Well, delta serialisation support is on master, there's still a long road ahead though... |
Preserve delta information when reading and writing the database. Initial support for #43
Preserve delta information when reading and writing the database. Initial support for #43
I don't know either to be honest. Depends if it can chain applying deltas from locally cached version that is no longer available in the repository to the latest version. If it can, I guess no delta should be removed automatically.
No idea if it supports signed deltas…
I didn't notice that the package pool can be in different directory now. I guess it should be in the pool? On a side note, I didn't expect you to implement it overnight; it's just something that would be nice to have. From what I see know, delta support in pacman is terribly slow for the biggest packages (and for small ones it makes no sense to use it). I guess it differs from the yum/dnf implementation where it works quite okay. |
Yeah, its not coming overnight, that's for sure. I'll need to play with it.
I've avoided it actually because my understanding is its basically not really supported. I don't think anyone wants to use deltas on the official repos and thus noone is really auditing or testing that code. I mean, with all the discussion about abandoning md5sum by default (which repose doesn't offer anyways), deltas are still using a md5 checksum. Granted, I think the resulting file from the applied delta is still compared to the appropriate signatures, so its not that bad. |
It would be great if repose could also generate or at least add delta files to the database.
The text was updated successfully, but these errors were encountered: