Merge lp:~brian-murray/ubuntu/natty/apport/natty-regression-tags into lp:~ubuntu-core-dev/ubuntu/natty/apport/ubuntu

Proposed by Brian Murray
Status: Merged
Merged at revision: 1716
Proposed branch: lp:~brian-murray/ubuntu/natty/apport/natty-regression-tags
Merge into: lp:~ubuntu-core-dev/ubuntu/natty/apport/ubuntu
Diff against target: 44 lines (+8/-9)
1 file modified
data/package-hooks/source_linux.py (+8/-9)
To merge this branch: bzr merge lp:~brian-murray/ubuntu/natty/apport/natty-regression-tags
Reviewer Review Type Date Requested Status
Martin Pitt Pending
Ubuntu Core Development Team Pending
Review via email: mp+44256@code.launchpad.net

Description of the change

This modifies the linux package hook to prevent regression-release bugs from being tagged regression-updates - see bug 692344. Additionally, I've reordered the regression tags in likelyhood of greatest usage and tried to clarify that 'regression-release' applies to the dev release and a stable release but not an updated package in the stable release.

To post a comment you must log in.
1714. By Brian Murray

there is no need to test package failures with the upstream kernel

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'data/package-hooks/source_linux.py'
--- data/package-hooks/source_linux.py 2010-10-11 22:28:38 +0000
+++ data/package-hooks/source_linux.py 2011-01-04 19:18:13 +0000
@@ -12,7 +12,6 @@
12the full text of the license.12the full text of the license.
13'''13'''
1414
15import os
16import os.path15import os.path
17import subprocess16import subprocess
18from apport.hookutils import *17from apport.hookutils import *
@@ -74,15 +73,14 @@
74 report['Regression'] = "No"73 report['Regression'] = "No"
75 if response == True:74 if response == True:
76 report['Regression'] = "Yes"75 report['Regression'] = "Yes"
77 regression_tags = ["regression-release",76 regression_tags = ["regression-update",
78 "regression-update", "regression-proposed"]77 "regression-release", "regression-proposed"]
7978
80 # add code to check if running dev release; if so, tag regression-potential and move on.79 # add code to check if running dev release; if so, tag regression-potential and move on.
81 regression = ui.choice("How would you describe the regression?",80 regression = ui.choice("How would you describe the regression?",
82 ["regression-release - A regression in a new stable release.",81 ["regression-update - A regression introduced by an updated package in the stable release.",
83 "regression-release - A bug discovered in the development release that was not present in the stable release.",82 "regression-release - A regression in the development release or a new stable release.",
84 "regression-update - A regression introduced by an updated package in the stable release.",83 "regression-proposed - A regression introduced by a package in -proposed.",
85 "regression-proposed - A regression introduced by a package in -proposed .",
86 "I don't know."], False)84 "I don't know."], False)
8785
88 #Don't Know response defaults to regression-release86 #Don't Know response defaults to regression-release
@@ -112,8 +110,9 @@
112 frequency_options)110 frequency_options)
113 report['Frequency'] = frequency_options[frequency[0]]111 report['Frequency'] = frequency_options[frequency[0]]
114112
115 tags.append("needs-upstream-testing")113 if 'apport-package' not in tags:
116 ui.information("Testing the upstream kernel can help isolate issues in Ubuntu kernel patches, discover a bug is fixed upstream, or confirm the issue exists upstream. It would be great if you could test with the upstream kernel and let us know your results by posting a comment in the bug report. For information on testing the upstream kernel, refer to https://wiki.ubuntu.com/KernelTeam/MainlineBuilds")114 tags.append("needs-upstream-testing")
115 ui.information("Testing the upstream kernel can help isolate issues in Ubuntu kernel patches, discover a bug is fixed upstream, or confirm the issue exists upstream. It would be great if you could test with the upstream kernel and let us know your results by posting a comment in the bug report. For information on testing the upstream kernel, refer to https://wiki.ubuntu.com/KernelTeam/MainlineBuilds")
117116
118 report.setdefault('Tags', '')117 report.setdefault('Tags', '')
119 report['Tags'] += ' ' + ' '.join(tags)118 report['Tags'] += ' ' + ' '.join(tags)

Subscribers

People subscribed via source and target branches