[Piuparts-devel] EDOS file overwrite check between distributions?
Ralf Treinen
ralf.treinen at pps.jussieu.fr
Mon Feb 13 17:26:42 UTC 2012
Hi Andreas, hi piuparts-devel,
On Thu, Feb 02, 2012 at 01:33:55PM +0100, Andreas Beckmann wrote:
> Do you have the list of file sharing candidates generated by EDOS
> available somewhere?
it took a bit longer than expected since we are currently releasing
the next generation of edos tools, and I wanted the script to use
the new version of edos-debcheck.
A python script that constructs a list of file sharing candidates
is attached to this mail. You will need to install the package
dose-distcheck to run the script. Dose-distcheck is currently only
available in experimental, but should be released into sid soon.
Cheers -Ralf.
--
Ralf Treinen
Laboratoire Preuves, Programmes et Systèmes
Université Paris Diderot, Paris, France.
http://www.pps.jussieu.fr/~treinen/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: potential-file-conflicts.py
Type: text/x-python
Size: 3978 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/piuparts-devel/attachments/20120213/49ea2efc/attachment.py>
-------------- next part --------------
This script finds pairs of packages that share at least one file, and
that are co-installable according to debcheck.
Usage:
potential-file-conflicts -c <file> -r <file> ... -o <directory>
Options may be given in any order.
-c <file> : gives the name of the Contents file. The syntax of this file is
the one of Contents files as to be found on debian mirrors
-r <file> : gives the name of a repository (debian Packages file). These
files may be compressed with gzip or bzip2, provided that the distcheck
tool has been compiled with support for these compression methods.
-o <directory> : write the result into <directory>. This directory is created
by the script, and must not exist when the script is called.
For every pair of packages pa and pb that are found by the script,
the directory specified in the -o option will contain a file named
pa:pb. The contents of this file is the list of all file names that
are known to exist in both packages, one filename per line.
Needs the python YAML module (debian package: pythom-yaml)
More information about the Piuparts-devel
mailing list