Merge lp:~brian-murray/ubuntu-archive-tools/strike-thru-dupes into lp:ubuntu-archive-tools

Proposed by Brian Murray
Status: Merged
Merged at revision: 950
Proposed branch: lp:~brian-murray/ubuntu-archive-tools/strike-thru-dupes
Merge into: lp:ubuntu-archive-tools
Diff against target: 33 lines (+6/-3)
1 file modified
sru-report (+6/-3)
To merge this branch: bzr merge lp:~brian-murray/ubuntu-archive-tools/strike-thru-dupes
Reviewer Review Type Date Requested Status
Ubuntu Package Archive Administrators Pending
Review via email: mp+255131@code.launchpad.net

Description of the change

gnome-session's SRU has an bug report in it's changelog that is a duplicate of another bug. That bug doesn't really need to be verified and other SRUs with bugs that are duplicates should be investigated manually, so let's make them stand out in the report.

To post a comment you must log in.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'sru-report'
2--- sru-report 2015-03-20 19:32:29 +0000
3+++ sru-report 2015-04-02 19:15:41 +0000
4@@ -212,8 +212,9 @@
5 due to a lack of verification,
6 bugs in <span style="font-style: italic">italic</span> are kernel tracking
7 bugs and bugs that are
8-<span style="text-decoration: line-through;">struck through</span> weren't
9-accessible at the time the report was generated.</p>''')
10+<span style="text-decoration: line-through;">struck through</span> are
11+duplicate bug reports or weren't accessible at the time the report was
12+generated.</p>''')
13
14 #
15 # pending SRUs
16@@ -310,6 +311,8 @@
17 else:
18 try:
19 bug = lp.bugs[b]
20+ if bug.duplicate_of:
21+ cls += ' broken'
22 last_message_date = bug.date_last_message.replace(
23 minute=0, second=0, microsecond=0)
24 published_date = rpkg['published'].replace(
25@@ -335,7 +338,7 @@
26 try:
27 if (m_owner not in ignored_commenters and
28 'messages' not in cls):
29- cls += 'messages'
30+ cls += ' messages'
31 if m_owner not in ignored_commenters:
32 hover_text = '%s\n' % \
33 datetime.datetime.strftime(

Subscribers

People subscribed via source and target branches