[pacman-dev] delta support in libalpm
Allan McRae
allan at archlinux.org
Thu Feb 26 18:09:16 EST 2009
Aaron Griffin wrote:
> On Thu, Feb 26, 2009 at 4:53 PM, Allan McRae <allan at archlinux.org> wrote:
>
>> Aaron Griffin wrote:
>>
>>> Is there delta information
>>> stored in the pacman DB? If so, the cleanup gets far more complicated?
>>>
>> Delta information is stored in the repo so removing them is not a simple
>> delete. As Xavier pointed out, my proposal for removing deltas was slightly
>> more complicated but I am beginning to see the need for a script to clean
>> the deltas up - and so I can use my more complicated removal system :). I
>> think whether that script is part of repo-add, or repo-add calls it when
>> adding/removing a delta depends on how complicated the script gets.
>>
>> Anyway, a simple removal system based on number of deltas would be fine for
>> now and more complicated stuff could be added later.
>>
>
> So... if I hack at this, what would be the process to remove a delta?
> Delete the file and then remove a line from a db entry that matches
> the file?
Remove the delta from the repo using
e.g
repo-remove repo/test.db.tar.gz libx11-1.1.5-2_to_1.1.99.2-2-x86_64.delta
Allan
More information about the pacman-dev
mailing list