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
1=== modified file 'data/package-hooks/source_linux.py'
2--- data/package-hooks/source_linux.py 2010-10-11 22:28:38 +0000
3+++ data/package-hooks/source_linux.py 2011-01-04 19:18:13 +0000
4@@ -12,7 +12,6 @@
5 the full text of the license.
6 '''
7
8-import os
9 import os.path
10 import subprocess
11 from apport.hookutils import *
12@@ -74,15 +73,14 @@
13 report['Regression'] = "No"
14 if response == True:
15 report['Regression'] = "Yes"
16- regression_tags = ["regression-release",
17- "regression-update", "regression-proposed"]
18+ regression_tags = ["regression-update",
19+ "regression-release", "regression-proposed"]
20
21 # add code to check if running dev release; if so, tag regression-potential and move on.
22 regression = ui.choice("How would you describe the regression?",
23- ["regression-release - A regression in a new stable release.",
24- "regression-release - A bug discovered in the development release that was not present in the stable release.",
25- "regression-update - A regression introduced by an updated package in the stable release.",
26- "regression-proposed - A regression introduced by a package in -proposed .",
27+ ["regression-update - A regression introduced by an updated package in the stable release.",
28+ "regression-release - A regression in the development release or a new stable release.",
29+ "regression-proposed - A regression introduced by a package in -proposed.",
30 "I don't know."], False)
31
32 #Don't Know response defaults to regression-release
33@@ -112,8 +110,9 @@
34 frequency_options)
35 report['Frequency'] = frequency_options[frequency[0]]
36
37- tags.append("needs-upstream-testing")
38- 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")
39+ if 'apport-package' not in tags:
40+ tags.append("needs-upstream-testing")
41+ 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")
42
43 report.setdefault('Tags', '')
44 report['Tags'] += ' ' + ' '.join(tags)

Subscribers

People subscribed via source and target branches