Merge lp:~roadmr/checkbox/122521-plainbox-packaging-min-version into lp:~checkbox-dev/checkbox/plainbox-packaging

Proposed by Daniel Manrique
Status: Merged
Approved by: Sylvain Pineau
Approved revision: 17
Merged at revision: 17
Proposed branch: lp:~roadmr/checkbox/122521-plainbox-packaging-min-version
Merge into: lp:~checkbox-dev/checkbox/plainbox-packaging
Diff against target: 24 lines (+5/-2)
1 file modified
debian/control (+5/-2)
To merge this branch: bzr merge lp:~roadmr/checkbox/122521-plainbox-packaging-min-version
Reviewer Review Type Date Requested Status
Sylvain Pineau Approve
Review via email: mp+186629@code.launchpad.net

Commit message

This has plainbox-service require minimum versions of python3-plainbox and plainbox.

This is to ensure that upgrades on systems which already had plainbox-*
packages bring those minimum versions, because they contain a critical fix.

plainbox-service is in turn depended on by driver-testing, so if https://code.launchpad.net/~roadmr/checkbox-ihv-ng/packaging-new-version-fix is merged, it will mean that installing driver-testing will also upgrade the chain of plainbox packages (plainbox-service -> plainbox -> python3-plainbox) to the minimum requested versions.

For the record, I'm somewhat unhappy with this solution as it will be a bit hard to maintain, but other than having driver-testing depend directly on plainbox and python3-plainbox, I couldn't think of anything better.

Description of the change

This has plainbox-service require minimum versions of python3-plainbox and plainbox.

This is to ensure that upgrades on systems which already had plainbox-*
packages bring those minimum versions, because they contain a critical fix.

plainbox-service is in turn depended on by driver-testing, so if https://code.launchpad.net/~roadmr/checkbox-ihv-ng/packaging-new-version-fix is merged, it will mean that installing driver-testing will also upgrade the chain of plainbox packages (plainbox-service -> plainbox -> python3-plainbox) to the minimum requested versions.

For the record, I'm somewhat unhappy with this solution as it will be a bit hard to maintain, but other than having driver-testing depend directly on plainbox and python3-plainbox, I couldn't think of anything better.

To post a comment you must log in.
Revision history for this message
Sylvain Pineau (sylvain-pineau) wrote :

I don't see a better alternative, too. Thanks, great work.

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'debian/control'
2--- debian/control 2013-09-09 14:51:49 +0000
3+++ debian/control 2013-09-19 19:22:50 +0000
4@@ -58,7 +58,10 @@
5
6 Package: plainbox
7 Architecture: all
8-Depends: checkbox, python3-plainbox, ${misc:Depends}, ${python3:Depends}
9+Depends: checkbox,
10+ python3-plainbox (>= 0.3+bzr2359),
11+ ${misc:Depends},
12+ ${python3:Depends}
13 Description: Simple replacement for CheckBox
14 PlainBox is a hardware testing tool useful for certifying laptops, desktops
15 and servers with Ubuntu. It is a replacement for the current certification
16@@ -73,7 +76,7 @@
17
18 Package: plainbox-service
19 Architecture: all
20-Depends: plainbox, python3-gi, python3-dbus
21+Depends: plainbox (>= 0.3+bzr2359), python3-gi, python3-dbus
22 Description: File(s) needed for auto-starting PlainBox D-Bus service on demand.
23
24 Package: plainbox-autostart-desktop

Subscribers

People subscribed via source and target branches