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

Re: php-fpdf - watch and epoch trouble



Hi Alessandro,

I think you could change you  watch file like that :
version=3
opts=dversionmangle=s/\.dfsg$// \
http://www.fpdf.org/en/download.php dl.php\?v=([0-9])([0-9])([0-9])?\&f=tgz

I tested with local version 1.6.0 and not 1.6 !

Regards,
Nicolas

2010/8/17 Alessandro De Zorzi <lota@nonlontano.it>
Hi all,
I maintain php-fpdf from few days, download available trough web page:

http://www.fpdf.org/?lang=en

upstream relased 1.6 (should be 1.60) version after 1.53 so my changelog use epoch,
package is also a
dfsg

my debian/watch

version=3
opts=dversionmangle=s/\.dfsg$// \
http://www.fpdf.org/en/download.php dl.php\?v=([0-9])([0-9]*[0-9])\&amp;f=tgz

$   uscan --report-status --debug

uscan debug: matching pattern(s) (?:(?:http://www.fpdf.org)?\/en\/download\.php)?dl.php\?v=([0-9])([0-9]*[0-9])\&amp;f=tgz
-- Found the following matching hrefs:
     dl.php?v=16&amp;f=tgz
     dl.php?v=153&amp;f=tgz
     dl.php?v=152&amp;f=tgz
     dl.php?v=151&amp;f=tgz
     dl.php?v=15&amp;f=tgz
     dl.php?v=141&amp;f=tgz
     dl.php?v=14&amp;f=tgz
     dl.php?v=131&amp;f=tgz
     dl.php?v=13&amp;f=tgz
Newest version on remote site is 1.53, local version is 1.6.dfsg
 (mangled local version number 1.6)
 => Newer version available from
    http://www.fpdf.org/en/dl.php?v=153&f=tgz
-- Scan finished

the problem is that uscan believes that 1.53 newer than 1.6

TIA
Alessandro (lota)



Attachment: signature.asc
Description: OpenPGP digital signature


Reply to: