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

Bug#693693: ben: Partial suite support



Hi,

not quite sure why I was CC'ed but I do have some comments for Iain :)

Quoting Stéphane Glondu (2013-08-19 14:51:47)
> Le 19/11/2012 13:23, Iain Lane a écrit :
> > My current solution is to externally concatenate and deduplicate
> > Packages/Sources files. The deduplication is required not for ben but for
> > edos-debcheck

You should really not use edos-debcheck. Edos has been superseeded by dose3 in
2011 I think and there is no reason to use the deprecated edos anymore. With
     dose3 you are interested in using dose-builddebcheck

One feature of dose-builddebcheck is for example the --latest option which I
guess does what you want: reduce the input to the latest package versions.

> The logic for partial suite support would be put in "import", but
> concatenating files, then using "import" and "filter" looks simple enough to
> be done externally in a shell script.

In botch we use the python module apt_pkg to do all kind of package operations
(union, intersection, difference). It is very fast and the scripts are super
short. Maybe you want to have a look at them (the packages-*.py scripts):

https://gitorious.org/debian-bootstrap/botch/trees/master/tools

cheers, josch


Reply to: