launchpad-reviewers team mailing list archive
-
launchpad-reviewers team
-
Mailing list archive
-
Message #17213
[Merge] lp:~wgrant/launchpad/bug-438460 into lp:launchpad
William Grant has proposed merging lp:~wgrant/launchpad/bug-438460 into lp:launchpad.
Commit message:
Display the archive reference on /builders whenever it's not equal to the distribution name (ie. also for partner and copy archives, not just PPAs).
Requested reviews:
Launchpad code reviewers (launchpad-reviewers)
Related bugs:
Bug #438460 in Launchpad itself: "Rebuild source no longer listed on builder page"
https://bugs.launchpad.net/launchpad/+bug/438460
For more details, see:
https://code.launchpad.net/~wgrant/launchpad/bug-438460/+merge/228055
Display the archive reference on /builders whenever it's not equal to the distribution name (ie. also for partner and copy archives, not just PPAs).
--
https://code.launchpad.net/~wgrant/launchpad/bug-438460/+merge/228055
Your team Launchpad code reviewers is requested to review the proposed merge of lp:~wgrant/launchpad/bug-438460 into lp:launchpad.
=== modified file 'lib/lp/app/browser/tales.py'
--- lib/lp/app/browser/tales.py 2014-07-09 01:25:05 +0000
+++ lib/lp/app/browser/tales.py 2014-07-24 08:15:48 +0000
@@ -1742,7 +1742,7 @@
"""Adapter providing fmt support for `IPackageBuild` objects."""
def _composeArchiveReference(self, archive):
- if archive.is_ppa:
+ if archive.reference != archive.distribution.name:
return " [%s]" % archive.reference
else:
return ""
Follow ups