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

Bug#911580: [britney2] missing trigger with breaks relationship



Hi Gianfranco,

On Mon, 22 Oct 2018 09:45:28 +0200 Gianfranco Costamagna
<locutusofborg@debian.org> wrote:
> As said, britney fails to add the appropriate trigger for virtualbox
> when a major release is out, and for this reason the ext-pack fails to
> install reliably on ci.d.o without additional manual triggers.
> 
> "virtualbox (>= 5.2.20-dfsg-0~) | virtualbox-5.2,  virtualbox (<< 5.2.20-dfsg-z) | virtualbox-5.2"
> 
> should be a valid relationship.

I am staring at the britney2 code at
https://salsa.debian.org/release-team/britney2/blob/master/britney2/installability/builder.py#L77
and it seems there is code available to do this correctly, except it
only does that for cases where there is no alternative (len(block) ==
1). I'll try to generate a test case in the test suite for this.

Out of curiosity: I couldn't spot the virtualbox-5.2 package in the
archive, what are you trying to achieve with having that as alternative?
Is that to support upstream binaries or something like that?

Paul

Attachment: signature.asc
Description: OpenPGP digital signature


Reply to: