mirror of
https://git.launchpad.net/~ubuntu-release/britney/+git/britney2-ubuntu
synced 2025-05-18 05:51:32 +00:00
Make force-autopkgtest apply to the tested package, not the triggering package.
This commit is contained in:
parent
2e34feee1f
commit
c1e29f844f
27
britney.py
27
britney.py
@ -1784,20 +1784,21 @@ class Britney(object):
|
|||||||
e.addhtml(
|
e.addhtml(
|
||||||
"autopkgtest for %s %s: %s" % (adtsrc, adtver, status))
|
"autopkgtest for %s %s: %s" % (adtsrc, adtver, status))
|
||||||
if status != "PASS":
|
if status != "PASS":
|
||||||
adtpass = False
|
forces = [
|
||||||
|
x for x in self.hints.search(
|
||||||
|
'force-autopkgtest', package=adtsrc)
|
||||||
|
if self.same_source(adtver, x.version) ]
|
||||||
|
if forces:
|
||||||
|
e.addhtml(
|
||||||
|
"Should ignore, but forced by %s" %
|
||||||
|
forces[0].user)
|
||||||
|
else:
|
||||||
|
adtpass = False
|
||||||
if not adtpass:
|
if not adtpass:
|
||||||
forces = [
|
upgrade_me.remove(e.name)
|
||||||
x for x in self.hints.search(
|
unconsidered.append(e.name)
|
||||||
'force-autopkgtest', package=e.name)
|
e.addhtml("Not considered")
|
||||||
if self.same_source(e.ver[1], x.version) ]
|
e.is_valid = False
|
||||||
if forces:
|
|
||||||
e.addhtml(
|
|
||||||
"Should ignore, but forced by %s" % forces[0].user)
|
|
||||||
else:
|
|
||||||
upgrade_me.remove(e.name)
|
|
||||||
unconsidered.append(e.name)
|
|
||||||
e.addhtml("Not considered")
|
|
||||||
e.is_valid = False
|
|
||||||
|
|
||||||
# invalidate impossible excuses
|
# invalidate impossible excuses
|
||||||
for e in self.excuses:
|
for e in self.excuses:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user