mirror of
https://git.launchpad.net/~ubuntu-release/britney/+git/britney2-ubuntu
synced 2025-05-18 14:01:33 +00:00
Show a note for out-of-date binaries from a version between the one in testing and the one in unstable, since those are usually NBS and this makes such cases more searchable.
This commit is contained in:
parent
3aab217f6c
commit
18edacf8b2
@ -1512,9 +1512,13 @@ class Britney(object):
|
|||||||
oodtxt = ""
|
oodtxt = ""
|
||||||
for v in oodbins.keys():
|
for v in oodbins.keys():
|
||||||
if oodtxt: oodtxt = oodtxt + "; "
|
if oodtxt: oodtxt = oodtxt + "; "
|
||||||
|
if source_t and same_source(source_t[VERSION], v):
|
||||||
|
maybe_nbs = ""
|
||||||
|
else:
|
||||||
|
maybe_nbs = "; NBS?"
|
||||||
oodtxt = oodtxt + "%s (from <a href=\"https://launchpad.net/ubuntu/+source/" \
|
oodtxt = oodtxt + "%s (from <a href=\"https://launchpad.net/ubuntu/+source/" \
|
||||||
"%s/%s\" target=\"_blank\">%s</a>)" % \
|
"%s/%s\" target=\"_blank\">%s</a>%s)" % \
|
||||||
(", ".join(sorted(oodbins[v])), urllib.quote(src.split("/")[0]), urllib.quote(v), v)
|
(", ".join(sorted(oodbins[v])), urllib.quote(src.split("/")[0]), urllib.quote(v), v, maybe_nbs)
|
||||||
text = "out of date on <a href=\"https://launchpad.net/ubuntu/+source/" \
|
text = "out of date on <a href=\"https://launchpad.net/ubuntu/+source/" \
|
||||||
"%s/%s\" target=\"_blank\">%s</a>: %s" % \
|
"%s/%s\" target=\"_blank\">%s</a>: %s" % \
|
||||||
(urllib.quote(src.split("/")[0]), urllib.quote(source_u[VERSION]), arch, oodtxt)
|
(urllib.quote(src.split("/")[0]), urllib.quote(source_u[VERSION]), arch, oodtxt)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user