Merge lp:~bac/launchpad/clarity into lp:launchpad
Status: | Merged |
---|---|
Approved by: | Jelmer Vernooij |
Approved revision: | no longer in the source branch. |
Merged at revision: | 11025 |
Proposed branch: | lp:~bac/launchpad/clarity |
Merge into: | lp:launchpad |
Diff against target: |
785 lines (+249/-111) 26 files modified
lib/canonical/launchpad/interfaces/launchpad.py (+1/-1) lib/canonical/launchpad/webapp/menu.py (+0/-1) lib/lp/bugs/browser/bugrole.py (+0/-13) lib/lp/bugs/browser/tests/test_bugsupervisor.py (+1/-10) lib/lp/bugs/browser/tests/test_configure_bugtracker_links.py (+105/-0) lib/lp/bugs/interfaces/bugsupervisor.py (+8/-1) lib/lp/bugs/interfaces/bugtarget.py (+4/-3) lib/lp/bugs/interfaces/securitycontact.py (+4/-1) lib/lp/bugs/stories/bug-also-affects/xx-upstream-bugtracker-links.txt (+3/-2) lib/lp/bugs/stories/bug-release-management/50-defer-distribution-bug.txt (+4/-1) lib/lp/bugs/stories/bug-release-management/60-defer-product-bug.txt (+4/-1) lib/lp/bugs/stories/bugtask-management/xx-bug-privileged-statuses.txt (+3/-4) lib/lp/bugs/stories/guided-filebug/xx-bug-reporting-guidelines.txt (+9/-9) lib/lp/bugs/templates/bugtarget-bugs.pt (+12/-2) lib/lp/bugs/templates/bugtarget-macros-filebug.pt (+1/-1) lib/lp/registry/browser/distribution.py (+2/-20) lib/lp/registry/browser/distributionsourcepackage.py (+2/-5) lib/lp/registry/browser/pillar.py (+31/-2) lib/lp/registry/browser/product.py (+5/-18) lib/lp/registry/help/driver.html (+26/-0) lib/lp/registry/interfaces/product.py (+5/-4) lib/lp/registry/stories/person/xx-person-home.txt (+4/-3) lib/lp/registry/stories/product/xx-product-launchpad-usage.txt (+3/-3) lib/lp/registry/templates/person-portlet-contact-details.pt (+2/-2) lib/lp/registry/templates/pillar-involvement-portlet.pt (+0/-1) lib/lp/registry/templates/product-index.pt (+10/-3) |
To merge this branch: | bzr merge lp:~bac/launchpad/clarity |
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Jelmer Vernooij (community) | code | Approve | |
Matthew Revell (community) | text | Approve | |
Review via email: mp+27747@code.launchpad.net |
Description of the change
= Summary =
This branch fixes a slew of bugs related to better wording for various
concepts and other small improvements. The bugs are:
* Bug #91905: Better text for: Product>Bugs>Change Bug Contact
* Bug #91911: Better text for: Product>Bugs>Change Security Contact
- Simply change the wording in the interface.
* Bug #305482: <project/
misleading instructions for bug reporting guidelines
- Reword the instructions for entering bug reporting guidelines. Also
change the display to say "Ubuntu bug reporting guidelines" rather than
the older, terse "Ubuntu guidelines".
* Bug #419020: there's no help on the meaning of 'driver' or 'bug
supervisor'
- Add a pop-up help page with the definition of driver. Fix the
description of bug supervisor.
* Bug #240369: Editing bug-reporting guidelines should start from Bugs
- Add a link on the bugs page in the involvement portlet for setting
the bug tracker. Required some refactoring of the bugs menus and the
introduction of a PillarBugsMenu superclass.
Before and after screenshot can be found at:
http://
== Proposed fix ==
As above.
== Pre-implementation notes ==
Calls with Curtis.
== Implementation details ==
As above.
== Tests ==
So many tests are affected it is best just to run all registry and bugs
tests:
bin/test -vvm lp.registry
bin/test -vvm lp.bugs
== Demo and Q/A ==
Visit the following URLs and examine the new text:
https:/
https:/
https:/
https:/
= Launchpad lint =
Checking for conflicts. and issues in doctests and templates.
Running jslint, xmllint, pyflakes, and pylint.
Using normal rules.
Linting changed files:
lib/lp/
lib/lp/
lib/lp/
lib/canonical
lib/lp/
lib/lp/
lib/lp/
lib/lp/
lib/lp/
lib/lp/
lib/lp/
lib/lp/
lib/lp/
lib/lp/
lib/lp/
lib/lp/
lib/lp/
lib/lp/
lib/lp/
lib/lp/
lib/lp/
lib/canonical
lib/lp/
lib/lp/
lib/lp/
lib/lp/
== Pyflakes notices ==
lib/lp/
9: undefined name 'DistributionLa
538: local variable 'more_than_five' is assigned to but never used
== Pylint notices ==
lib/lp/
796: [C0322, IProductSet.
freshmeatpr
^
downloadurl
sourceforge
programming
@export_
IProduct, ['name', 'displayname', 'title', 'summary', 'description',
'project', 'homepageurl', 'screenshotsurl',
'downloadurl', 'freshmeatproject', 'wikiurl',
'sourceforg
'license_
'registrant'])
@export_
def createProduct(
description
screenshots
downloadurl
sourceforge
license_
icon=None, licenses=None, license_info=None,
registrant=
lib/lp/
69: [C0322, IHasBugs.
value_
^
required=
search_
status=
importance=
assignee=
bug_
bug_
bug_
bug_
structural_
owner=
affected_
has_
has_
tags=
tags_
omit_
omit_
status_
milestone_
IBugTaskSea
milestone=
component=
nominated_
has_
hardware_
title=u'The bus of a hardware device related to a bug',
vocabulary=
hardware_
title=(
u"The vendor ID of a hardware device related to a bug."),
description=(
u"Allowed values of the vendor ID depend on the bus of the "
"device.nn"
"Vendor IDs of PCI, PCCard and USB devices are hexadecimal "
"string representations of 16 bit integers in the format "
"'0x01ab': The prefix '0x', followed by exactly 4 digits; "
"where a digit is one of the characters 0..9, a..f. The "
"characters A..F are not allowed.nn"
"SCSI vendor IDs are strings with exactly 8 characters. "
"Shorter names are right-padded with space (0x20) characters."
"nn"
"IDs for other buses may be arbitrary strings."),
required=
hardware_
title=(
u"The product ID of a hardware device related to a bug."),
description=(
u"Allowed values of the product ID depend on the bus of the "
"device.nn"
"Product IDs of PCI, PCCard and USB devices are hexadecimal "
"string representations of 16 bit integers in the format "
"'0x01ab': The prefix '0x', followed by exactly 4 digits; "
"where a digit is one of the characters 0..9, a..f. The "
"characters A..F are not allowed.nn"
"SCSI product IDs are strings with exactly 16 characters. "
"Shorter names are right-padded with space (0x20) characters."
"nn"
"IDs for other buses may be arbitrary strings."),
required=
hardware_
title=(
u"The driver controlling a hardware device related to a "
"bug."),
required=
hardware_
title=(
u"The package of the driver which controls a hardware "
"device related to a bug."),
required=
hardware_
title=(
u"Search for bugs reported by people who own the given "
"device or who use the given hardware driver."),
required=
hardware_
title=(
u"Search for bugs where people affected by a bug own the "
"given device or use the given hardware driver."),
required=
hardware_
title=(
u"Search for bugs where a bug subscriber owns the "
"given device or uses the given hardware driver."),
required=
hardware_
title=(
u"Search for bugs which are linked to hardware reports "
"which contain the given device or whcih contain a device"
"controlled by the given driver."),
required=
linked_
title=(
u"Search for bugs that are linked to branches or for bugs "
"that are not linked to branches."),
vocabulary=
@operation_
@export_
def searchTasks(
order_by=None, search_text=None,
status=None, importance=None,
assignee=None, bug_reporter=None, bug_supervisor=
bug_
affected_
distributio
tags_
omit_
status_
milestone=None, component=None, nominated_for=None,
sourcepacka
hardware_
hardware_
hardware_
hardware_
hardware_
hardware_
hardware_
structural_
lib/lp/
31: [C0301] Line too long (79/78)
I'll take care of this last lint issue.
Thank you for doing this work, Brad. This will greatly help.
I have one small suggestion and it is not a show-stopper: I wonder if "Incomplete" in lib/canonical/ launchpad/ interfaces/ launchpad. py should link to https:/ /help.launchpad .net/Bugs/ Statuses ... I'm not certain it should, I'm just offering it for your consideration.