Hi, New user of debian/watch and I cannot see why it reports failure in a qa.debian.org but I cannot reproduce it.
In: https://qa.debian.org/cgi-bin/watch?pkg=python-ping3 It says: ----------------- status: error warnings: In debian/watch no matching files for watch line https://github.com/kyan001/ping3/tags https://github.com/kyan001/ping3/archive/refs/tags/(?:[-_]?(\d[\-+\.:\~\da-zA-Z]*))(?i)(?:\.(?:tar\.xz|tar\.bz2|tar\.gz|tar\.zstd?|zip|tgz|tbz|txz)) ----------------- but when I try locally: ----------------- carles@pinux:[debian/unstable]~/git/debian/python-ping3$ cat debian/watch version=4 https://github.com/kyan001/ping3/tags \ https://github.com/kyan001/ping3/archive/refs/tags/@ANY_VERSION@@ARCHIVE_EXT@ ----------------- No output: ----------------- carles@pinux:[debian/unstable]~/git/debian/python-ping3$ uscan ----------------- Or: ----------------- carles@pinux:[debian/unstable]~/git/debian/python-ping3$ uscan -v uscan info: uscan (version 2.23.4) See uscan(1) for help uscan info: Scan watch files in . uscan info: Check debian/watch and debian/changelog in . uscan info: package="python-ping3" version="4.0.4-1" (as seen in debian/changelog) uscan info: package="python-ping3" version="4.0.4" (no epoch/revision) uscan info: ./debian/changelog sets package="python-ping3" version="4.0.4" uscan info: Process watch file at: debian/watch package = python-ping3 version = 4.0.4 pkg_dir = . uscan info: Last orig.tar.* tarball version (from debian/changelog): 4.0.4 uscan info: Last orig.tar.* tarball version (dversionmangled): 4.0.4 uscan info: Requesting URL: https://github.com/kyan001/ping3/tags uscan info: Matching pattern: (?:(?:https://github.com)?\/kyan001\/ping3\/)?https://github.com/kyan001/ping3/archive/refs/tags/(?:[-_]?v?(\d[\-+\.:\~\da-zA-Z]*))(?i)(?:\.(?:tar\.xz|tar\.bz2|tar\.gz|tar\.zstd?|zip|tgz|tbz|txz)) uscan info: Found the following matching hrefs on the web page (newest first): https://github.com/kyan001/ping3/archive/refs/tags/v4.0.4.tar.gz (4.0.4) index=4.0.4-1 https://github.com/kyan001/ping3/archive/refs/tags/v4.0.4.zip (4.0.4) index=4.0.4-0 https://github.com/kyan001/ping3/archive/refs/tags/v4.0.0.tar.gz (4.0.0) index=4.0.0-1 https://github.com/kyan001/ping3/archive/refs/tags/v4.0.0.zip (4.0.0) index=4.0.0-0 [... more ...] uscan info: Looking at $base = https://github.com/kyan001/ping3/tags with $filepattern = https://github.com/kyan001/ping3/archive/refs/tags/(?:[-_]?v?(\d[\-+\.:\~\da-zA-Z]*))(?i)(?:\.(?:tar\.xz|tar\.bz2|tar\.gz|tar\.zstd?|zip|tgz|tbz|txz)) found $newfile = https://github.com/kyan001/ping3/archive/refs/tags/v4.0.4.tar.gz $newversion = 4.0.4 $lastversion = 4.0.4 uscan info: Matching target for downloadurlmangle: https://github.com/kyan001/ping3/archive/refs/tags/v4.0.4.tar.gz uscan info: Upstream URL(+tag) to download is identified as https://github.com/kyan001/ping3/archive/refs/tags/v4.0.4.tar.gz uscan info: Filename (filenamemangled) for downloaded file: v4.0.4.tar.gz uscan info: Newest version of python-ping3 on remote site is 4.0.4, local version is 4.0.4 uscan info: => Package is up to date from: => https://github.com/kyan001/ping3/archive/refs/tags/v4.0.4.tar.gz uscan info: Scan finished ----------------- Fun (or ironically) enough, I spent quite lot of time to avoid the "mangle" that some examples had (to avoid a lintian tag, I think), and I tried to use the API - JSON from GitHub (with problems) until I ended up using the "Tags". I'm interested in...: -Why does it work in my system and not in https://qa.debian.org/cgi-bin/watch?pkg=python-ping3 -How to fix it? :-) Thank you very much! -- Carles Pina i Estany https://carles.pina.cat
signature.asc
Description: PGP signature