Re: Correcting a version number

2013-12-11 Thread Andreas Metzler
Daniel Lintott  wrote:
> On 10/12/13 19:21, Dominik George wrote:
>>> [2] http://qa.debian.org/cgi-bin/watch?pkg=vpcs_0.5b0-1

>> In that special case, I'd even say your versioning "mistake" is
>> good because upstream's ~ notation is a mess. That char is reserved
>> for Debian ;) (yes, that's false and not so humble ;))!
[...]
> The output from the above seems a little confusing (to me) as upstream
> don't use ~ which can be seen in the upstream-url, as well as on the
> upstream sf page [1]

> It's entirely possible that there is also a mistake in the watch
> file... which wouldn't help matters.

Hello,
The watchfile looks perfectly fine:

version=3
opts=uversionmangle=s/(\d)[_\.\-\+]?((RC|rc|pre|dev|BETA|beta|alpha|b|a)[\-\.]?\d*)$/$1~$2/
 \
http://qa.debian.org/watch/sf.php/vpcs/vpcs-(\d.*)-(?:src|source)\.(?:tgz|tbz|tbz2|txz|tar\.(?:gz|bz2|xz))

It looks at the upstream version, sees "0.5b0" and mangles it into a
version number that sorts properly in debian, "0.5~b0".

cu Andreas
-- 
`What a good friend you are to him, Dr. Maturin. His other friends are
so grateful to you.'
`I sew his ears on from time to time, sure'


-- 
To UNSUBSCRIBE, email to debian-mentors-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/lqnmna-tk3@argenau.downhill.at.eu.org



Re: Correcting a version number

2013-12-10 Thread Daniel Lintott
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 10/12/13 19:21, Dominik George wrote:
>> [2] http://qa.debian.org/cgi-bin/watch?pkg=vpcs_0.5b0-1
> 
> In that special case, I'd even say your versioning "mistake" is
> good because upstream's ~ notation is a mess. That char is reserved
> for Debian ;) (yes, that's false and not so humble ;))!
> 
> Why not keep your version numbering as it is and use version
> mangling in the watch file instead to match.upstream?
> 
> -nik
> 
> 

The output from the above seems a little confusing (to me) as upstream
don't use ~ which can be seen in the upstream-url, as well as on the
upstream sf page [1]

It's entirely possible that there is also a mistake in the watch
file... which wouldn't help matters.

Regards
 Daniel

[1] http://sourceforge.net/projects/vpcs/files/0.5/beta/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with undefined - http://www.enigmail.net/

iQEcBAEBAgAGBQJSp2sUAAoJEMw/9yOWzAkJxoEH/3PoECk57dURUGsFKj0wyWP9
ee4vhNqruYY+qWYYFssBBxM1khx0JyRb/m8L8qIBYKjSbuE8ycnCE6xDpseX7ZC/
kvDESKkjQC3qz9AVd+/FgKIScMMIlGI+31DRS/r2EsBhyIEQMywmooOMG0Cwt6So
wh85z6n8ySWZ/pUJAv0mOkzhi+avvX2gaiV55cLiV8HiDdpldQ1oXPpPtt+KmQ8v
Jg3TeLVKkHH9ZdbVXPqkozi7pql14C18judWEfO16hNWLMKFvi3Ge3IvdGxXWOyG
37gfSVD8PujpnQfMHE8KikKl3q7hXdqQsz6CQbmH5h6uValYMKfEgrePdXFdS/I=
=op0c
-END PGP SIGNATURE-


-- 
To UNSUBSCRIBE, email to debian-mentors-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/52a76b14.5090...@serverb.co.uk



Re: Correcting a version number

2013-12-10 Thread Dominik George
>[2] http://qa.debian.org/cgi-bin/watch?pkg=vpcs_0.5b0-1

In that special case, I'd even say your versioning "mistake" is good because 
upstream's ~ notation is a mess. That char is reserved for Debian ;) (yes, 
that's false and not so humble ;))!

Why not keep your version numbering as it is and use version mangling in the 
watch file instead to match.upstream?

-nik


-- 
To UNSUBSCRIBE, email to debian-mentors-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/f297d82e-184e-4ea3-83ef-d39ddd599...@email.android.com



Re: Correcting a version number

2013-12-10 Thread Daniel Lintott
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 10/12/13 18:59, Dominik George wrote:
> Hi,
> 
>> I have realised that in an earlier package upload, I made a
>> blunder with regards the version of the package.
> 
> 
> Where is that package now? On mentors, or in Debian?
> 
> -nik
> 
> 

The package is in Debian [1] and the watch file status [2]

[1] http://packages.debian.org/sid/vpcs
[2] http://qa.debian.org/cgi-bin/watch?pkg=vpcs_0.5b0-1

Regards

Daniel Lintott

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with undefined - http://www.enigmail.net/

iQEcBAEBAgAGBQJSp2i1AAoJEMw/9yOWzAkJIywH/jRYWhUHJ2/CkUiGOCZT+4HI
xI333jvqMHDYQUHEaic+Odhvt0MUmyZZ3xr1bUfIRlVTZuSsDCXqwwoDosxrWNDF
slyOAEWpVW3bhzmsZiq2EwvEtKFRpv12i1wgRTcmEp4TnETTkehnwP4OnE3T8Anm
gqLlsU/6xXnvyuL2yiuL/6HV+ZyBcKGPsgMgqtgTl1mGJ5Re1VIZdUl9g1WnbpIR
R7XXF7U1o3C+eaBGJOaM8fbnNcLtxU6fanTZJ0DX+z0suP8XhZi595Lno6st99im
UXnrO3fHxH0ncODFPJJ7KQl2sHxzaXHmvlpTwbcN8pt8LGmyE7NdUQR3YhQhkA4=
=JPFw
-END PGP SIGNATURE-


-- 
To UNSUBSCRIBE, email to debian-mentors-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/52a768b5.9070...@serverb.co.uk



Re: Correcting a version number

2013-12-10 Thread Dominik George
Hi,

>I have realised that in an earlier package upload, I made a blunder
>with regards the version of the package.


Where is that package now? On mentors, or in Debian?

-nik


-- 
To UNSUBSCRIBE, email to debian-mentors-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/5b5cf785-3895-4d4b-9ed2-66f07fe50...@email.android.com



Re: Correcting a version number

2013-12-10 Thread Andreas Metzler
Daniel Lintott  wrote:
[..]
> I have realised that in an earlier package upload, I made a blunder
> with regards the version of the package.

> The package was versioned as 0.5b0-1, though I somehow missed, despite
> testing the watch file that this should have been 0.5~b0-1.

> I have seen some discussion on correcting the version number, either
> by using an epoch or by adding an additional part to the version number.

> - From what I can see, the only way to fix the version number here is to
> use an epoch, but from what I've this should be avoided if possible,
> so does anyone have any other suggestion on how to correct this
> version number?
[...]

Hello,

I do not think there are any other reasonable[1] possibilities
available. You can either use an epoch (forever) or live with a ugly
version number for some time.

Personally I would use an ugly version number for the 0.5 release:

Upstream   Debian
0.5b0  0.5b0-1
0.5b1  0.5b1-1
...
0.5rc1 0.5rc1-1
...
0.50.5+rel-1
0.6b0  0.6~b1

(Please doublcheck the sorting with dpkg --compare-versions, I might
have made an error, too. ;-)

hth, cu Andreas

[1] renaming the package does not count.
-- 
`What a good friend you are to him, Dr. Maturin. His other friends are
so grateful to you.'
`I sew his ears on from time to time, sure'


-- 
To UNSUBSCRIBE, email to debian-mentors-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/rt3kna-hp4@argenau.downhill.at.eu.org



Correcting a version number

2013-12-10 Thread Daniel Lintott
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Dear mentors,

I have realised that in an earlier package upload, I made a blunder
with regards the version of the package.

The package was versioned as 0.5b0-1, though I somehow missed, despite
testing the watch file that this should have been 0.5~b0-1.

I have seen some discussion on correcting the version number, either
by using an epoch or by adding an additional part to the version number.

- From what I can see, the only way to fix the version number here is to
use an epoch, but from what I've this should be avoided if possible,
so does anyone have any other suggestion on how to correct this
version number?

Regards

Daniel Lintott
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with undefined - http://www.enigmail.net/

iQEcBAEBAgAGBQJSp1S6AAoJEMw/9yOWzAkJ5T0H/jq9Hnma75BsYIEPX+8AvuPa
0BA+pVS2rjeaE8xticH2HROAMSUNUPgf9rVELeIvZ8Kh1ZUMtmtrXhYq0wurUSMX
SasPhsNcb0tDu3oLBescufStkcInK732WXpGiIc6t0P3T+G77k5FEvQnrOqq6EX2
jafRnnm7SeZCmlIhzasyyBTRV+y0AhoJiBcG3w2znQF3npHtNmZSkqZ9Svfuq/RV
m5ttiXxwokR6DbcWdIhMzQSMQ+5KyrjXLdyXPW238tbITT3Up34iq5HOYgyKL5rr
xxa1suI9ebaxad79i3cUIEwNhlyZPxJHJ8Qyxgw3Uehg/8WQgJXIc2SGuu0SqEY=
=DzI8
-END PGP SIGNATURE-


-- 
To UNSUBSCRIBE, email to debian-mentors-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/52a754bb.8090...@serverb.co.uk