On Thu, Feb 26, 2009 at 4:53 PM, Allan McRae <allan@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?