split landscape's smart packages in a way similar to the packages in intrepid

Bug #297383 reported by Christopher Armstrong
6
Affects Status Importance Assigned to Milestone
Landscape Server
Won't Fix
Low
Christopher Armstrong

Bug Description

We need to split the smart packages released in our repository in the same way they were split in intrepid, to allow for future upgrades to be possible: there needs to be python-smartpm which owns all the library, and smartpm-core which contains the "public" executable.

Revision history for this message
Christopher Armstrong (radix) wrote :

Attached branch ready for review.

You may find it useful to use the 'autoppa-switch' command to test this, which is not yet in autoppa-trunk, but in lp:~radix/autoppa/autoppa-switch.

Changed in landscape:
status: New → In Progress
Revision history for this message
Andreas Hasenack (ahasenack) wrote :

It doesn't build on dapper:

(...)
dh_md5sums
dh_builddeb
dpkg-deb: parse error, in file `debian/smartpm/DEBIAN/control' near line 6 package `smartpm':
 `Depends' field, reference to `smartpm-core': error in version: version string is empty
dh_builddeb: command returned error code 512
make: *** [binary-arch] Error 1

Perhaps dapper doesn't support ${binary:Version}:
Depends: ${python:Depends}, ${shlibs:Depends}, smartpm-core (= ${binary:Version}), python-gtk2

Jamu Kakar (jkakar)
Changed in landscape:
importance: Undecided → Medium
Revision history for this message
Christopher Armstrong (radix) wrote :

Ok, I've made it so dapper still uses Source-Version; ScottK told me that dapper is the last version before the switch to binary:Version.

Changed in landscape:
milestone: none → mountainview-pre-3
Thomas Herve (therve)
Changed in landscape:
assignee: nobody → radix
Changed in landscape:
importance: Medium → Low
Changed in landscape:
milestone: mountainview-pre-3 → mountainview-pre-4
Changed in landscape:
milestone: mountainview-pre-4 → mountainview
Revision history for this message
Gustavo Niemeyer (niemeyer) wrote :

It looks cool, even though it feels that actual reviewing is much less effective than functional testing them. I've only gone as far as building the new packages for intrepid and having a look at the results. It would be good to try upgrading some old distribution to the new packages to see how it goes. +1!

Revision history for this message
Thomas Herve (therve) wrote :

I'll go on and give a +1 here. It seems to work fine. Just one comment:

[1] Can you regenerate the debian/control file with autoppa, for intrepid?

Thanks!

Changed in landscape:
milestone: mountainview → mountainview-pre-8
Changed in landscape:
milestone: mountainview-pre-8 → mountainview
Changed in landscape:
milestone: mountainview → clyde
Revision history for this message
Andreas Hasenack (ahasenack) wrote :

Free fixed this elsewhere.

Changed in landscape:
status: In Progress → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.