Merge lp:~roadmr/checkbox/814085 into lp:checkbox

Proposed by Daniel Manrique
Status: Merged
Merged at revision: 992
Proposed branch: lp:~roadmr/checkbox/814085
Merge into: lp:checkbox
Diff against target: 55 lines (+16/-1) (has conflicts)
2 files modified
debian/changelog (+14/-0)
scripts/cdimage_resource (+2/-1)
Text conflict in debian/changelog
To merge this branch: bzr merge lp:~roadmr/checkbox/814085
Reviewer Review Type Date Requested Status
Marc Tardif (community) Approve
Daniel Manrique (community) Needs Resubmitting
Review via email: mp+68720@code.launchpad.net

Description of the change

A small tweak to the regex used to extract the release number in scripts/cdimage_resource, because I noticed that for instance Lucid is named "10.04.2 LTS" and the LTS part was throwing off the old regex.

This will be nice to have for future LTS releases if the naming convention sticks, but for Lucid it's probably not SRU-worthy as base checkbox doesn't report cdimage_resource data when submitting to launchpad. We'd have to see whether this affects our Lucid kernel SRU testing and whether this change is worth backporting to the version of checkbox used for those tests (it should integrate easily).

To post a comment you must log in.
Revision history for this message
Marc Tardif (cr3) wrote :

Shouldn't the regex be "( LTS)?" rather than "( LTS)*"?

review: Needs Information
lp:~roadmr/checkbox/814085 updated
969. By Daniel Manrique

Improved regex per cr3's suggestion

Revision history for this message
Daniel Manrique (roadmr) wrote :

> Shouldn't the regex be "( LTS)?" rather than "( LTS)*"?

Ah, yes, you're right. My approach was a bit more shotgun :)

I've fixed the regexp and updated the branch.

review: Needs Resubmitting
Revision history for this message
Marc Tardif (cr3) wrote :

Looks good, merging.

review: Approve
Revision history for this message
Marc Tardif (cr3) wrote :

By the way, you committed merge conflict code. I'll take care of that...

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'debian/changelog'
--- debian/changelog 2011-08-10 13:14:40 +0000
+++ debian/changelog 2011-08-10 15:48:32 +0000
@@ -15,8 +15,13 @@
15 changes. (LP: #804369)15 changes. (LP: #804369)
16 * scripts/sleep_test: improve handling of NetworkManager DBus API16 * scripts/sleep_test: improve handling of NetworkManager DBus API
17 changes. (LP: #808423)17 changes. (LP: #808423)
18<<<<<<< TREE
18 * Updated minimum_resolution test as per latest system requirements, leaving19 * Updated minimum_resolution test as per latest system requirements, leaving
19 just one unified test. (LP: #767166)20 just one unified test. (LP: #767166)
21=======
22 * scripts/cdimage_resource: properly handle releases with "LTS" in their
23 name (LP: #814085)
24>>>>>>> MERGE-SOURCE
2025
21 [Javier Collado]26 [Javier Collado]
22 * Checkbox exits with EX_NOINPUT if a whitelist or blacklist file is27 * Checkbox exits with EX_NOINPUT if a whitelist or blacklist file is
@@ -26,6 +31,7 @@
26 * Make the "Next" button the default action when Enter is pressed, to 31 * Make the "Next" button the default action when Enter is pressed, to
27 streamline testing with the GTK interface.32 streamline testing with the GTK interface.
2833
34<<<<<<< TREE
29 [Marc Tardif]35 [Marc Tardif]
30 * Fixed udevam not being found because /sbin not in PATH (LP: #597305)36 * Fixed udevam not being found because /sbin not in PATH (LP: #597305)
31 * Fixed hardware attachments for udev and dmi (LP: #822682)37 * Fixed hardware attachments for udev and dmi (LP: #822682)
@@ -38,6 +44,14 @@
38 * Fix description for nautilus_file_create job (LP: #821141) 44 * Fix description for nautilus_file_create job (LP: #821141)
3945
40 -- Daniel Manrique <daniel.manrique@canonical.com> Wed, 10 Aug 2011 09:13:10 -040046 -- Daniel Manrique <daniel.manrique@canonical.com> Wed, 10 Aug 2011 09:13:10 -0400
47=======
48 [Brendan Donegan]
49 * Refactored job definition files.
50 * Fixed dependencies and test naming.
51 * Added Online CPU before/after suspend test.
52
53 -- Daniel Manrique <daniel.manrique@canonical.com> Thu, 21 Jul 2011 12:13:16 -0400
54>>>>>>> MERGE-SOURCE
4155
42checkbox (0.12.3) oneiric; urgency=low56checkbox (0.12.3) oneiric; urgency=low
4357
4458
=== modified file 'scripts/cdimage_resource'
--- scripts/cdimage_resource 2010-03-01 20:34:43 +0000
+++ scripts/cdimage_resource 2011-08-10 15:48:32 +0000
@@ -30,8 +30,9 @@
3030
31def get_disk_from_string(string):31def get_disk_from_string(string):
32 # Ubuntu 8.04.1 "Hardy Heron" - Release amd64 (20080702.1)32 # Ubuntu 8.04.1 "Hardy Heron" - Release amd64 (20080702.1)
33 # Ubuntu 10.04.2 LTS "Lucid Lynx" - Release amd64 (20110227.2)
33 distributor_regex = r"(?P<distributor>[\w\-]+)"34 distributor_regex = r"(?P<distributor>[\w\-]+)"
34 release_regex = r"(?P<release>[\d\.]+)"35 release_regex = r"(?P<release>[\d\.]+( LTS)?)"
35 codename_regex = r"(?P<codename>[^_\"]+)"36 codename_regex = r"(?P<codename>[^_\"]+)"
36 official_regex = r"(?P<official>[\w ]+)"37 official_regex = r"(?P<official>[\w ]+)"
37 architecture_regex = r"(?P<architecture>[\w\+]+)"38 architecture_regex = r"(?P<architecture>[\w\+]+)"

Subscribers

People subscribed via source and target branches