PackageDiff.title is bogus for inter-PPA copies

Bug #530399 reported by William Grant
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Launchpad itself
Triaged
Low
Unassigned

Bug Description

From lib/lp/soyuz/model/packagediff.py:

    @property
    def title(self):
        """See `IPackageDiff`."""
        ancestry_archive = self.from_source.upload_archive
        if ancestry_archive == self.to_source.upload_archive:
            ancestry_identifier = self.from_source.version
        else:
            ancestry_identifier = "%s (in %s)" % (
                self.from_source.version,
                ancestry_archive.distribution.name.capitalize())
        return '%s to %s' % (ancestry_identifier, self.to_source.version)

Saying "(in Ubuntu)" just because it's from another (non-primary) archive is wrong.

Changed in soyuz:
status: New → Triaged
importance: Undecided → Low
tags: added: ppa trivial ui
William Grant (wgrant)
tags: added: package-copies
Ursula Junque (ursinha)
Changed in launchpad:
status: Triaged → In Progress
assignee: nobody → Ursula Junque (ursinha)
Ursula Junque (ursinha)
Changed in launchpad:
assignee: Ursula Junque (ursinha) → nobody
William Grant (wgrant)
Changed in launchpad:
status: In Progress → Triaged
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.