Clean up ProductSeries naming properties
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Triaged
|
Low
|
Unassigned |
Bug Description
The ProductSeries class (Release series in the user interface) currently provides a number of methods for name display.
displayname = name
title = "%s Series: %s" % (product.
bugtargetdispla
bugtargetname = "%s/%s" % (product.name, series.name)
* displayname is not a useful way to refer to a series, it does not provide enough context because it does not include the product name.
* title is not generally useful because of this weird "Series: " in the middle.
* bugtargetdispla
* bugtargetname is the real unique name for the productseries.
The standard displayname and title properties should be modified to be more useful, and the bugtarget properties should be renamed to reflect their general usefulness.
Changed in launchpad: | |
milestone: | 1.1.11 → 1.2.1 |
Changed in launchpad: | |
milestone: | 1.2.1 → none |
Changed in launchpad-foundations: | |
status: | In Progress → Triaged |
affects: | launchpad-foundations → launchpad-registry |
Changed in launchpad-registry: | |
assignee: | David Allouche (ddaa) → nobody |
tags: | added: tech-debt |
Changed in launchpad-registry: | |
importance: | Medium → Low |
ddaa: actually, I'd like bugtargetname to be renamed to "unique_name" (for consistency with Branch. unique_ name), and bugtargetdispla yname to replace the existing displayname. displayname to be more like this: displayname, series.name) displayname, series.name)
sabdfl: ddaa: +1 on changing ProductSeries.
sabdfl: firefox "trunk" series
sabdfl: hmm.. perhaps that should be .title
sabdfl: and displayname should just be "firefox trunk"
ddaa: sabdfl: you mean
ddaa: * series.title = smartquote('%s "%s" series') % (product.
ddaa: * series.displayname = "%s %s" % (product.
ddaa: Right?
In summary: displayname, series.name) displayname, series.name) yname
* series.title = smartquote('%s "%s" series') % (product.
* series.displayname = "%s %s" % (product.
* series.unique_name = %s/%s" % (product.name, series.name)
* remove bugtargetdispla
* remove bugtargetname