Merge lp:~ubuntu-branches/ubuntu/precise/rfkill/precise-201201191635 into lp:ubuntu/precise/rfkill

Proposed by Ubuntu Package Importer
Status: Rejected
Rejected by: James Westby
Proposed branch: lp:~ubuntu-branches/ubuntu/precise/rfkill/precise-201201191635
Merge into: lp:ubuntu/precise/rfkill
Diff against target: 57 lines (+45/-0) (has conflicts)
2 files modified
debian/rfkill-restore.upstart (+24/-0)
debian/rfkill-store.upstart (+21/-0)
Conflict adding file debian/rfkill-restore.upstart.  Moved existing file to debian/rfkill-restore.upstart.moved.
Conflict adding file debian/rfkill-store.upstart.  Moved existing file to debian/rfkill-store.upstart.moved.
To merge this branch: bzr merge lp:~ubuntu-branches/ubuntu/precise/rfkill/precise-201201191635
Reviewer Review Type Date Requested Status
Ubuntu branches Pending
Review via email: mp+89288@code.launchpad.net

Description of the change

The package importer has detected a possible inconsistency between the package history in the archive and the history in bzr. As the archive is authoritative the importer has made lp:ubuntu/precise/rfkill reflect what is in the archive and the old bzr branch has been pushed to lp:~ubuntu-branches/ubuntu/precise/rfkill/precise-201201191635. This merge proposal was created so that an Ubuntu developer can review the situations and perform a merge/upload if necessary. There are three typical cases where this can happen.
  1. Where someone pushes a change to bzr and someone else uploads the package without that change. This is the reason that this check is done by the importer. If this appears to be the case then a merge/upload should be done if the changes that were in bzr are still desirable.
  2. The importer incorrectly detected the above situation when someone made a change in bzr and then uploaded it.
  3. The importer incorrectly detected the above situation when someone just uploaded a package and didn't touch bzr.

If this case doesn't appear to be the first situation then set the status of the merge proposal to "Rejected" and help avoid the problem in future by filing a bug at https://bugs.launchpad.net/udd linking to this merge proposal.

(this is an automatically generated message)

To post a comment you must log in.

Unmerged revisions

6. By Stéphane Graber

releasing version 0.4-1ubuntu1

5. By Stéphane Graber

Add upstart jobs to save/restore the rfkill soft state

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== added file 'debian/rfkill-restore.upstart'
2--- debian/rfkill-restore.upstart 1970-01-01 00:00:00 +0000
3+++ debian/rfkill-restore.upstart 2012-01-19 16:42:18 +0000
4@@ -0,0 +1,24 @@
5+# rfkill-restore - restore software RF kill switch state
6+
7+description "restore software rfkill state"
8+
9+start on local-filesystems
10+
11+task
12+
13+script
14+ if [ ! -f /var/lib/rfkill/saved-state ] ||
15+ [ ! -d /sys/class/rfkill ]; then
16+ exit 0
17+ fi
18+
19+ while read line; do
20+ set -- $line
21+
22+ for device in /sys/class/rfkill/*; do
23+ if [ "$(cat $device/name)" = "$1" ]; then
24+ echo $2 > $device/soft
25+ fi
26+ done
27+ done < /var/lib/rfkill/saved-state
28+end script
29
30=== renamed file 'debian/rfkill-restore.upstart' => 'debian/rfkill-restore.upstart.moved'
31=== added file 'debian/rfkill-store.upstart'
32--- debian/rfkill-store.upstart 1970-01-01 00:00:00 +0000
33+++ debian/rfkill-store.upstart 2012-01-19 16:42:18 +0000
34@@ -0,0 +1,21 @@
35+# rfkill-store - store software RF kill switch state
36+
37+description "store software rfkill state"
38+
39+start on runlevel [016]
40+
41+task
42+
43+script
44+ if [ ! -d /sys/class/rfkill ]; then
45+ exit 0
46+ fi
47+
48+ mkdir -p /var/lib/rfkill
49+ > /var/lib/rfkill/saved-state
50+
51+ for device in /sys/class/rfkill/*; do
52+ entry="$(cat $device/name) $(cat $device/soft)"
53+ echo $entry >> /var/lib/rfkill/saved-state
54+ done
55+end script
56
57=== renamed file 'debian/rfkill-store.upstart' => 'debian/rfkill-store.upstart.moved'

Subscribers

People subscribed via source and target branches

to all changes: