pd-cyclone: versioning scheme?
Jonas Smedegaard
dr at jones.dk
Thu Apr 21 10:56:01 UTC 2011
On 11-04-21 at 11:10am, IOhannes m zmoelnig wrote:
> looking through potential problems of packages in my area of interest,
> i stumbled across pd-cyclone, which seems to have an incorrect
> debian/watch file: debian package is "0.1~alpha55-2" while uscan finds
> the upstream "0.1-alpha53-src" to be more recent..
>
> i added a versionmangler to get rid of the trailing "-src" part, but
> the real problem is of course the "-alpha".
>
> personally i would suggest to replace "-alpha" by "." (or ".alpha"),
> using a versionmangle clause.
> i'm wondering though, why the debian package version uses "~", which
> kind of clashes with the upstream version scheme, esp. as it is not
> taken care of in debian/watch.
I don't know who did this particular changelog, but what I often do is
treat alpha and beta releases as lower than the actual version number,
to leave room for the eventual(!) case of upstream deciding to not bump
the version number when dropping the alpha/beta flag (a.k.a. doing the
"final release").
In particular I would use something like this in the watch file:
opts=uversionmangle=s/\-(alpha|beta)/~$1/;s/\-src//
That should order version numbers properly, and could be easily extended
to handle -candidate or -rc if need be. Also leaves space for mangling
a ~dfsg using dversionmangle if need be.
- Jonas
--
* Jonas Smedegaard - idealist & Internet-arkitekt
* Tlf.: +45 40843136 Website: http://dr.jones.dk/
[x] quote me freely [ ] ask before reusing [ ] keep private
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-multimedia-maintainers/attachments/20110421/405e144f/attachment.pgp>
More information about the pkg-multimedia-maintainers
mailing list