Opened 2 years ago

Last modified 2 years ago

#5958 defect new

Versioning scheme in PPA .deb packages does not allow distro upgrades

Reported by: radix Owned by:
Priority: normal Milestone:
Component: release management Keywords: ppa packaging
Cc: radix Branch:
Author: Launchpad Bug:

Description

We currently have packages following a version scheme like

<major>-1~ppa<N>~<ubuntuname><N>

Examples of this have been

twisted - 12.0.0-1~ppa2~lucid1

and

twisted - 12.0.0-1~ppa1~precise1

(Apparently we did a revision changing the packaging material in the lucid packages and bumped the ppa1 to ppa2).

radix@chell:~$ dpkg --compare-versions 12.0.0-1~ppa2~lucid1 gt 12.0.0-1~ppa1~precise1 && echo left is greater than right
left is greater than right

We should try to make sure that at any given point in time, if a user upgrades his distro (from / two versions that we build for), and re-enables the PPA, he should get the new distro's packages.

Change History (2)

comment:1 Changed 2 years ago by DefaultCC Plugin

  • Cc radix added

comment:2 Changed 2 years ago by radix

Maybe a better version scheme would be

<native version>-1~ppa<ubuntu version NUMBER>-<our packaging revision>

Like:

12.0.0-1~ppa10.04-2

and

12.0.0-1~ppa12.04-1

This would allow us to increment that last number for when we make changes to the packaging material while allowing us to upgrade nicely.

Note: See TracTickets for help on using tickets.