[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#747879: ben: allow to query Packages and Sources without a ben.cache file



Hi,

Quoting Mehdi Dogguy (2014-05-12 20:51:21)
> Actually, after having checked the source code, "ben query" distinguish
> between Packages files and Sources files. Admittedly, its heuristics is based
> on the name of the package and the regexp could be extended but at least it
> is there.

I see it now too. Let me suggest to either make it case insensitive or at least

	[Ss]ources

It would be nice if this was documented.

> If I understood your request correctly, you report contain two feature
> wishes:
> 1) the first one is already there

Correct.

> 2) the second one is ability to read from a local directory containing
>     all files.

No, I just mentioned that because other tools can read appropriately named
Packages and Sources files from the cache-dir. I dont think this is an
important feature. Listing all Packages and Sources files one wants to query on
the commandline is absolutely sufficient in my opinion.

I think after documenting (and possibly) the regex you can close this bug.

cheers, josch


Reply to: