[pacman-dev] [PATCH 1/2] Added a new database backend

Xavier shiningxc at gmail.com
Tue Dec 16 14:18:19 EST 2008


On Mon, Dec 15, 2008 at 10:20 AM, Sivert Berg <sivertb at stud.ntnu.no> wrote:
> This is an attempt to add a one-file-per-database backend. The main
> reason I wrote this was because load times of the database on my laptop
> when it's not yet cached is around 40-50 seconds. When you just want to
> do a quick "pacman -Ss" that can be a little annoying. I know you have
> discussed the current database vs. one-file earlier, and I think someone
> said another backend could be supported too.
>
> This first patch contains the main database code and a program to
> convert .db.tar.gz and file databases into the new format.
>
> Signed-off-by: Sivert Berg <sivertb at stud.ntnu.no>
> ---

What about the disk space usage, compared to a simple tar file?
Did you ever consider the idea of reading directly tar.gz or
reading/writing directly tar, knowing we already have the libarchive
dependency.


More information about the pacman-dev mailing list