Merge lp:~sinzui/launchpad/buga-buga into lp:launchpad
Status: | Merged | ||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Approved by: | Leonard Richardson | ||||||||||||||||||||
Approved revision: | no longer in the source branch. | ||||||||||||||||||||
Merged at revision: | 12133 | ||||||||||||||||||||
Proposed branch: | lp:~sinzui/launchpad/buga-buga | ||||||||||||||||||||
Merge into: | lp:launchpad | ||||||||||||||||||||
Diff against target: |
612 lines (+131/-168) 15 files modified
lib/lp/bugs/browser/bug.py (+3/-3) lib/lp/bugs/browser/bugnomination.py (+6/-0) lib/lp/bugs/browser/tests/test_bugnomination.py (+52/-0) lib/lp/bugs/mail/newbug.py (+5/-6) lib/lp/bugs/mail/tests/test_bug_task_assignment.py (+7/-4) lib/lp/bugs/stories/bug-release-management/30-nominate-bug-for-distrorelease.txt (+5/-4) lib/lp/bugs/stories/bug-release-management/40-nominate-bug-for-productseries.txt (+5/-4) lib/lp/bugs/stories/bug-release-management/60-defer-product-bug.txt (+1/-1) lib/lp/bugs/stories/bug-release-management/xx-anonymous-bug-nomination.txt (+3/-2) lib/lp/bugs/stories/cve/cve-linking.txt (+24/-120) lib/lp/bugs/templates/bug-nominate-for-series.pt (+3/-14) lib/lp/bugs/templates/bugnomination-edit.pt (+2/-2) lib/lp/bugs/templates/bugtarget-bugs.pt (+1/-1) lib/lp/bugs/templates/cve-index.pt (+10/-3) lib/lp/registry/stories/milestone/object-milestones.txt (+4/-4) |
||||||||||||||||||||
To merge this branch: | bzr merge lp:~sinzui/launchpad/buga-buga | ||||||||||||||||||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Leonard Richardson (community) | Approve | ||
Review via email: mp+44297@code.launchpad.net |
Description of the change
Fix some trivial bugs in Lp bugs.
Launchpad bug:
https:/
https:/
https:/
https:/
https:/
Pre-
Test command: ./bin/test -vv \
-t cve-linking \
-t TestAssignmentN
-t stories/
Bug #136870 [Link to bugs from lists of bugs in CVE pages]
The title of linked bugs is not linked. User need to scroll to the
related bugs portlet and find the bug number.
Bug #674546 ["See all hot bugs" link exists but lists cold bugs too]
This link goes to a batched list of all open bug reports for the project,
not just the hot ones.
Bug #670064 [Mail notification refers to "bug task" database schema]
A "bug task for a public bug"? Is that something you need a Launchpad
diploma to understand?
Bug #202136 [Nominating a bug for a series not a release]
Distroseries were once named distroreleases, but that was inconsistent.
The object name was fixed, but the links still mention a release. The
use is actually asked to choose a series, not a release
Bug #297531 [+nominate UI needs a big rework]
The title, heading, and form alignment issues have been fixed over the
last two years, and the view is now restricted to bug supervisors and
drivers. The page still talks of release when it means series, and the
action should be Nominate or Target based on user privileges.
-------
RULES
Bug #136870 [Link to bugs from lists of bugs in CVE pages]
* Link the bug title in the main content if the user has permission to
view the bug
Bug #674546 ["See all hot bugs" link exists but lists cold bugs too]
* As mpt suggests: change the text of the link to "Show all bugs by heat".
Bug #670064 [Mail notification refers to "bug task" database schema]
* Change the sentence as mpt suggests
<
* ADDENDUM Removed else clause for missing creator. It is not possible
to assign someone without knowing who did it. The logic appears to
predate the use of transitionToAss
Bug #202136 [Nominating a bug for a series not a release]
* Change the text of the link to use 'series'.
Bug #297531 [+nominate UI needs a big rework]
* Replace "release" with "series".
* Change the action title to "Nominate" or "Target"
QA
Bug #136870 [Link to bugs from lists of bugs in CVE pages]
* Visit https:/
* Verify the heading of the related bugs link to the bug.
Bug #674546 ["See all hot bugs" link exists but lists cold bugs too]
* Visit https:/
* Verify the link under the hot bug listing reads "Show all bugs by heat".
Bug #670064 [Mail notification refers to "bug task" database schema]
* Assign your self a bug.
* Verify the email does not say you were assigned a bug task.
Bug #202136 [Nominating a bug for a series not a release]
* Visit a bug you are a driver or bug supervisor for.
* Verify the bug states target to/nominate for series
Bug #297531 [+nominate UI needs a big rework]
* For a project you have permission to drive or supervise,
Choose a bug that is not nominated for a series
* Chose Nominate/Target to series
* Verify the page talks of "series".
* Verify the submit button reads Nominate or Target.
LINT
lib/
lib/
lib/
lib/
lib/
lib/
lib/
lib/
lib/
lib/
lib/
lib/
lib/
lib/
^ Lint hates a lot of these files. I can clean up the indentation and line
lengths before I submit.
IMPLEMENTATION
Bug #136870 [Link to bugs from lists of bugs in CVE pages]
Added a permission check tot he template and linked the bug if the
user has permission to view the bug
lib/
lib/
Bug #674546 ["See all hot bugs" link exists but lists cold bugs too]
Updated the link text in
lib/
Bug #670064 [Mail notification refers to "bug task" database schema]
Revised the message and removed the event_creator condition.
lib/
lib/
Bug #202136 [Nominating a bug for a series not a release]
Update link text and test.
lib/
lib/
Bug #297531 [+nominate UI needs a big rework]
Updated the templates to use series instead of release. Hacked the view
to change the action label and added a test that is more convincing than
the existing stories.
lib/
lib/
lib/
lib/
lib/
lib/
lib/
Approved with minor changes, as per IRC:
line 31, "submit label to" => "submit label"
line 48, "bug nomiation" => "bug nomination"
I mentioned that you were getting rid of a check for "event_creator is not None". You said you'd talked this over with Deryck and that you agreed that this could never happen.