[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Denoiser: help fro watch file wanted



Hi Andreas,

On 02/26/2011 09:47 PM, Andreas Tille wrote:
> On Sat, Feb 26, 2011 at 12:22:19AM +0100, Dario Minnucci wrote:
>> This is working for me...
>>
>> version=3
>> opts=dversionmangle=s/([0-9])\.([0-9])\.([0-9])\.([0-9])/$1\.$2$3$4/g \
>>    http://www.microbio.me/denoiser/Denoiser_([.0-9]+)\.tgz \
>>    debian debian/get-orig-source
> 
> I agree that this might work for the current latest version, but is
> this save for versions like 0.9 and 0.91?
>  

I think remote version numbers like 0.9 or 0.91 are smaller than current 0.851
Which versions numbers are expected from upstream?

$ uscan --report-status
Processing watchfile line for package denoiser...
Newest version on remote site is 0.851, local version is 0.8.5.1
 (mangled local version number 0.851)
 => Package is up to date


A problem will apperars if you get a remote version like 0.8513, the last '3' is not handled by
dversionmangle.


Regards,


PS: You can drop the 'g' from the first RE I've posted.


-- 
 Dario Minnucci <midget@debian.org>
 Phone: +34 902021030 | Fax: +34 902024417
 Key fingerprint = BAA1 7AAF B21D 6567 D457  D67D A82F BB83 F3D5 7033


Attachment: signature.asc
Description: OpenPGP digital signature


Reply to: