Merge lp:~ivo-kracht/launchpad/bug-353097 into lp:launchpad

Proposed by Ivo Kracht
Status: Merged
Approved by: Abel Deuring
Approved revision: no longer in the source branch.
Merged at revision: 15406
Proposed branch: lp:~ivo-kracht/launchpad/bug-353097
Merge into: lp:launchpad
Diff against target: 97 lines (+17/-14)
4 files modified
lib/lp/bugs/browser/bugalsoaffects.py (+2/-2)
lib/lp/bugs/stories/bug-also-affects/xx-bug-also-affects.txt (+10/-7)
lib/lp/bugs/stories/bug-also-affects/xx-bugtracker-information.txt (+4/-4)
lib/lp/bugs/stories/bugtask-searches/xx-advanced-upstream-pending-bugwatch.txt (+1/-1)
To merge this branch: bzr merge lp:~ivo-kracht/launchpad/bug-353097
Reviewer Review Type Date Requested Status
Raphaël Badin (community) Approve
Francesco Banconi (community) code* Approve
Review via email: mp+110018@code.launchpad.net

Commit message

fix for bug 353097: Marking a Bug as "Requiring Forwarding" text is missleading...

Description of the change

I changed the misleading text to <<I want to add this upstream project to the bug report, but someone must find or report this bug in the upstream bug tracker>> as proposed by Curtis Hovey in the bug discussion and changed several tests which checked the text.

Pre-imp call with adeuring

= Launchpad lint =

Checking for conflicts and issues in changed files.

Linting changed files:
  lib/lp/bugs/browser/bugalsoaffects.py
  lib/lp/bugs/stories/bug-also-affects/xx-bug-also-affects.txt
  lib/lp/bugs/stories/bug-also-affects/xx-bugtracker-information.txt
  lib/lp/bugs/stories/bugtask-searches/xx-advanced-upstream-pending-bugwatch.txt

./lib/lp/bugs/stories/bug-also-affects/xx-bug-also-affects.txt
     261: want exceeds 78 characters.
./lib/lp/bugs/stories/bug-also-affects/xx-bugtracker-information.txt
       1: narrative uses a moin header.
./lib/lp/bugs/stories/bugtask-searches/xx-advanced-upstream-pending-bugwatch.txt
      40: Comment belongs in narrative.
      41: Comment belongs in narrative.
       1: narrative uses a moin header.
      11: narrative uses a moin header.

These errors existed before and have nothing to do with my changes so I didn't fix them.

Tests:
./bin/test bugs -t xx-bugtracker-information.txt
./bin/test bugs -t xx-bug-also-affects.txt

To post a comment you must log in.
Revision history for this message
Francesco Banconi (frankban) wrote :

Looks good, thank you.
Tests pass (also xx-advanced-upstream-pending-bugwatch.txt): waiting for Raphael review.

review: Approve (code*)
Revision history for this message
Raphaël Badin (rvb) wrote :

A great first contribution, thanks Ivo!

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'lib/lp/bugs/browser/bugalsoaffects.py'
2--- lib/lp/bugs/browser/bugalsoaffects.py 2012-02-01 15:46:43 +0000
3+++ lib/lp/bugs/browser/bugalsoaffects.py 2012-06-13 10:04:24 +0000
4@@ -511,8 +511,8 @@
5 # mailing lists."
6
7 UNLINKED_UPSTREAM = Item(
8- """I just want to register that it is upstream right now; \
9- I don't have any way to link it.
10+ """I want to add this upstream project to the bug report, but someone\
11+ must find or report this bug in the upstream bug tracker.
12
13 Launchpad will record that.
14 """)
15
16=== modified file 'lib/lp/bugs/stories/bug-also-affects/xx-bug-also-affects.txt'
17--- lib/lp/bugs/stories/bug-also-affects/xx-bug-also-affects.txt 2012-04-04 05:46:26 +0000
18+++ lib/lp/bugs/stories/bug-also-affects/xx-bug-also-affects.txt 2012-06-13 10:04:24 +0000
19@@ -284,20 +284,22 @@
20 [ ]
21 ( ) I have already emailed an upstream bug contact:
22 [ ]
23- ( ) I just want to register that it is upstream right now; I
24- don't have any way to link it.
25+ ( ) I want to add this upstream project to the bug report, but
26+ someone must find or report this bug in the upstream bug
27+ tracker.
28
29 We can just link upstream without a URL to say that this has been dealt
30 with, but we can't reference it.
31
32- >>> user_browser.getControl('I just want to register').selected = True
33+ >>> user_browser.getControl('I want to add this upstream').selected = True
34 >>> print_upstream_linking_form(user_browser)
35 ( ) I have the URL for the upstream bug:
36 [ ]
37 ( ) I have already emailed an upstream bug contact:
38 [ ]
39- (*) I just want to register that it is upstream right now; I
40- don't have any way to link it.
41+ (*) I want to add this upstream project to the bug report, but
42+ someone must find or report this bug in the upstream bug
43+ tracker.
44
45 >>> user_browser.getControl('Add to Bug Report').click()
46 >>> print user_browser.url
47@@ -638,8 +640,9 @@
48 [ ]
49 (*) I have already emailed an upstream bug contact:
50 [dark-master-o-bugs@mylittlepony.com]
51- ( ) I just want to register that it is upstream right now; I
52- don't have any way to link it.
53+ ( ) I want to add this upstream project to the bug report, but
54+ someone must find or report this bug in the upstream bug
55+ tracker.
56
57 The bug tracker is automatically created without asking for
58 confirmation.
59
60=== modified file 'lib/lp/bugs/stories/bug-also-affects/xx-bugtracker-information.txt'
61--- lib/lp/bugs/stories/bug-also-affects/xx-bugtracker-information.txt 2009-06-12 16:36:02 +0000
62+++ lib/lp/bugs/stories/bug-also-affects/xx-bugtracker-information.txt 2012-06-13 10:04:24 +0000
63@@ -19,8 +19,8 @@
64 [ ]
65 ( ) I have already emailed an upstream bug contact:
66 [ ]
67- ( ) I just want to register that it is upstream right now; I
68- don't have any way to link it.
69+ ( ) I want to add this upstream project to the bug report, but someone
70+ must find or report this bug in the upstream bug tracker.
71
72 If a product doesn't use Launchpad, and doesn't have a bug tracker
73 specified, it will simply say that it doesn't use Launchpad to track
74@@ -38,8 +38,8 @@
75 [ ]
76 ( ) I have already emailed an upstream bug contact:
77 [ ]
78- ( ) I just want to register that it is upstream right now; I
79- don't have any way to link it.
80+ ( ) I want to add this upstream project to the bug report, but someone
81+ must find or report this bug in the upstream bug tracker.
82
83 For products using Launchpad, the linking upstream widgets won't even
84 appear.
85
86=== modified file 'lib/lp/bugs/stories/bugtask-searches/xx-advanced-upstream-pending-bugwatch.txt'
87--- lib/lp/bugs/stories/bugtask-searches/xx-advanced-upstream-pending-bugwatch.txt 2012-02-17 23:00:56 +0000
88+++ lib/lp/bugs/stories/bugtask-searches/xx-advanced-upstream-pending-bugwatch.txt 2012-06-13 10:04:24 +0000
89@@ -28,7 +28,7 @@
90
91 >>> browser.getLink('Also affects project').click()
92 >>> browser.getControl(
93- ... 'I just want to register that it is upstream').selected = True
94+ ... 'I want to add this upstream project').selected = True
95 >>> browser.getControl('Add to Bug Report').click()
96 >>> browser.title
97 'Bug #... : Bugs : alsa-utils'