Bug#913781: reprozip: Script accesses internal dpkg database

Guillem Jover guillem at debian.org
Fri Nov 16 16:13:36 GMT 2018


Hi!

On Thu, 2018-11-15 at 23:33:30 -0500, Rémi Rampin wrote:
> 2018-11-15 21:39 EST, Guillem Jover <guillem at debian.org>:
> > The same principle I proposed for --listfiles can be used for --search,
> > you'd just batch as many filenames as can possibly fit within the
> > command-line length limit (ARG_MAX - environment length) to reduce as
> > many dpkg-query calls as possible. Doing a «dpkg-query --search» call
> > per filename will indeed end up being very expensive.
> 
> I had no idea this was possible -- the man page doesn't really hint at
> this (I guess that's what the "..." meant).

Yes, this is a very extended convention. Perhaps it would have been
more clear if the specific options would talk about those option...
in plural when referring to them in the long descriptions. Will try
to improve the man pages, thanks.

> I have gone ahead and implemented what you describe, it should be in
> the next minor release of ReproZip. It also turns out to be faster.

Great, thanks!

Regards,
Guillem



More information about the debian-science-maintainers mailing list