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

Bug#661078: britney: ignore additional packages in Sources index


Niels Thykier <niels@thykier.net> writes:
> On 2012-02-24 01:22, Ansgar Burchardt wrote:
>> I would like to include additional packages referenced by Built-Using in
>> the Sources index[1] at some undefined point in the future.  This might
>> confuse britney which would need to just ignore them.
>> Ansgar
>> [1] <http://bugs.debian.org/657212>
> In light of our IRC chat in #d-ftp today and the asumption that the
> "Only-Extra-Source" field will be implemented, I believe I have a
> trivial patch that will work[1].  There is an updated test for it in the
> "britney2-tests"[2] (the new repository announced today - not the old one).
>   The patch is backwards compatible and could be applied before the
> extra sources appear in the Sources files (and without updating any of
> the unrelated existing tests).

I remembered we don't have overrides and thus no Priority or Section
fields for the extra sources.  As even the current values for overrides
aren't that useful (most source packages have Priority: source), I had
an alternative idea:

Instead of introducing a new field, use Priority: optional for regular
sources and Priority: extra for the extra sources introduced by
Built-Using.  At least the latter would also go to Section: source.

This would also fix #626394 ("Priority: source" in Sources).


Reply to: