[pacman-dev] [PATCH] Add script to update pacman database format

Xyne xyne at archlinux.ca
Wed Dec 8 10:35:40 EST 2010


Allan McRae wrote:

> On 09/12/10 00:00, Xyne wrote:
> > Allan McRae wrote:
> >
> >> The pacman-db-upgrade script was added to detect old pacman database
> >> formats and upgrade them.
> >>
> >> Currently performs the merging of depends files into desc files in
> >> the local database.
> >
> > When is this expected to be released? I'll need to update perl-xyne-arch to
> > handle this and it would be useful if I could insert a versioned dependency to
> > prevent any breakage during the transition period.
> 
> It has not hit the master git branch yet, but I would expect it to hit 
> in the next major pacman release (3.5?) which is probably months away.
> 
> > Am I correct in believing that the file format remains the same and that the
> > merger is a simple insertion of the depends file into the desc file?
> 
> Correct - for the local db.  The sync db format will not change 
> (transition period is needed) but note that the sync dbs will not be 
> extracted from their tarball any more.
> 
> Allan

Thanks for the warning.


More information about the pacman-dev mailing list