[pacman-dev] [PATCH] Rework delta struct and modify code accordingly

Dan McGee dan at archlinux.org
Sat Feb 16 12:08:03 EST 2008


On Feb 15, 2008 8:27 PM, Dan McGee <dan at archlinux.org> wrote:
> Start to move the delta struct away from an assumed package name scheme and
> towards something that is package (or even filename) agnostic. This will
> allow us much greater flexibility in the usage of deltas (maybe even sync
> DBs some day) as well as allowing code outside of delta.h/delta.c to be much
> cleaner with less of a need for snprintf() calls.
>
> Signed-off-by: Dan McGee <dan at archlinux.org>
> ---
>
> Mainly an RFC here, although I feel like this is a good approach to take.
> Note both my comments above in the commit message, as well as taking a look
> at how not trying to even worry about the filename simplifies the code in
> sync.c a good amount. No promises that this works yet. :)
>
> -Dan

And a whole bunch more work since this patch:

http://code.toofishes.net/gitweb.cgi?p=pacman.git;a=shortlog;h=refs/heads/rework_delta

Mainly this guy:
http://code.toofishes.net/gitweb.cgi?p=pacman.git;a=commitdiff;h=afbf3f4058bebdefa1f96527f0de09af79e5ba39;hp=5c9452c45ecc4802afef80d2c2f7ba4b76ae89a6

This stuff is not clean- its rough work. It will need some cleaning
up. I'm hoping to get some feedback though.

-Dan




More information about the pacman-dev mailing list