Merge lp:~cr3/checkbox/revert_sru into lp:checkbox

Proposed by Marc Tardif
Status: Merged
Merged at revision: 1231
Proposed branch: lp:~cr3/checkbox/revert_sru
Merge into: lp:checkbox
Diff against target: 213 lines (+2/-114)
12 files modified
.bzrignore (+0/-2)
bin/checkbox-sru (+0/-18)
data/whitelists/sru.whitelist (+0/-28)
debian/checkbox-sru.install (+0/-2)
debian/checkbox-sru.links (+0/-1)
debian/checkbox-sru.postinst (+0/-7)
debian/control (+0/-9)
debian/rules (+1/-3)
examples/checkbox-sru.ini (+0/-5)
jobs/sru.txt.in (+0/-4)
scripts/sru_suspend (+0/-33)
setup.py (+1/-2)
To merge this branch: bzr merge lp:~cr3/checkbox/revert_sru
Reviewer Review Type Date Requested Status
Daniel Manrique (community) Approve
Review via email: mp+91923@code.launchpad.net

Description of the change

Only reverted SRU changes. There were other changes in revno 1148 about using the default.whitelist file which were preserved.

To post a comment you must log in.
Revision history for this message
Daniel Manrique (roadmr) wrote :

Thanks, merging!

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file '.bzrignore'
2--- .bzrignore 2012-02-01 14:47:34 +0000
3+++ .bzrignore 2012-02-07 21:29:18 +0000
4@@ -4,7 +4,6 @@
5 debian/checkbox
6 debian/checkbox-cli
7 debian/checkbox-gtk
8-debian/checkbox-sru
9 debian/checkbox-urwid
10 debian/*-cli.postrm
11 debian/*.debhelper
12@@ -14,7 +13,6 @@
13 debian/stamp-patched
14 debian/*.substvars
15 debian/tmp
16-debian/*-sru.postrm
17 debian/*-urwid.postrm
18 gtk/checkbox-gtk.glade.bak
19 gtk/checkbox-gtk.gladep
20
21=== removed file 'bin/checkbox-sru'
22--- bin/checkbox-sru 2011-12-10 14:29:44 +0000
23+++ bin/checkbox-sru 1970-01-01 00:00:00 +0000
24@@ -1,18 +0,0 @@
25-#!/bin/bash
26-
27-export XDG_CACHE_HOME=${XDG_CACHE_HOME:-$HOME/.cache}
28-export CHECKBOX_DATA=${CHECKBOX_DATA:-.}
29-export CHECKBOX_SHARE=${CHECKBOX_SHARE:-.}
30-export CHECKBOX_OPTIONS=${CHECKBOX_OPTIONS:---whitelist-file=$CHECKBOX_SHARE/data/whitelists/sru.whitelist}
31-export PYTHONPATH=$PYTHONPATH:$CHECKBOX_SHARE
32-
33-if [ $CHECKBOX_DATA != '.' ]
34-then
35- old_data=$HOME/.checkbox
36- if [ -d $old_data ] && [ ! -d $CHECKBOX_DATA ]
37- then
38- mv -f $old_data $CHECKBOX_DATA
39- fi
40-fi
41-
42-python $CHECKBOX_SHARE/run "$@" $CHECKBOX_SHARE/configs/$(basename $0).ini
43
44=== removed file 'data/whitelists/sru.whitelist'
45--- data/whitelists/sru.whitelist 2011-12-07 15:07:39 +0000
46+++ data/whitelists/sru.whitelist 1970-01-01 00:00:00 +0000
47@@ -1,28 +0,0 @@
48-cdimage
49-cpuinfo
50-device
51-dmi
52-dpkg
53-gconf
54-lsb
55-meminfo
56-module
57-package
58-uname
59-__info__
60-codecs_attachment
61-cpuinfo_attachment
62-dmesg_attachment
63-dmi_attachment
64-dmidecode_attachment
65-lsmod_attachment
66-lspci_attachment
67-gcov_attachment
68-modprobe_attachment
69-modules_attachment
70-sysfs_attachment
71-sysctl_attachment
72-udev_attachment
73-__sru__
74-sru/suspend_success
75-sru/hibernate_success
76
77=== removed file 'debian/checkbox-sru.install'
78--- debian/checkbox-sru.install 2011-12-07 04:34:49 +0000
79+++ debian/checkbox-sru.install 1970-01-01 00:00:00 +0000
80@@ -1,2 +0,0 @@
81-usr/bin/checkbox-sru
82-usr/share/checkbox/examples/checkbox-sru.ini
83
84=== removed file 'debian/checkbox-sru.links'
85--- debian/checkbox-sru.links 2011-12-07 04:34:49 +0000
86+++ debian/checkbox-sru.links 1970-01-01 00:00:00 +0000
87@@ -1,1 +0,0 @@
88-usr/share/man/man1/checkbox.1.gz usr/share/man/man1/checkbox-sru.1.gz
89
90=== removed file 'debian/checkbox-sru.postinst'
91--- debian/checkbox-sru.postinst 2011-12-07 04:34:49 +0000
92+++ debian/checkbox-sru.postinst 1970-01-01 00:00:00 +0000
93@@ -1,7 +0,0 @@
94-#! /bin/sh -e
95-
96-base_package="checkbox"
97-. /usr/share/debconf/confmodule
98-. /usr/share/checkbox/install/postinst
99-
100-#DEBHELPER#
101
102=== modified file 'debian/control'
103--- debian/control 2012-02-01 14:47:34 +0000
104+++ debian/control 2012-02-07 21:29:18 +0000
105@@ -46,12 +46,3 @@
106 results can then be sent to Launchpad.
107 .
108 This package provides a GTK interface for answering tests.
109-
110-Package: checkbox-sru
111-Architecture: all
112-Depends: checkbox (>= ${source:Version}), ${misc:Depends}
113-Description: SRU interface for checkbox
114- This project provides an extensible interface for system testing. The
115- results can then be sent to Launchpad.
116- .
117- This package provides a non-interactive interface for SRU testing.
118
119=== modified file 'debian/rules'
120--- debian/rules 2012-02-01 14:47:34 +0000
121+++ debian/rules 2012-02-07 21:29:18 +0000
122@@ -7,7 +7,6 @@
123 cp debian/checkbox.postrm debian/checkbox-cli.postrm
124 cp debian/checkbox.postrm debian/checkbox-urwid.postrm
125 cp debian/checkbox.postrm debian/checkbox-gtk.postrm
126- cp debian/checkbox.postrm debian/checkbox-sru.postrm
127 dh_installdeb
128
129 override_dh_installdocs:
130@@ -15,11 +14,10 @@
131 dh_installdocs -pcheckbox-cli ./README
132 dh_installdocs -pcheckbox-urwid ./README
133 dh_installdocs -pcheckbox-gtk ./README
134- dh_installdocs -pcheckbox-sru ./README
135 dh_installdocs
136
137 override_dh_clean:
138 -find . -name \*.mo -exec rm {} \;
139- -rm -f debian/checkbox-cli.postrm debian/checkbox-urwid.postrm debian/checkbox-gtk.postrm debian/checkbox-sru.postrm
140+ -rm -f debian/checkbox-cli.postrm debian/checkbox-urwid.postrm debian/checkbox-gtk.postrm
141 debconf-updatepo
142 dh_clean
143
144=== removed file 'examples/checkbox-sru.ini'
145--- examples/checkbox-sru.ini 2011-12-07 04:34:49 +0000
146+++ examples/checkbox-sru.ini 1970-01-01 00:00:00 +0000
147@@ -1,5 +0,0 @@
148-[DEFAULT]
149-
150-# Space separated list of files to include as a dependency for the
151-# SRU interface.
152-includes = %(checkbox_share)s/configs/checkbox.ini
153
154=== removed file 'jobs/sru.txt.in'
155--- jobs/sru.txt.in 2011-12-07 04:34:49 +0000
156+++ jobs/sru.txt.in 1970-01-01 00:00:00 +0000
157@@ -1,4 +0,0 @@
158-name: __sru__
159-plugin: remote
160-_description: SRU tests.
161-command: sru_suspend
162
163=== removed file 'scripts/sru_suspend'
164--- scripts/sru_suspend 2011-12-12 14:43:55 +0000
165+++ scripts/sru_suspend 1970-01-01 00:00:00 +0000
166@@ -1,33 +0,0 @@
167-#!/bin/bash
168-#
169-# Simplistic test to determine whether the system successfully resumed
170-# from suspend and thawed from hibernate.
171-
172-if zgrep -q '/usr/lib/pm-utils/sleep.d/000kernel-change resume suspend: success.' /var/log/pm-suspend.log*; then
173- suspend_status="pass"
174-else
175- suspend_status="untested"
176-fi
177-
178-if zgrep -q '/usr/lib/pm-utils/sleep.d/000kernel-change thaw hibernate: success.' /var/log/pm-suspend.log*; then
179- hibernate_status="pass"
180-else
181- hibernate_status="untested"
182-fi
183-
184-cat <<EOF
185-plugin: shell
186-name: sru/suspend_success
187-status: $suspend_status
188-description:
189- Check that /var/log/pm-suspend.log contains the string:
190- resume suspend: success.
191-
192-plugin: shell
193-name: sru/hibernate_success
194-status: $hibernate_status
195-description:
196- Check that /var/log/pm-suspend.log contains the string:
197- thaw hibernate: success.
198-
199-EOF
200
201=== modified file 'setup.py'
202--- setup.py 2012-01-25 13:55:09 +0000
203+++ setup.py 2012-02-07 21:29:18 +0000
204@@ -230,8 +230,7 @@
205 ("share/checkbox/gtk/", ["gtk/checkbox-gtk.ui", "gtk/*.png"]),
206 ("share/apport/package-hooks/", ["apport/source_checkbox.py"]),
207 ("share/apport/general-hooks/", ["apport/checkbox.py"])],
208- scripts = ["bin/checkbox-cli", "bin/checkbox-gtk", "bin/checkbox-sru",
209- "bin/checkbox-urwid"],
210+ scripts = ["bin/checkbox-cli", "bin/checkbox-gtk", "bin/checkbox-urwid"],
211 packages = ["checkbox", "checkbox.contrib", "checkbox.lib", "checkbox.parsers",
212 "checkbox.reports", "checkbox_cli", "checkbox_gtk", "checkbox_urwid"],
213 package_data = {

Subscribers

People subscribed via source and target branches