[resending again, seems that previous messages did not reach the BTS] On Sat, Sep 13, 2025 at 02:01:18PM +0800, Yangfl wrote: > Package: devscripts > Version: 2.25.19 > Severity: minor > > Dear maintainer, > > This watch file does not work: > > Version: 5 > Template: Github > Owner: micropython > Project: micropython > Matching-Pattern: > https://api.github.com/repos/[^/]+/[^/]+/git/refs/tags/v?(\d[\d.]*)(?=") > > Output: > uscan info: Found the following matching files on the web page (newest > first): > https://api.github.com/repos/micropython/micropython/git/refs/tags/v1.0 > () index=-0 > https://api.github.com/repos/micropython/micropython/git/refs/tags/v1.0.1 > () index=-0 > ... > > However, look ahead negative does work: > Matching-Pattern: > https://api.github.com/repos/[^/]+/[^/]+/git/refs/tags/v?(\d[\d.]*)(?!") > > Output: > uscan info: Found the following matching files on the web page (newest > first): > https://api.github.com/repos/micropython/micropython/git/refs/tags/v1.27.0 > (1.27.0) index=1.27.0-0 > https://api.github.com/repos/micropython/micropython/git/refs/tags/v1.26.0 > (1.26.0) index=1.26.0-0 > ...
Hi, Note that both ways will not work, although for different reasons, Matching-Pattern: https://api.github.com/repos/[^/]+/[^/]+/git/refs/tags/v?(\d[\d.]*)(?!") ... uscan warn: In directory ., downloading https://api.github.com/repos/micropython/micropython/tarball/refs/tags/v1.29.0 failed: 404 Not Found uscan info: Failed to download upstream package: v1.29.0 May be using 'Release-Only' helps to get what you want, see Version: 5 Template: Github Owner: micropython Project: micropython Release-Only: yes Hope this helps, -- Agustin

