Merge lp:~seth-arnold/ubuntu-archive-tools/release-in-bug-text into lp:ubuntu-archive-tools

Proposed by Seth Arnold
Status: Rejected
Rejected by: Steve Langasek
Proposed branch: lp:~seth-arnold/ubuntu-archive-tools/release-in-bug-text
Merge into: lp:ubuntu-archive-tools
Diff against target: 41 lines (+9/-8)
1 file modified
sru-release (+9/-8)
To merge this branch: bzr merge lp:~seth-arnold/ubuntu-archive-tools/release-in-bug-text
Reviewer Review Type Date Requested Status
Colin Watson Needs Fixing
Review via email: mp+184216@code.launchpad.net

Description of the change

Add the release to the bug text when a package is released from -proposed
to -updates. I re-flowed the text around the changed line lengths.

To post a comment you must log in.
Revision history for this message
Colin Watson (cjwatson) wrote :

The problem with this is that the "Update Released" message is only be added once, so, for a bug targeted to (e.g.) both precise and quantal, this will cause there to be a message saying it's been released to precise-updates and none saying it's been released to quantal-updates, or vice versa, whichever happens to be released first. I think this will result in confusion.

Perhaps we need a separate message for each series that's released. I'd like Brian to comment on this.

review: Needs Fixing
Revision history for this message
Colin Watson (cjwatson) wrote :

(obviously I meant "is only added once" in that last comment)

Revision history for this message
Brian Murray (brian-murray) wrote :

In my opinion the intent of the message is to indicate that the Ubuntu SRU team is no longer monitoring the bug report and to tell people the proper way to open bug reports about problems encountered with the SRU. The part about -updates may even be unnecessary. Subsequently, I don't think adding in the release provides any additional information. The comment(s) from the Launchpad Janitor indicate in which specific release the bug was fixed.

Revision history for this message
Seth Arnold (seth-arnold) wrote :

> The problem with this is that the "Update Released" message is only be added
> once, so, for a bug targeted to (e.g.) both precise and quantal, this will
> cause there to be a message saying it's been released to precise-updates and
> none saying it's been released to quantal-updates, or vice versa, whichever
> happens to be released first. I think this will result in confusion.

Darn, I thought that patch went too easily. Yes, I agree that if this message
is only going to be pasted onto a bug once, this is not the correct way to do it.

> Perhaps we need a separate message for each series that's released. I'd like
> Brian to comment on this.

This was my intent, though I obviously missed some of the changes necessary.
SRU bugs with more than one series is complicated enough, I had hoped changing
this text to be more precise about what specifically was fixed would help remove
some of the confusion.

Thanks for the review.

Revision history for this message
Steve Langasek (vorlon) wrote :

The ubuntu-archive-tools repository is being migrated from bzr to git, which means this MP will no longer be mergeable. If you wish to proceed with this MP please resubmit against the git repository.

Unmerged revisions

773. By Seth Arnold

Add release to the -updates bug message

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

Subscribers

People subscribed via source and target branches