#756399 reprepro: use britney's HeidiResult file to update a distribution

Package:
reprepro
Source:
reprepro
Description:
Debian package repository producer
Submitter:
Raphaël Hertzog
Date:
2017-12-09 07:51:03 UTC
Severity:
wishlist
#756399#5
Date:
2014-07-29 14:18:03 UTC
From:
To:
Hi,

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.

#756399#10
Date:
2014-07-29 21:12:58 UTC
From:
To:
* Raphaël Hertzog <hertzog@debian.org> [140729 16:27]:

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

#756399#15
Date:
2014-07-29 21:32:39 UTC
From:
To:
Yes: many packages have bin-nmu increments that vary across the architectures.

Cheers,

#756399#20
Date:
2016-11-26 15:37:00 UTC
From:
To:
On Tue, 29 Jul 2014 23:32:39 +0200 Raphael Hertzog <hertzog@debian.org> wrote:

Hi Bernhard,

I would also like to see better integration between Britney and
reprepro.  Let me know if there is something we can do to assist with this.

Thanks,
~Niels

#756399#25
Date:
2017-12-09 07:45:00 UTC
From:
To:
Hi,

Any news on this front or anything I can do to assist on the britney
side? :)

If a different format would be more useful, then I am happy to consider
it. :)

Thanks,
~Niels