Merge lp:~brian-murray/ubuntu-archive-tools/pkg-name into lp:ubuntu-archive-tools

Proposed by Brian Murray
Status: Merged
Merged at revision: 796
Proposed branch: lp:~brian-murray/ubuntu-archive-tools/pkg-name
Merge into: lp:ubuntu-archive-tools
Diff against target: 40 lines (+6/-6)
1 file modified
sru-release (+6/-6)
To merge this branch: bzr merge lp:~brian-murray/ubuntu-archive-tools/pkg-name
Reviewer Review Type Date Requested Status
Ubuntu Package Archive Administrators Pending
Review via email: mp+195300@code.launchpad.net

Description of the change

ScottK had asked that the package name be included in the comment added to bug reports by the sru-release tool. This adds that.

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-release'
2--- sru-release 2013-10-21 00:37:36 +0000
3+++ sru-release 2013-11-14 20:05:09 +0000
4@@ -67,7 +67,7 @@
5 return bugs
6
7
8-def update_sru_bug(bug):
9+def update_sru_bug(bug, pkg):
10 '''Unsubscribe SRU team and comment on bug re: how to report regressions'''
11 m_subjects = [m.subject for m in bug.messages]
12 if 'Update Released' in m_subjects:
13@@ -75,14 +75,14 @@
14 return
15 sru_team = launchpad.people['ubuntu-sru']
16 bug.unsubscribe(person=sru_team)
17- text = ("The verification of this Stable Release Update has completed "
18- "successfully and the package has now been released to "
19- "-updates. Subsequently, the Ubuntu Stable Release Updates "
20+ text = ("The verification of the Stable Release Update for %s has "
21+ "completed successfully and the package has now been released "
22+ "to -updates. Subsequently, the Ubuntu Stable Release Updates "
23 "Team is being unsubscribed and will not receive messages "
24 "about this bug report. In the event that you encounter "
25 "a regression using the package from -updates please report "
26 "a new bug using ubuntu-bug and tag the bug report "
27- "regression-update so we can easily find any regresssions.")
28+ "regression-update so we can easily find any regresssions." % pkg)
29 bug.newMessage(subject="Update Released", content=text)
30 bug.lp_save()
31
32@@ -186,7 +186,7 @@
33 sru_bugs = match_srubugs(options, versions['changesfile'])
34 for sru_bug in sru_bugs:
35 if 'verification-needed' not in sru_bug.tags:
36- update_sru_bug(sru_bug)
37+ update_sru_bug(sru_bug, pkg)
38
39 # -proposed -> -security
40 if options.security:

Subscribers

People subscribed via source and target branches