[Pkg-pascal-devel] Help needed with watch file

Paul Gevers elbrus at debian.org
Sun Oct 8 17:47:33 UTC 2017


Hi Abou,

Are you aware that sf.net paths aren't directly queried at sourceforge,
but go via a qa.debian.org handler?

This is what I get (I run buster, udd/pts use a backported package):

paul at testavoira ~/fpc $ uscan -v --no-download
<snip>
uscan info: Requesting URL:
   https://qa.debian.org/watch/sf.php/projects/freepascal/
uscan info: redirections:
https://downloads.sourceforge.net/projects/freepascal
https://sourceforge.net/downloads https://sourceforge.net/publish
https://sourceforge.net/publish/
<snip>
uscan warn: In debian/watch no matching files for watch line

With the old watch file:
paul at testavoira ~/fpc $ uscan -v --no-download
<snip>
uscan info: Requesting URL:
   https://qa.debian.org/watch/sf.php/freepascal/
uscan info: Matching pattern:

(?:(?:https://qa.debian.org)?\/watch\/sf\.php\/freepascal\/)?fpcbuild-(.*).tar.gz(?:\?.*)?
uscan info: Found the following matching hrefs on the web page (newest
first):
   /watch/sf.php/freepascal/fpcbuild-3.0.2.tar.gz (3.0.2) index=3.0.2-1
   /watch/sf.php/freepascal/fpcbuild-3.0.0.tar.gz (3.0.0) index=3.0.0-1
   /watch/sf.php/freepascal/fpcbuild-2.6.4.tar.gz (2.6.4) index=2.6.4-1
   /watch/sf.php/freepascal/fpcbuild-2.6.2.tar.gz (2.6.2) index=2.6.2-1
   /watch/sf.php/freepascal/fpcbuild-2.6.0.tar.gz (2.6.0) index=2.6.0-1
   /watch/sf.php/freepascal/fpcbuild-2.4.4.tar.gz (2.4.4) index=2.4.4-1
   /watch/sf.php/freepascal/fpcbuild-2.4.2.tar.gz (2.4.2) index=2.4.2-1
   /watch/sf.php/freepascal/fpcbuild-2.4.0.tar.gz (2.4.0) index=2.4.0-1
   /watch/sf.php/freepascal/fpcbuild-2.2.4.tar.gz (2.2.4) index=2.2.4-1
   /watch/sf.php/freepascal/fpcbuild-2.2.2.tar.gz (2.2.2) index=2.2.2-1
   /watch/sf.php/freepascal/fpcbuild-2.2.0.tar.gz (2.2.0) index=2.2.0-1
   /watch/sf.php/freepascal/fpcbuild-2.1.4.tar.gz (2.1.4) index=2.1.4-1
   /watch/sf.php/freepascal/fpcbuild-2.0.4.tar.gz (2.0.4) index=2.0.4-1
uscan info: Matching target for downloadurlmangle:
https://qa.debian.org/watch/sf.php/freepascal/fpcbuild-3.0.2.tar.gz
uscan info: Upstream URL (downloadurlmangled):
   https://qa.debian.org/watch/sf.php/freepascal/fpcbuild-3.0.2.tar.gz
uscan info: Newest upstream tarball version selected for download
(uversionmangled): 3.0.2
uscan info: Download filename (filenamemangled): fpcbuild-3.0.2.tar.gz
uscan info: Newest version of fpc on remote site is 3.0.2, local version
is 3.0.2+dfsg
 (mangled local version is 3.0.2)
uscan info:    => Package is up to date for from
      https://qa.debian.org/watch/sf.php/freepascal/fpcbuild-3.0.2.tar.gz

Paul

On 08-10-17 16:11, Abou Al Montacir wrote:
> Dear All,
> 
> Yesterday I've tried the "debian/rules get-orig-source" command and this
> resulted in uscan hanging du to incorrect SF path.
> I've checked on SF.net and figured out that http://sf.net/freepascal/
> shall be changed into http://sf.net/projects/freepascal/ in order for
> uscan to find the right folder.
> 
> I've "fixed" that and uploaded, but was surprised today by an error on
> the PTS <https://tracker.debian.org/pkg/fpc> about incorrect path in
> watch file.
> I've tried to search internet about if the version of uscan on sid
> changed from Strech but doesn't find any related information.
> 
> If anybody can help on this issue I'll be thankful.
> 
> -- 
> 
> Cheers,
> Abou Al Montacir
> 
> 
> 
> _______________________________________________
> Pkg-pascal-devel mailing list
> Pkg-pascal-devel at lists.alioth.debian.org
> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-pascal-devel
> 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-pascal-devel/attachments/20171008/1792bad4/attachment.sig>


More information about the Pkg-pascal-devel mailing list