SourcePackage is distroseries specific - would be better labelled DistroSeriesSourcePackage

Bug #64079 reported by Matthew Paul Thomas
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Launchpad itself
Triaged
Low
Unassigned

Bug Description

A Distribution has more than one DistributionSourcePackageRelease, each of which belong to a DistributionSourcePackage. This makes sense.

Similarly, a DistroSeries has more than one DistroSeriesourcePackageRelease, but each of these do not belong to a DistroSeriesSourcePackage. Instead they belong to a SourcePackage. This naming is inconsistent and vague.

Revision history for this message
Celso Providelo (cprov) wrote :

"...DistroRelease has more than one DistributionSourcePackageRelease..."

uhm DistroReleaseSourcePackageRelease, maybe

 * DistributionSourcePackage [DSP -> D + SP]
 * DistributionSourcePackageRelease [DSPR -> D + SPR]

 * DistroReleaseSourcePackage [DRSP -> DR + SP] (currently SourcePackage [SP])
 * DistroReleaseSourcePackageRelease [DRSPR -> DR + SPR]

You're right, the current name is inconsistent. But as you know, also the pages are very confusing, I wonder if the best solution wouldn't be collapsing content classes and implementing missing properties in broswer code.

description: updated
description: updated
Gary Poster (gary)
affects: launchpad-foundations → soyuz
affects: soyuz → launchpad-registry
Revision history for this message
Curtis Hovey (sinzui) wrote : Re: SourcePackage should be DistroSeriesSourcePackage

Fixing the name would do a lot to make the code intelligible. Would this make the UI clear? When I visit an SP page, I see it may list many versions of the package published in the series. This seems to be a meta-object/page that lists the real DistroSeriesSourcePackages under a common name.

Changed in launchpad-registry:
importance: Undecided → Low
status: New → Triaged
Curtis Hovey (sinzui)
tags: added: tech-debt
summary: - SourcePackage should be DistroSeriesSourcePackage
+ SourcePackage is distroseries specific - would be better labelled
+ DistroSeriesSourcePackage
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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