Package: devscripts Version: 2.25.22 Severity: normal X-Debbugs-Cc: [email protected]
Hey, I try to replace the watch 4 file for Nextcloud-desktop with a version 5 one. And this does not make the whole syntax better even more clumsy. The problem here is that I need to limit the tags to v(\d[\d.]+) as there are also v(\d[\d.]+)-rc.1 tags ( that should not match). my old one was: version=4 https://github.com/nextcloud/desktop/tags \ (?:.*?/)?v?(\d[\d.]*)\.tar\.gz The expected one actully is limiting the urls correctly: Version: 5 Template: GitHub Owner: nextcloud Project: desktop Matching-Pattern: https://api.github.com/repos/[^/]+/[^/]+/git/refs/tags/v(\d[\d\.]+)(?:") I need this (?:") at the end, as otherwise v6.0.0-rc.1 would still match, but the -rc.1 would be ignored silently and uscan would try to download v6.0.0. but with this uscan tries to download ( with a ending "): https://api.github.com/repos/nextcloud/desktop/tarball/refs/tags/v4.0.1" Sure I now can mangle the version afterwards too. What I'm missing, is that there is look ahaed support (?=") and/or by default a definded start/end for the Matching-Pattern. As this pattern is executed inside a json stream beginnig/ending " should be existing. Or that there is defined Version-Pattern entry to define how versions look like. It is still possible that I simpl< overseen a feature in uscan. Regards, hefee -- Package-specific info: --- /etc/devscripts.conf --- DEBCHANGE_RELEASE_HEURISTIC=changelog DEBCHANGE_MULTIMAINT_MERGE=yes DEBCHANGE_MAINTTRAILER=yes --- ~/.devscripts --- RMADISON_DEFAULT_URL=debian,ubuntu -- System Information: Debian Release: forky/sid APT prefers stable-updates APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'unstable'), (500, 'testing'), (500, 'stable'), (500, 'oldstable'), (100, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 6.16.12+deb14-amd64 (SMP w/8 CPU threads; PREEMPT) Kernel taint flags: TAINT_WARN Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE=en_US Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages devscripts depends on: ii dpkg-dev 1.22.21 ii file 1:5.46-5 ii gpg 2.4.8-4 ii gpg-agent 2.4.8-4 hc gpg-from-sq [gpg] 0.9.0-1 ii gpgv 2.4.8-4 hc gpgv-from-sq [gpgv] 0.9.0-1 ii libdpkg-perl 1.22.21 ii libfile-dirlist-perl 0.05-3 ii libfile-homedir-perl 1.006-2 ii libfile-touch-perl 0.12-2 ii libio-string-perl 1.08-4 ii libmoo-perl 2.005005-1 ii libwww-perl 6.81-1 ii patchutils 0.4.3-1 ii perl 5.40.1-6 ii python3 3.13.7-1 ii sensible-utils 0.0.26 ii sqop [sopv] 0.37.2-2 ii wdiff 1.2.2-9 Versions of packages devscripts recommends: ii apt 3.1.11 ii curl 8.17.0~rc3-1 ii dctrl-tools 2.24-3+b1 ii debian-keyring 2025.09.18 ii debian-tag2upload-keyring 1.1 ii dput-ng [dput] 1.44 ii equivs 2.3.2 ii git-debpush 13.17 ii libdistro-info-perl 1.14 ii libencode-locale-perl 1.05-3 ii libgitlab-api-v4-perl 0.27-1 ii libjson-perl 4.10000-1 ii liblwp-protocol-https-perl 6.14-1 ii libmetacpan-client-perl 2.033000-1 ii libsoap-lite-perl 1.27-3 ii libstring-shellquote-perl 1.04-3 ii liburi-perl 5.34-2 ii licensecheck 3.3.9-1 ii lintian 2.127.0 ii lzip 1.25-3 ii man-db 2.13.1-1 ii patch 2.8-2 ii pristine-tar 1.50+nmu2 ii python3-apt 3.0.0 ii python3-debian 1.0.1 ii python3-magic 2:0.4.27-3 ii python3-requests 2.32.5+dfsg-1 ii python3-unidiff 0.7.5-2 ii python3-xdg 0.28-2 ii strace 6.16+ds-2 ii unzip 6.0-29 ii wget 1.25.0-2 ii xz-utils 5.8.1-2 Versions of packages devscripts suggests: ii adequate 0.17.6+b1 ii at 3.2.5-2.2 ii autopkgtest 5.51 pn bls-standalone <none> ii bsd-mailx [mailx] 8.1.2-0.20220412cvs-1.1 ii build-essential 12.12 pn check-all-the-things <none> ii debhelper 13.28 ii diffoscope 307 pn disorderfs <none> ii docker.io 27.5.1+dfsg3-6 pn dose-extra <none> pn duck <none> pn elpa-devscripts <none> ii faketime 0.9.10+2024-06-05+gba9ed5b2-0.6 ii gnuplot 6.0.3+dfsg1-1 ii gnuplot-qt [gnuplot] 6.0.3+dfsg1-1 pn how-can-i-help <none> ii libauthen-sasl-perl 2.1900-1 ii libdbd-pg-perl 3.18.0-2 ii libgitlab-api-v4-perl 0.27-1 pn libterm-size-perl <none> ii libtimedate-perl 2.3300-2 ii libyaml-libyaml-perl 0.904.0+ds-1 ii mmdebstrap 1.5.7-3 ii mutt 2.2.13-1 ii openssh-client [ssh-client] 1:10.2p1-2 ii piuparts 1.6.0 ii postgresql-client-17 [postgresql-client] 17.6-1 ii postgresql-client-18 [postgresql-client] 18.0-1 pn pristine-lfs <none> ii python3-debianbts 4.1.1 ii python3-pycurl 7.45.7-2 ii quilt 0.68-1 pn ratt <none> pn reprotest <none> pn svn-buildpackage <none> ii w3m 0.5.3+git20230121-2.1 -- no debconf information

