[pacman-dev] [arch-dev-public] Filename search for Arch

Jeff Mickey jeff at archlinux.org
Sat Jan 26 19:37:12 EST 2008


On Jan 26, 2008 6:59 PM, Miklos Vajna <vmiklos at frugalware.org> wrote:
> On Fri, Jan 25, 2008 at 07:48:37PM -0500, Jeff Mickey <jeff at archlinux.org> wrote:
> > I also feel this is an important tool people should have offline.
>
> do you have a mirror on your own computer? if not, searching offline is
> not so important. (i think the bigger benefit is that you could search
> from command-line. - which can be handy when you don't want to suck with
> elinks and you don't have x.)

By offline, I meant it it shouldn't query a server every time someone
does a search, I think it should be from a local file on your
computer.  Increasing the load on mirrors etc would be a bad idea.

> > findpkgfile -y               # download filelists from some given mirror
>
> from where? if the filelist database is outdated, it makes no sense, so
> if it's not supported by the maintainers of the give repo keeping it up
> to date is quite problematic imho.

Not to blow minds here or anything, but my idea is that we would have
a .gz or .bz2 file that is hosted by all the mirrors, and you download
it every now and then.  You don't need to download it every day, and
by it being a separate tool, we could do delta files instead of a
straight download.

And yes, even if my filelist is a day old, there is still a decent
chance I'll find the package I'm looking for.  A simple patch to
repo-add fixes your "quite problematic" issue.

    //  jeff
-- 
. : [ + carpe diem totus tuus + ] : .




More information about the pacman-dev mailing list