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

Re: [Help] Scanning ftp directory with uscan does not seem to work (dcmtk)



Hello Andreas,

On Wed, Jan 14, 2009 at 10:58, Andreas Tille <tillea@rki.de> wrote:
> Hello,
>
> I noticed that the watch file for dcmtk
>
> version=3
> ftp://dicom.offis.de/pub/dicom/offis/software/dcmtk/dcmtk([\d\.]+)/dcmtk-(.*)\.tar.gz
>
> does not work properly.

No it does, add a --pasv option:

morph@zion:~/deb/tmp/dcmtk-3.5.4$ uscan --report --verbose --pasv
-- Scanning for watchfiles in .
parsechangelog/debian: warning:     debian/changelog(l1): found eof
where expected start of change data
Use of uninitialized value $v in pattern match (m//) at
/usr/share/perl5/Dpkg/Fields.pm line 229, <STDIN> line 1.
Use of uninitialized value $v in pattern match (m//) at
/usr/share/perl5/Dpkg/Fields.pm line 229, <STDIN> line 1.
-- Found watchfile in ./debian
-- In debian/watch, processing watchfile line:
   ftp://dicom.offis.de/pub/dicom/offis/software/dcmtk/dcmtk([\d\.]+)/dcmtk-(.*)\.tar.gz
-- Found the following matching files:
     dcmtk-3.5.4.tar.gz
Newest version on remote site is 3.5.4, local version is 3.5.4
 => Package is up to date
-- Scan finished

You can add that option to watch file too (check man uscan).

Regards,
-- 
Sandro Tosi (aka morph, morpheus, matrixhasu)
My website: http://matrixhasu.altervista.org/
Me at Debian: http://wiki.debian.org/SandroTosi


Reply to: