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

Mysterious uscan problem



uscan is doing something very strange with version numbers and I don't understand what's going on.

Is it obvious to anyone else how to make this work?

The package is mbedtls. Which is on github.

The existing version was only looking for LTS v2.28.x but that's out
of date, so I changed it to look for v?@ANY_VERSION@, following current
pattern on https://wiki.debian.org/debian/watch#GitHub

However, whilst it now finds the current v3.5.0 it insists that the
version number is 3.5.0.3.5.0
So it downloads mbedtls-3.5.0.tar.gz but symlinks it as mbedtls_3.5.0.3.5.0.orig.tar.gz
and then proceeds to put 3.5.0.3.5.0 for the version everywhere, which is clearly wrong.

This is my watch file:
version=4
opts="searchmode=plain, \
  filenamemangle=s%v?@ANY_VERSION@%mbedtls-$1\.tar\.gz%, \
  pgpmode=none" \
https://api.github.com/repos/Mbed-TLS/mbedtls/tags \
https://api.github.com/repos/Mbed-TLS/mbedtls/tarball/refs/tags/v(@ANY_VERSION@) debian uupdate

which is based on
https://wiki.debian.org/debian/watch#GitHub (but using tags)

below is the uscan --debug log:

but I think the important bit is:
scan info: Requesting URL:
   https://api.github.com/repos/Mbed-TLS/mbedtls/tags
uscan info: Found the following matching hrefs on the web page (newest first):
   https://api.github.com/repos/Mbed-TLS/mbedtls/tarball/refs/tags/v3.5.0 (3.5.0.3.5.0) index=3.5.0.3.5.0-0

That bit in brackets is where it all seems to go wrong. The correct url is pulled out of the page but somehow the version is ascribed incorrectly. What exactly _is_ that number in brackets and how is it derived?

Anyone got any insight into this? I've been messing with uscan for many years and this is the first time I've not been able to work out what's going on.

$ uscan --debug
uscan info: uscan (version 2.23.4) See uscan(1) for help
uscan info: Scan watch files in .
uscan debug: Found ./mbedtls-3.1.0/debian
uscan debug: Found ./mbedtls-2.16.9-patches/debian
uscan debug: Found ./mbedtls-2.16.6/debian
uscan debug: Found ./mbedtls-2.28.0.uploaded2/debian
uscan debug: Found ./mbedtls-2.16.9/debian
uscan debug: Found ./mbedtls-2.16.5/debian
uscan debug: Found ./mbedtls-2.28.0.uploaded/debian
uscan debug: Found ./mbedtls-2.28.0/debian
uscan info: Check debian/watch and debian/changelog in ./mbedtls-3.1.0
uscan info: package="mbedtls" version="3.1.0-1" (as seen in debian/changelog)
uscan info: package="mbedtls" version="3.1.0" (no epoch/revision)
uscan info: Check debian/watch and debian/changelog in ./mbedtls-2.16.9-patches
uscan info: package="mbedtls" version="2.16.9-0.1" (as seen in debian/changelog)
uscan info: package="mbedtls" version="2.16.9" (no epoch/revision)
uscan info: Check debian/watch and debian/changelog in ./mbedtls-2.16.6
uscan info: Check debian/watch and debian/changelog in ./mbedtls-2.28.0.uploaded2
uscan info: package="mbedtls" version="2.28.0-1" (as seen in debian/changelog)
uscan info: package="mbedtls" version="2.28.0" (no epoch/revision)
uscan info: Check debian/watch and debian/changelog in ./mbedtls-2.16.9
uscan info: package="mbedtls" version="2.16.9-0.1" (as seen in debian/changelog)
uscan info: package="mbedtls" version="2.16.9" (no epoch/revision)
uscan info: Check debian/watch and debian/changelog in ./mbedtls-2.16.5
uscan info: package="mbedtls" version="2.16.5-1" (as seen in debian/changelog)
uscan info: package="mbedtls" version="2.16.5" (no epoch/revision)
uscan info: Check debian/watch and debian/changelog in ./mbedtls-2.28.0.uploaded
uscan info: package="mbedtls" version="2.28.0-0.2" (as seen in debian/changelog)
uscan info: package="mbedtls" version="2.28.0" (no epoch/revision)
uscan info: Check debian/watch and debian/changelog in ./mbedtls-2.28.0
uscan info: package="mbedtls" version="2.28.0-1" (as seen in debian/changelog)
uscan info: package="mbedtls" version="2.28.0" (no epoch/revision)
uscan info: ./mbedtls-3.1.0/debian/changelog sets package="mbedtls" version="3.1.0"
uscan info: ./mbedtls-2.28.0.uploaded2/debian/changelog sets package="mbedtls" version="2.28.0"
uscan info: ./mbedtls-2.28.0/debian/changelog sets package="mbedtls" version="2.28.0"
uscan info: ./mbedtls-2.28.0.uploaded/debian/changelog sets package="mbedtls" version="2.28.0"
uscan info: ./mbedtls-2.16.9-patches/debian/changelog sets package="mbedtls" version="2.16.9"
uscan info: ./mbedtls-2.16.9/debian/changelog sets package="mbedtls" version="2.16.9"
uscan info: ./mbedtls-2.16.5/debian/changelog sets package="mbedtls" version="2.16.5"
uscan info: Process watch file at: debian/watch
    package = mbedtls
    version = 3.1.0
    pkg_dir = ./mbedtls-3.1.0
uscan debug: parse line opts="searchmode=plain, filenamemangle=s%v?(?:[-_]?v?(\d[\-+\.:\~\da-zA-Z]*))%mbedtls-$1\.tar\.gz%, pgpmode=none" https://api.github.com/repos/Mbed-TLS/mbedtls/tags https://api.github.com/repos/Mbed-TLS/mbedtls/tarball/refs/tags/v((?:[-_]?v?(\d[\-+\.:\~\da-zA-Z]*))) debian uupdate
uscan info: opts: searchmode=plain, filenamemangle=s%v?(?:[-_]?v?(\d[\-+\.:\~\da-zA-Z]*))%mbedtls-$1\.tar\.gz%, pgpmode=none
uscan info: line: https://api.github.com/repos/Mbed-TLS/mbedtls/tags https://api.github.com/repos/Mbed-TLS/mbedtls/tarball/refs/tags/v((?:[-_]?v?(\d[\-+\.:\~\da-zA-Z]*))) debian uupdate
uscan info: Parsing searchmode=plain
uscan info: Parsing  filenamemangle=s%v?(?:[-_]?v?(\d[\-+\.:\~\da-zA-Z]*))%mbedtls-$1\.tar\.gz%
uscan info: Parsing  pgpmode=none
uscan info: line: https://api.github.com/repos/Mbed-TLS/mbedtls/tags https://api.github.com/repos/Mbed-TLS/mbedtls/tarball/refs/tags/v((?:[-_]?v?(\d[\-+\.:\~\da-zA-Z]*))) debian uupdate
uscan debug: $self->{'pgpmode'}=none, $self->{'pgpsigurlmangle'}=undef
uscan info: Last orig.tar.* tarball version (from debian/changelog): 3.1.0
uscan info: Last orig.tar.* tarball version (dversionmangled): 3.1.0
uscan debug: watch file has:
    $base        = https://api.github.com/repos/Mbed-TLS/mbedtls/tags
    $filepattern = https://api.github.com/repos/Mbed-TLS/mbedtls/tarball/refs/tags/v((?:[-_]?v?(\d[\-+\.:\~\da-zA-Z]*)))
    $lastversion = 3.1.0
    $action      = uupdate
    mode         = http
    pgpmode      = none
    versionmode  = newer
    $site        = https://api.github.com
    $basedir     = /repos/Mbed-TLS/mbedtls/
uscan debug: line: search()
uscan info: Requesting URL:
   https://api.github.com/repos/Mbed-TLS/mbedtls/tags
uscan info: Found the following matching hrefs on the web page (newest first):
   https://api.github.com/repos/Mbed-TLS/mbedtls/tarball/refs/tags/v3.5.0 (3.5.0.3.5.0) index=3.5.0.3.5.0-0 
   https://api.github.com/repos/Mbed-TLS/mbedtls/tarball/refs/tags/v3.4.1 (3.4.1.3.4.1) index=3.4.1.3.4.1-0 
   https://api.github.com/repos/Mbed-TLS/mbedtls/tarball/refs/tags/v3.4.0 (3.4.0.3.4.0) index=3.4.0.3.4.0-0 
   https://api.github.com/repos/Mbed-TLS/mbedtls/tarball/refs/tags/v3.3.0 (3.3.0.3.3.0) index=3.3.0.3.3.0-0 
   https://api.github.com/repos/Mbed-TLS/mbedtls/tarball/refs/tags/v3.2.1 (3.2.1.3.2.1) index=3.2.1.3.2.1-0 
   https://api.github.com/repos/Mbed-TLS/mbedtls/tarball/refs/tags/v3.2.0 (3.2.0.3.2.0) index=3.2.0.3.2.0-0 
   https://api.github.com/repos/Mbed-TLS/mbedtls/tarball/refs/tags/v3.1.0 (3.1.0.3.1.0) index=3.1.0.3.1.0-0 
   https://api.github.com/repos/Mbed-TLS/mbedtls/tarball/refs/tags/v3.0.0 (3.0.0.3.0.0) index=3.0.0.3.0.0-0 
   https://api.github.com/repos/Mbed-TLS/mbedtls/tarball/refs/tags/v2.28.5 (2.28.5.2.28.5) index=2.28.5.2.28.5-0 
   https://api.github.com/repos/Mbed-TLS/mbedtls/tarball/refs/tags/v2.28.4 (2.28.4.2.28.4) index=2.28.4.2.28.4-0 
   https://api.github.com/repos/Mbed-TLS/mbedtls/tarball/refs/tags/v2.28.3 (2.28.3.2.28.3) index=2.28.3.2.28.3-0 
   https://api.github.com/repos/Mbed-TLS/mbedtls/tarball/refs/tags/v2.28.2 (2.28.2.2.28.2) index=2.28.2.2.28.2-0 
   https://api.github.com/repos/Mbed-TLS/mbedtls/tarball/refs/tags/v2.28.1 (2.28.1.2.28.1) index=2.28.1.2.28.1-0 
   https://api.github.com/repos/Mbed-TLS/mbedtls/tarball/refs/tags/v2.28.0 (2.28.0.2.28.0) index=2.28.0.2.28.0-0 
   https://api.github.com/repos/Mbed-TLS/mbedtls/tarball/refs/tags/v2.27.0 (2.27.0.2.27.0) index=2.27.0.2.27.0-0 
   https://api.github.com/repos/Mbed-TLS/mbedtls/tarball/refs/tags/v2.26.0 (2.26.0.2.26.0) index=2.26.0.2.26.0-0 
   https://api.github.com/repos/Mbed-TLS/mbedtls/tarball/refs/tags/v2.25.0 (2.25.0.2.25.0) index=2.25.0.2.25.0-0 
   https://api.github.com/repos/Mbed-TLS/mbedtls/tarball/refs/tags/v2.24.0 (2.24.0.2.24.0) index=2.24.0.2.24.0-0 
   https://api.github.com/repos/Mbed-TLS/mbedtls/tarball/refs/tags/v2.23.0 (2.23.0.2.23.0) index=2.23.0.2.23.0-0 
   https://api.github.com/repos/Mbed-TLS/mbedtls/tarball/refs/tags/v2.16.12 (2.16.12.2.16.12) index=2.16.12.2.16.12-0 
   https://api.github.com/repos/Mbed-TLS/mbedtls/tarball/refs/tags/v2.16.11 (2.16.11.2.16.11) index=2.16.11.2.16.11-0 
   https://api.github.com/repos/Mbed-TLS/mbedtls/tarball/refs/tags/v2.16.10 (2.16.10.2.16.10) index=2.16.10.2.16.10-0 
   https://api.github.com/repos/Mbed-TLS/mbedtls/tarball/refs/tags/v2.16.9 (2.16.9.2.16.9) index=2.16.9.2.16.9-0 
   https://api.github.com/repos/Mbed-TLS/mbedtls/tarball/refs/tags/v2.16.8 (2.16.8.2.16.8) index=2.16.8.2.16.8-0 
uscan info: Looking at $base = https://api.github.com/repos/Mbed-TLS/mbedtls/tags with
    $filepattern = https://api.github.com/repos/Mbed-TLS/mbedtls/tarball/refs/tags/v((?:[-_]?v?(\d[\-+\.:\~\da-zA-Z]*))) found
    $newfile     = https://api.github.com/repos/Mbed-TLS/mbedtls/tarball/refs/tags/v3.5.0
    $newversion  = 3.5.0.3.5.0
    $lastversion = 3.1.0
uscan debug: line: get_upstream_url()
uscan info: Matching target for downloadurlmangle: https://api.github.com/repos/Mbed-TLS/mbedtls/tarball/refs/tags/v3.5.0
uscan info: Upstream URL(+tag) to download is identified as    https://api.github.com/repos/Mbed-TLS/mbedtls/tarball/refs/tags/v3.5.0
uscan debug: line: get_newfile_base()
uscan info: Matching target for filenamemangle: https://api.github.com/repos/Mbed-TLS/mbedtls/tarball/refs/tags/v3.5.0
uscan debug: safe_replace input="https://api.github.com/repos/Mbed-TLS/mbedtls/tarball/refs/tags/v3.5.0";
uscan debug: safe_replace with regexp="v?(?:[-_]?v?(\d[\-+\.:\~\da-zA-Z]*))", replacement="mbedtls-$1\.tar\.gz", and flags=""
uscan debug: After filenamemangle: https://api.github.com/repos/Mbed-TLS/mbedtls/tarball/refs/tags/mbedtls-3.5.0.tar.gz
uscan info: Filename (filenamemangled) for downloaded file: mbedtls-3.5.0.tar.gz
uscan debug: line: cmp_versions()
Newest version of mbedtls on remote site is 3.5.0.3.5.0, local version is 3.1.0
 => Newer package available from:
        => https://api.github.com/repos/Mbed-TLS/mbedtls/tarball/refs/tags/v3.5.0
uscan debug: line: download_file_and_sig()
uscan info: Not downloading, using existing file: mbedtls-3.5.0.tar.gz
uscan info: Missing OpenPGP signature.
uscan info: New orig.tar.* tarball version (oversionmangled): 3.5.0.3.5.0
uscan debug: line: mkorigtargz()
uscan info: Launch mk-origtargz with options:
   --package mbedtls --version 3.5.0.3.5.0 --compression default --directory .. --copyright-file debian/copyright ../mbedtls-3.5.0.tar.gz
Successfully symlinked ../mbedtls-3.5.0.tar.gz to ../mbedtls_3.5.0.3.5.0.orig.tar.gz.
uscan info: New orig.tar.* tarball version (after mk-origtargz): 3.5.0.3.5.0
uupdate: PACKAGE     = "mbedtls" is in the top of debian/changelog
uupdate: VERSION     = "3.1.0-1" is in the top of debian/changelog
uupdate: EPOCH       = "" is epoch part of $VERSION
uupdate: SVERSION    = "3.1.0-1" is w/o-epoch part of $VERSION
uupdate: UVERSION    = "3.1.0" the upstream portion w/o-epoch of $VERSION
uupdate: -> Copy to      mbedtls_3.5.0.3.5.0-1.debian.tar.xz
uscan info: Executing user specified script:
   uupdate -f --verbose --upstream-version 3.5.0.3.5.0
uupdate: Old: <epoch:><version>-<revision> = 3.1.0-1
uupdate: Old: <epoch:>                     = 
uupdate: Old:         <version>-<revision> = 3.1.0-1
uupdate: Old:         <version>            = 3.1.0
uupdate: New:         <version>            = 3.5.0.3.5.0
dpkg-source: info: extracting mbedtls in mbedtls-3.5.0.3.5.0
dpkg-source: info: unpacking mbedtls_3.5.0.3.5.0.orig.tar.gz
dpkg-source: info: unpacking mbedtls_3.5.0.3.5.0-1.debian.tar.xz
uupdate: Remember: Your current directory is changed back to the old source tree!
uupdate: Do a "cd ../mbedtls-3.5.0.3.5.0" to see the new source tree and
    edit it to be nice Debianized source.
uscan info: Process watch file at: debian/watch
    package = mbedtls
    version = 2.28.0
    pkg_dir = ./mbedtls-2.28.0.uploaded2
uscan debug: parse line opts="searchmode=plain, filenamemangle=s/.*v(?:[-_]?v?(\d[\-+\.:\~\da-zA-Z]*))/mbedtls-$1\.tar\.gz/, pgpmode=none" https://api.github.com/repos/ARMmbed/mbedtls/tags https://api.github.com/repos/ARMmbed/mbedtls/tarball/refs/tags/v(2\.28\.(?:[-_]?v?(\d[\-+\.:\~\da-zA-Z]*))) debian uupdate
uscan info: opts: searchmode=plain, filenamemangle=s/.*v(?:[-_]?v?(\d[\-+\.:\~\da-zA-Z]*))/mbedtls-$1\.tar\.gz/, pgpmode=none
uscan info: line: https://api.github.com/repos/ARMmbed/mbedtls/tags https://api.github.com/repos/ARMmbed/mbedtls/tarball/refs/tags/v(2\.28\.(?:[-_]?v?(\d[\-+\.:\~\da-zA-Z]*))) debian uupdate
uscan info: Parsing searchmode=plain
uscan info: Parsing  filenamemangle=s/.*v(?:[-_]?v?(\d[\-+\.:\~\da-zA-Z]*))/mbedtls-$1\.tar\.gz/
uscan info: Parsing  pgpmode=none
uscan info: line: https://api.github.com/repos/ARMmbed/mbedtls/tags https://api.github.com/repos/ARMmbed/mbedtls/tarball/refs/tags/v(2\.28\.(?:[-_]?v?(\d[\-+\.:\~\da-zA-Z]*))) debian uupdate
uscan debug: $self->{'pgpmode'}=none, $self->{'pgpsigurlmangle'}=undef
uscan info: Last orig.tar.* tarball version (from debian/changelog): 2.28.0
uscan info: Last orig.tar.* tarball version (dversionmangled): 2.28.0
uscan debug: watch file has:
    $base        = https://api.github.com/repos/ARMmbed/mbedtls/tags
    $filepattern = https://api.github.com/repos/ARMmbed/mbedtls/tarball/refs/tags/v(2\.28\.(?:[-_]?v?(\d[\-+\.:\~\da-zA-Z]*)))
    $lastversion = 2.28.0
    $action      = uupdate
    mode         = http
    pgpmode      = none
    versionmode  = newer
    $site        = https://api.github.com
    $basedir     = /repos/ARMmbed/mbedtls/
uscan debug: line: search()
uscan info: Requesting URL:
   https://api.github.com/repos/ARMmbed/mbedtls/tags
uscan info: redirections: https://api.github.com/repositories/6687936/tags
uscan warn: In debian/watch no matching files for watch line
  https://api.github.com/repos/ARMmbed/mbedtls/tags https://api.github.com/repos/ARMmbed/mbedtls/tarball/refs/tags/v(2\.28\.(?:[-_]?v?(\d[\-+\.:\~\da-zA-Z]*))) debian uupdate [Devscripts::Uscan::http: 135]
uscan info: Process watch file at: debian/watch
    package = mbedtls
    version = 2.28.0
    pkg_dir = ./mbedtls-2.28.0
uscan debug: parse line opts="searchmode=plain, filenamemangle=s/.*v(?:[-_]?v?(\d[\-+\.:\~\da-zA-Z]*))/mbedtls-$1\.tar\.gz/, pgpmode=none" https://api.github.com/repos/ARMmbed/mbedtls/tags https://api.github.com/repos/ARMmbed/mbedtls/tarball/refs/tags/v(2\.28\.(?:[-_]?v?(\d[\-+\.:\~\da-zA-Z]*))) debian uupdate
uscan info: opts: searchmode=plain, filenamemangle=s/.*v(?:[-_]?v?(\d[\-+\.:\~\da-zA-Z]*))/mbedtls-$1\.tar\.gz/, pgpmode=none
uscan info: line: https://api.github.com/repos/ARMmbed/mbedtls/tags https://api.github.com/repos/ARMmbed/mbedtls/tarball/refs/tags/v(2\.28\.(?:[-_]?v?(\d[\-+\.:\~\da-zA-Z]*))) debian uupdate
uscan info: Parsing searchmode=plain
uscan info: Parsing  filenamemangle=s/.*v(?:[-_]?v?(\d[\-+\.:\~\da-zA-Z]*))/mbedtls-$1\.tar\.gz/
uscan info: Parsing  pgpmode=none
uscan info: line: https://api.github.com/repos/ARMmbed/mbedtls/tags https://api.github.com/repos/ARMmbed/mbedtls/tarball/refs/tags/v(2\.28\.(?:[-_]?v?(\d[\-+\.:\~\da-zA-Z]*))) debian uupdate
uscan debug: $self->{'pgpmode'}=none, $self->{'pgpsigurlmangle'}=undef
uscan info: Last orig.tar.* tarball version (from debian/changelog): 2.28.0
uscan info: Last orig.tar.* tarball version (dversionmangled): 2.28.0
uscan debug: watch file has:
    $base        = https://api.github.com/repos/ARMmbed/mbedtls/tags
    $filepattern = https://api.github.com/repos/ARMmbed/mbedtls/tarball/refs/tags/v(2\.28\.(?:[-_]?v?(\d[\-+\.:\~\da-zA-Z]*)))
    $lastversion = 2.28.0
    $action      = uupdate
    mode         = http
    pgpmode      = none
    versionmode  = newer
    $site        = https://api.github.com
    $basedir     = /repos/ARMmbed/mbedtls/
uscan debug: line: search()
uscan info: Requesting URL:
   https://api.github.com/repos/ARMmbed/mbedtls/tags
uscan info: redirections: https://api.github.com/repositories/6687936/tags
uscan warn: In debian/watch no matching files for watch line
  https://api.github.com/repos/ARMmbed/mbedtls/tags https://api.github.com/repos/ARMmbed/mbedtls/tarball/refs/tags/v(2\.28\.(?:[-_]?v?(\d[\-+\.:\~\da-zA-Z]*))) debian uupdate [Devscripts::Uscan::http: 135]
uscan info: Process watch file at: debian/watch
    package = mbedtls
    version = 2.28.0
    pkg_dir = ./mbedtls-2.28.0.uploaded
uscan debug: parse line opts="searchmode=plain, filenamemangle=s/.*v(?:[-_]?v?(\d[\-+\.:\~\da-zA-Z]*))/mbedtls-$1\.tar\.gz/, pgpmode=none" https://api.github.com/repos/ARMmbed/mbedtls/tags https://api.github.com/repos/ARMmbed/mbedtls/tarball/refs/tags/v2.28.(?:[-_]?v?(\d[\-+\.:\~\da-zA-Z]*)) debian uupdate
uscan info: opts: searchmode=plain, filenamemangle=s/.*v(?:[-_]?v?(\d[\-+\.:\~\da-zA-Z]*))/mbedtls-$1\.tar\.gz/, pgpmode=none
uscan info: line: https://api.github.com/repos/ARMmbed/mbedtls/tags https://api.github.com/repos/ARMmbed/mbedtls/tarball/refs/tags/v2.28.(?:[-_]?v?(\d[\-+\.:\~\da-zA-Z]*)) debian uupdate
uscan info: Parsing searchmode=plain
uscan info: Parsing  filenamemangle=s/.*v(?:[-_]?v?(\d[\-+\.:\~\da-zA-Z]*))/mbedtls-$1\.tar\.gz/
uscan info: Parsing  pgpmode=none
uscan info: line: https://api.github.com/repos/ARMmbed/mbedtls/tags https://api.github.com/repos/ARMmbed/mbedtls/tarball/refs/tags/v2.28.(?:[-_]?v?(\d[\-+\.:\~\da-zA-Z]*)) debian uupdate
uscan debug: $self->{'pgpmode'}=none, $self->{'pgpsigurlmangle'}=undef
uscan info: Last orig.tar.* tarball version (from debian/changelog): 2.28.0
uscan info: Last orig.tar.* tarball version (dversionmangled): 2.28.0
uscan debug: watch file has:
    $base        = https://api.github.com/repos/ARMmbed/mbedtls/tags
    $filepattern = https://api.github.com/repos/ARMmbed/mbedtls/tarball/refs/tags/v2.28.(?:[-_]?v?(\d[\-+\.:\~\da-zA-Z]*))
    $lastversion = 2.28.0
    $action      = uupdate
    mode         = http
    pgpmode      = none
    versionmode  = newer
    $site        = https://api.github.com
    $basedir     = /repos/ARMmbed/mbedtls/
uscan debug: line: search()
uscan info: Requesting URL:
   https://api.github.com/repos/ARMmbed/mbedtls/tags
uscan info: redirections: https://api.github.com/repositories/6687936/tags
uscan warn: In debian/watch no matching files for watch line
  https://api.github.com/repos/ARMmbed/mbedtls/tags https://api.github.com/repos/ARMmbed/mbedtls/tarball/refs/tags/v2.28.(?:[-_]?v?(\d[\-+\.:\~\da-zA-Z]*)) debian uupdate [Devscripts::Uscan::http: 135]
uscan info: Process watch file at: debian/watch
    package = mbedtls
    version = 2.16.9
    pkg_dir = ./mbedtls-2.16.9-patches
uscan debug: parse line opts=filenamemangle=s/.+\/v?(\d\S+)\.tar\.gz/mbedtls-$1\.tar\.gz/ https://github.com/ARMmbed/mbedtls/tags .*/v?(\d\S+)\.tar\.gz debian uupdate
uscan info: opts: filenamemangle=s/.+\/v?(\d\S+)\.tar\.gz/mbedtls-$1\.tar\.gz/
uscan info: line: https://github.com/ARMmbed/mbedtls/tags .*/v?(\d\S+)\.tar\.gz debian uupdate
uscan info: Parsing filenamemangle=s/.+\/v?(\d\S+)\.tar\.gz/mbedtls-$1\.tar\.gz/
uscan info: line: https://github.com/ARMmbed/mbedtls/tags .*/v?(\d\S+)\.tar\.gz debian uupdate
uscan debug: $self->{'pgpmode'}=default, $self->{'pgpsigurlmangle'}=undef
uscan info: Last orig.tar.* tarball version (from debian/changelog): 2.16.9
uscan info: Last orig.tar.* tarball version (dversionmangled): 2.16.9
uscan debug: watch file has:
    $base        = https://github.com/ARMmbed/mbedtls/tags
    $filepattern = .*/v?(\d\S+)\.tar\.gz
    $lastversion = 2.16.9
    $action      = uupdate
    mode         = http
    pgpmode      = default
    versionmode  = newer
    $site        = https://github.com
    $basedir     = /ARMmbed/mbedtls/
uscan debug: line: search()
uscan info: Requesting URL:
   https://github.com/ARMmbed/mbedtls/tags
uscan info: redirections: https://github.com/Mbed-TLS/mbedtls/tags
uscan info: Matching pattern:
   (?:(?:https://github.com)?\/ARMmbed\/mbedtls\/)?.*/v?(\d\S+)\.tar\.gz https\:\/\/github\.com\/Mbed\-TLS\/mbedtls\/.*/v?(\d\S+)\.tar\.gz
uscan debug: Resolving urls with query part unimplemented
uscan info: Found the following matching hrefs on the web page (newest first):
   https://github.com/Mbed-TLS/mbedtls/archive/refs/tags/v3.5.0.tar.gz (3.5.0) index=3.5.0-1 
   https://github.com/Mbed-TLS/mbedtls/archive/refs/tags/v3.5.0.tar.gz (3.5.0) index=3.5.0-1 
   https://github.com/Mbed-TLS/mbedtls/archive/refs/tags/v3.5.0.tar.gz (3.5.0) index=3.5.0-1 
   https://github.com/Mbed-TLS/mbedtls/archive/refs/tags/v3.4.1.tar.gz (3.4.1) index=3.4.1-1 
   https://github.com/Mbed-TLS/mbedtls/archive/refs/tags/v3.4.1.tar.gz (3.4.1) index=3.4.1-1 
   https://github.com/Mbed-TLS/mbedtls/archive/refs/tags/v3.4.1.tar.gz (3.4.1) index=3.4.1-1 
   https://github.com/Mbed-TLS/mbedtls/archive/refs/tags/v3.4.0.tar.gz (3.4.0) index=3.4.0-1 
   https://github.com/Mbed-TLS/mbedtls/archive/refs/tags/v3.4.0.tar.gz (3.4.0) index=3.4.0-1 
   https://github.com/Mbed-TLS/mbedtls/archive/refs/tags/v3.4.0.tar.gz (3.4.0) index=3.4.0-1 
   https://github.com/Mbed-TLS/mbedtls/archive/refs/tags/v2.28.5.tar.gz (2.28.5) index=2.28.5-1 
   https://github.com/Mbed-TLS/mbedtls/archive/refs/tags/v2.28.5.tar.gz (2.28.5) index=2.28.5-1 
   https://github.com/Mbed-TLS/mbedtls/archive/refs/tags/v2.28.5.tar.gz (2.28.5) index=2.28.5-1 
   https://github.com/Mbed-TLS/mbedtls/archive/refs/tags/v2.28.4.tar.gz (2.28.4) index=2.28.4-1 
   https://github.com/Mbed-TLS/mbedtls/archive/refs/tags/v2.28.4.tar.gz (2.28.4) index=2.28.4-1 
   https://github.com/Mbed-TLS/mbedtls/archive/refs/tags/v2.28.4.tar.gz (2.28.4) index=2.28.4-1 
   https://github.com/Mbed-TLS/mbedtls/archive/refs/tags/v2.28.3.tar.gz (2.28.3) index=2.28.3-1 
   https://github.com/Mbed-TLS/mbedtls/archive/refs/tags/v2.28.3.tar.gz (2.28.3) index=2.28.3-1 
   https://github.com/Mbed-TLS/mbedtls/archive/refs/tags/v2.28.3.tar.gz (2.28.3) index=2.28.3-1 
uscan info: Looking at $base = https://github.com/ARMmbed/mbedtls/tags with
    $filepattern = .*/v?(\d\S+)\.tar\.gz found
    $newfile     = https://github.com/Mbed-TLS/mbedtls/archive/refs/tags/v3.5.0.tar.gz
    $newversion  = 3.5.0
    $lastversion = 2.16.9
uscan debug: line: get_upstream_url()
uscan info: Matching target for downloadurlmangle: https://github.com/Mbed-TLS/mbedtls/archive/refs/tags/v3.5.0.tar.gz
uscan info: Upstream URL(+tag) to download is identified as    https://github.com/Mbed-TLS/mbedtls/archive/refs/tags/v3.5.0.tar.gz
uscan debug: line: get_newfile_base()
uscan info: Matching target for filenamemangle: https://github.com/Mbed-TLS/mbedtls/archive/refs/tags/v3.5.0.tar.gz
uscan debug: safe_replace input="https://github.com/Mbed-TLS/mbedtls/archive/refs/tags/v3.5.0.tar.gz";
uscan debug: safe_replace with regexp=".+\/v?(\d\S+)\.tar\.gz", replacement="mbedtls-$1\.tar\.gz", and flags=""
uscan debug: After filenamemangle: mbedtls-3.5.0.tar.gz
uscan info: Filename (filenamemangled) for downloaded file: mbedtls-3.5.0.tar.gz
uscan debug: line: cmp_versions()
Newest version of mbedtls on remote site is 3.5.0, local version is 2.16.9
 => Newer package available from:
        => https://github.com/Mbed-TLS/mbedtls/archive/refs/tags/v3.5.0.tar.gz
uscan debug: line: download_file_and_sig()
uscan die: Already downloaded a file named mbedtls-3.5.0.tar.gz: use filenamemangle to avoid this [Devscripts::Uscan::WatchLine: 1241] at /usr/share/perl5/Devscripts/Uscan/Output.pm line 77

TIA

Wookey
-- 
Principal hats:  Debian, Wookware, ARM
http://wookware.org/

Attachment: signature.asc
Description: PGP signature


Reply to: