[arch-dev-public] Filename search for Arch

Simo Leone simo at archlinux.org
Thu Jan 24 11:31:48 EST 2008


On Thu, Jan 24, 2008 at 11:08:13AM +0100, Thomas Bächler wrote:
> I wrote a script, which you can read here:
> http://dev.archlinux.org/~thomas/genrepofilelist.sh.html
> 
> If there are no objections, I would add a daily cronjob to my user's
> crontab which runs this script for testing,core,extra,community,unstable
> for both architectures. The filelist for extra is about 2.7MB gz-compressed.
> 
> This would at least allow advanced users to download these file lists
> and use zgrep to search for files.
> 
> I would love to see options to sync and search those file lists in pacman.
> IMO, it should be possible to configure the following in pacman.conf:
> - Always sync the filelists with -Sy for offline use
> - Sync the filelists only on demand (when pacman -So is called and they
> are out of date)
> 
Wow that script is intense on load. Wouldn't it be easier to just take
the data out of the mysql db seeing as it's all already there? If I get
a chance this afternoon, I'll write a script as well.

-S
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://archlinux.org/pipermail/arch-dev-public/attachments/20080124/1b78c7c3/attachment.pgp>


More information about the arch-dev-public mailing list