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

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



On 2012-02-24 01:22, Ansgar Burchardt wrote:
> Package: release.debian.org
> Severity: wishlist
> User: release.debian.org@packages.debian.org
> Usertags: britney
> 
> 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>
> 
> 
> 

Hi Ansgar,

I believe Britney already handles this reasonably[1].  Of course, I
assume here that by "ignore" you mean it is (also) okay for Britney not
to include them in the resulting HeidiResult file.

Assuming there will be a source package in Sources only kept due to
Built-Using, then Britney may (or may not) keep its counterpart in
testing until the source package disappears from Sources (in sid).  If
it does not have any binaries and it is not in testing, then she will at
least keep it out of testing[2].

It is possible I am missing a corner case or two, so I am keeping the
bug open for now.

~Niels

[1]

"""
        while step():
            pkg = get_field('Package')
            ver = get_field('Version')
            # There may be multiple versions of the source package
            # (in unstable) if some architectures have out-of-date
            # binaries.  We only ever consider the source with the
            # largest version for migration.
            if pkg in sources and
apt_pkg.version_compare(sources[pkg][0], ver) > 0:
                continue
"""

[2] Example from last nights excuses:

"""
libffi-ruby (- to 0.6.3debian-2)

    Maintainer: Micah Anderson
    516 days old (needed 10 days)
    libffi-ruby has no binaries on any arch
    libffi-ruby (source) has new bugs!
    Updating libffi-ruby introduces new bugs: #652755
    Not considered
"""



Reply to: