* Raphaël Hertzog <hert...@debian.org> [140729 16:27]:
> Kali is using reprepro and we're starting to use britney to
> maintain a derivative of testing. So britney is generating us
> an HeidiResult file and it would be nice if reprepro could
> make use of that file to update a distribution.
> 
> $ reprepro setcontent <codename> <heidi-file>
> 
> The HeidiResult file looks like this:
> 0ad 0.0.16-4 amd64 games
> 0ad-data 0.0.16-1 all games
> [...]
> 0ad 0.0.16-4 armhf games
> 0ad-data 0.0.16-1 all games
> [...]
> 0ad 0.0.16-4 source games
> 0ad-data 0.0.16-1 source games
> 
> Note that entries for arch all packages are (needlessly) duplicated.
> Each binary/source package has its own entry.
> 
> It's possible that the HeidiResult file lists multiple versions of source
> packages (it might keep older versions around during transitions) as well as 
> some
> obsolete binary packages.
> 
> Any package not listed in the HeidiResult file must be removed.
> Packages are to be found in other distributions of the reprepro setup.
> 
> PS: No hurry, for now we opted to use a custom script that calls reprepro
> many times with copy and remove commands.

Does that actually has different values for the different architectures?
If not then this might easily be translated to two filter files for
FilterList and FilterSrcList for a pull rule.
(something like
sed -n -e 's/^\(.*\) \(.*\) source .*/\1 = \2/p' > srcfilterlist
sed -n -e 's/^.* .* source .*//' -e 's/^\(.*\) \(.*\) .* .*/\1 = \2/p'  > 
binfilterlist

        Bernhard R. Link
-- 
F8AC 04D5 0B9B 064B 3383  C3DA AFFC 96D1 151D FFDC


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to