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 (community) 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
=== modified file 'debian/control'
--- debian/control 2013-09-09 14:51:49 +0000
+++ debian/control 2013-09-19 19:22:50 +0000
@@ -58,7 +58,10 @@
5858
59Package: plainbox59Package: plainbox
60Architecture: all60Architecture: all
61Depends: checkbox, python3-plainbox, ${misc:Depends}, ${python3:Depends}61Depends: checkbox,
62 python3-plainbox (>= 0.3+bzr2359),
63 ${misc:Depends},
64 ${python3:Depends}
62Description: Simple replacement for CheckBox65Description: Simple replacement for CheckBox
63 PlainBox is a hardware testing tool useful for certifying laptops, desktops66 PlainBox is a hardware testing tool useful for certifying laptops, desktops
64 and servers with Ubuntu. It is a replacement for the current certification67 and servers with Ubuntu. It is a replacement for the current certification
@@ -73,7 +76,7 @@
7376
74Package: plainbox-service77Package: plainbox-service
75Architecture: all78Architecture: all
76Depends: plainbox, python3-gi, python3-dbus 79Depends: plainbox (>= 0.3+bzr2359), python3-gi, python3-dbus
77Description: File(s) needed for auto-starting PlainBox D-Bus service on demand.80Description: File(s) needed for auto-starting PlainBox D-Bus service on demand.
7881
79Package: plainbox-autostart-desktop82Package: plainbox-autostart-desktop

Subscribers

People subscribed via source and target branches