[Piuparts-devel] EDOS file overwrite check between distributions?

Ralf Treinen ralf.treinen at pps.jussieu.fr
Mon Feb 27 17:54:19 UTC 2012


On Sat, Feb 25, 2012 at 12:57:10PM +0100, Andreas Beckmann wrote:

> as we can now merge contents files from one distribution - how about the
> original idea of checking sid vs. wheezy?

OK :-) For that I will have to extend my test candidate generator.
So far, all the contents and packages files applied to the same
package universe. Now, one would have to distinguish two universes
(for instance one for sid, and one for wheezy). So one needs options
-c1 and -r1 for contents files and repositories of the first universe,
and -c2/-r2 for the second universe. I'll start working on the script.

> And similarily we should also have the possibility to check the contents
> files from multiple architectures at the same time - thanks to multiarch
> there are now much much packages coinstallable, and I'm sure we'll find
> something like

I would like to wait a bit with multiarch. The reason is that the 
dose-debcheck tool which we use for checking co-installability of
packages isn't yet multiarch-aware. That is, the version that we 
will upload to sid very soon isn't. We have multiarch in a git branch
in our development repo but release of that is for the near future.

> Hmm, well, looks like we should import Packages and Contents into a
> database and query that. :-)

more than 100M per contents file times 14 architectures times 2 releases?
That might get interesting :-)

In fact scanning contents files, even from multiple input streams, is
quite easy since they are already sorted by file name. At least for the
simple stuff we do up to know one does not need an in-memory representation
of complete contents files.

Cheers -Ralf.
Ralf Treinen
Laboratoire Preuves, Programmes et Systèmes
Université Paris Diderot, Paris, France.

More information about the Piuparts-devel mailing list