[pacman-dev] [PATCH] get_filename : use the FILENAME field from the db.

Xavier shiningxc at gmail.com
Fri Feb 15 11:37:39 EST 2008


On Thu, Feb 14, 2008 at 09:14:40PM -0500, Nathan Jones wrote:
> On Thu, Feb 14, 2008 at 07:53:02PM +0100, Xavier wrote:
> > 
> > As Dan suggested off list, the delta machine should probably work on 
> > filenames rather than just versions (in the delta metainfo file from the 
> > sync databases for a start).
> > That way we don't need to store filenames in the local db (which 
> > wouldn't be used otherwise anyway).
> 
> I suppose so. Doing so would also allow us to check the md5sum of the
> previous package to make sure the delta would apply correctly before
> downloading.
> 

That's if we store both filenames and md5sums in the delta metainfo file?
I think that's what Dan suggested anyway.

Btw, if you are interested in doing that, it would be much appreciated :) 
Since it's your code after all, I think you would be more efficient.
But there is no hurry anyway since deltas aren't in use yet.




More information about the pacman-dev mailing list