Merge lp://staging/~allenap/launchpad/ui-convert-dubr-3.0-bug-424410 into lp://staging/launchpad

Proposed by Gavin Panella
Status: Merged
Approved by: Gavin Panella
Approved revision: no longer in the source branch.
Merged at revision: not available
Proposed branch: lp://staging/~allenap/launchpad/ui-convert-dubr-3.0-bug-424410
Merge into: lp://staging/launchpad
Diff against target: None lines
To merge this branch: bzr merge lp://staging/~allenap/launchpad/ui-convert-dubr-3.0-bug-424410
Reviewer Review Type Date Requested Status
Eleanor Berger (community) Approve
Review via email: mp+11212@code.staging.launchpad.net
To post a comment you must log in.
Revision history for this message
Gavin Panella (allenap) wrote :

This converts the distribution-upstream-bug-report to 3.0 layout. It was a pretty simple conversion, nothing much needed doing. One test required a tweak because of the new position of the breadcrumbs.

./bin/test -vvct distribution-upstream-bug-report

Lint free.

Revision history for this message
Gavin Panella (allenap) wrote :
Revision history for this message
Eleanor Berger (intellectronica) wrote :

r=me
ui=me

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'lib/lp/bugs/stories/distribution/xx-distribution-upstream-bug-report.txt'
--- lib/lp/bugs/stories/distribution/xx-distribution-upstream-bug-report.txt 2009-08-13 15:12:16 +0000
+++ lib/lp/bugs/stories/distribution/xx-distribution-upstream-bug-report.txt 2009-09-04 16:28:13 +0000
@@ -370,6 +370,7 @@
370 >>> print table370 >>> print table
371 None371 None
372 >>> content = find_main_content(browser.contents)372 >>> content = find_main_content(browser.contents)
373 >>> print extract_text(content)373 >>> print extract_text(content.h1)
374 Upstream bug report for Kubuntu374 Upstream bug report for Kubuntu
375 >>> print extract_text(content.find('div', 'top-portlet'))
375 Kubuntu has no bugs filed against it.376 Kubuntu has no bugs filed against it.
376377
=== modified file 'lib/lp/bugs/templates/distribution-upstream-bug-report.pt'
--- lib/lp/bugs/templates/distribution-upstream-bug-report.pt 2009-07-17 17:59:07 +0000
+++ lib/lp/bugs/templates/distribution-upstream-bug-report.pt 2009-09-04 16:28:13 +0000
@@ -1,16 +1,12 @@
1<html1<distribution-upstream-bug-report
2 xmlns="http://www.w3.org/1999/xhtml"2 xmlns="http://www.w3.org/1999/xhtml"
3 xmlns:tal="http://xml.zope.org/namespaces/tal"3 xmlns:tal="http://xml.zope.org/namespaces/tal"
4 xmlns:metal="http://xml.zope.org/namespaces/metal"4 xmlns:metal="http://xml.zope.org/namespaces/metal"
5 xmlns:i18n="http://xml.zope.org/namespaces/i18n"5 xmlns:i18n="http://xml.zope.org/namespaces/i18n"
6 xml:lang="en"6 metal:use-macro="view/macro:page/main_only"
7 lang="en"7 i18n:domain="launchpad">
8 dir="ltr"
9 metal:use-macro="view/macro:page/onecolumn"
10 i18n:domain="launchpad"
11>
128
13<metal:heading fill-slot="head_epilogue">9 <metal:heading fill-slot="head_epilogue">
14 <style type="text/css">10 <style type="text/css">
15 <!--11 <!--
16 td.amount a { display: block; }12 td.amount a { display: block; }
@@ -18,66 +14,17 @@
18 tr.bad { background: #ffbfbf; }14 tr.bad { background: #ffbfbf; }
19 -->15 -->
20 </style>16 </style>
21</metal:heading>17 </metal:heading>
2218
23 <body>19 <div metal:fill-slot="heading">
24 <metal:portlets fill-slot="portlets">20 <h1>
25 </metal:portlets>21 Upstream bug report for
2622 <tal:distro replace="context/displayname" />
27 <div metal:fill-slot="help">23 </h1>
28 <p>24 </div>
29 This report gives an overview of how good the bug communication is25
30 between a distribution and the upstream projects it produces26 <div metal:fill-slot="main">
31 packages from.27 <div class="top-portlet">
32 </p>
33
34 <p>
35 Note that many of the counts in the table are linked to
36 corresponding bug listings. The counts may disagree in certain
37 corner cases and those should be verified through <a
38 href="/ubuntu/+addquestion">a Launchpad question</a>. Details on
39 the counts follow.
40 </p>
41
42 <dl>
43 <dt>Open</dt><dd>Counts unfixed bugs on that package.</dd>
44 <dt>Triaged</dt><dd>Counts unfixed bugs that have been marked as
45 triaged by the official distribution triage team.</dd>
46 <dt>Upstream</dt><dd>Of those bugs triaged, how many indicate they
47 also affect an upstream project. Note that not all bugs filed
48 against a distribution apply to an upstream project, so this
49 percentage will rarely reach 100%.</dd>
50 <dt>Watch</dt><dd>Of the triaged bugs affecting an upstream
51 project, how many have bug watches pointing to remote bug
52 trackers. It is a measure of how well we can monitor progress in
53 the upstream project. The watch column is blank for projects
54 which use Launchpad for bug tracking since it implies that there
55 is already direct communication between distribution and
56 upstream.</dd>
57 <dt>&Delta;</dt><dd>Deltas and percentages are relative to
58 numbers in the previous category; for instance, the delta for
59 watches is the number of upstreamed bugs minus the number of
60 bugs with watches linked.</dd>
61 </dl>
62
63 <p>
64 The colour green implies healthy activity for that specific value;
65 so a green cell for Triaged means that a good rate of open bugs
66 for that source package have been triaged.
67 </p>
68 <p>
69 The colour red implies data that needs to be filled out in the
70 project registration to allow the upstream bug submission process
71 to work effectively. Links are provided to fix them for users with
72 the appropriate permissions.
73 </p>
74
75 </div>
76
77 <div metal:fill-slot="main">
78 <h1>Upstream bug report for
79 <tal:distro replace="context/displayname" /></h1>
80
81 <tal:no-bugs tal:condition="not: view/data">28 <tal:no-bugs tal:condition="not: view/data">
82 <span tal:replace="context/displayname" /> has no bugs filed29 <span tal:replace="context/displayname" /> has no bugs filed
83 against it.30 against it.
@@ -319,6 +266,6 @@
319 packages listed.</small></div>266 packages listed.</small></div>
320267
321 </div>268 </div>
269 </div>
322270
323 </body>271</distribution-upstream-bug-report>
324</html>