[arch-dev-public] Filename search for Arch
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:
> 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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 189 bytes
Desc: not available
More information about the arch-dev-public