Help with watch file -- pre-release upstream versions

2008-02-10 Thread Székelyi Szabolcs
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi mentors,

What's the usual way of handling "preX" upstream version numbers in
watch files? I'm having trouble because uscan considers 1.0pre3 newer
than 1.0.

Thanks,
- --
cc

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFHr6OsGJRwVVqzMkMRAkGJAJ9vz5f/dhC35Himh3yVF//w4PLXdQCdGSbo
mZRhO3+yq2PIqkwxA4iNWvQ=
=3dvl
-END PGP SIGNATURE-


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Help with watch file -- pre-release upstream versions

2008-02-10 Thread Leo "costela" Antunes
Hi,

Székelyi Szabolcs wrote:
> What's the usual way of handling "preX" upstream version numbers in
> watch files? I'm having trouble because uscan considers 1.0pre3 newer
> than 1.0.

Perhaps mangling the upstream version to use the tilde ("~") as a
separator? But I don't really know if uscan even recognizes it...

Cheers

-- 
Leo "costela" Antunes
[insert a witty retort here]



signature.asc
Description: OpenPGP digital signature


Re: Help with watch file -- pre-release upstream versions

2008-02-10 Thread Russ Allbery
Székelyi Szabolcs <[EMAIL PROTECTED]> writes:

> What's the usual way of handling "preX" upstream version numbers in
> watch files? I'm having trouble because uscan considers 1.0pre3 newer
> than 1.0.

opts=uversionmangle=s/pre/~pre/

-- 
Russ Allbery ([EMAIL PROTECTED])   



Re: Help with watch file -- pre-release upstream versions

2008-02-11 Thread Székelyi Szabolcs
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Leo "costela" Antunes wrote:
> Székelyi Szabolcs wrote:
>> What's the usual way of handling "preX" upstream version numbers in
>> watch files? I'm having trouble because uscan considers 1.0pre3 newer
>> than 1.0.
>
> Perhaps mangling the upstream version to use the tilde ("~") as a
> separator? But I don't really know if uscan even recognizes it...

Thanks to all, it works this way.

- --
cc


-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFHsL0XGJRwVVqzMkMRAq/jAJ9FhO+irUtptNuuepW4AxBrgeAD2gCdEOxq
zS0+5kZ1owexjkXz6qqAG/Q=
=QW7T
-END PGP SIGNATURE-


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Help with watch file -- pre-release upstream versions

2008-02-11 Thread Daniel Leidert
Am Montag, den 11.02.2008, 02:23 +0100 schrieb Székelyi Szabolcs:

> What's the usual way of handling "preX" upstream version numbers in
> watch files? I'm having trouble because uscan considers 1.0pre3 newer
> than 1.0.

IMO you have two options:

1) Ignore the pre-versions by a rule like

http://domain.tld/foobar-([\d.]+)\.tar\.gz

if you are not going to package pre-releases. This will exclude all
versions including a "pre" term after the version number.

2) Use a uversionsmnagle:

opts=uversinmangle=s/pre/~pre/ \
  http://domain.tld/foobar-(.+)\.tar\.gz

Regards, Daniel