[arch-dev-public] filelists for packages
pierre at archlinux.de
Mon May 12 08:55:37 EDT 2008
I have created a script which generates an archive containg filelists of every
pacakge in our repos. This makes it possible to show a list of files on the
webpage or implement some tool to search for a package by giving a filename.
I have set up a cronjob (see createFileList in my home dir) for doing this
once per day. It is implemented somehow incremental, so serverload is quite
low. At the moment I save the output at
http://dev.archlinux.org/~pierre/test-repo/. What do you think about moving
those files to /home/ftp and make them available on every mirror?
Filesize is not a real problem; even with using gz instead of bz2:
The file format is the same as the one used for the repo-db files for pacman.
Currently I use this data to feed my webbased package browser, but make those
files available to the public some users might implement some cool command
line tools etc..
More information about the arch-dev-public