Am Tue, Sep 23, 2025 at 08:13:47PM +0200 schrieb Niels Thykier:
> > $ cat debian/watch
> > Version: 5
> > Source: http://festvox.org/packed/festival/
> > Matching-Pattern: @ANY_VERSION@/voices/festvox_kallpc16k@ARCHIVE_EXT@
> 
> The v5 has a header stanza followed by one or more "fetching" stanzas
> (either `Template` or `Source`). The example you gave only have one stanza
> meaning nothing will be fetched.

I should probably respect this but never noticed any difference.
 
> Note:
> 
>  1) `uscan` allows arbitrary fields in the header stanzas as default for
>     following stanzas, but it will not trigger a fetch for the header
>     stanza.
> 
>  2) manpages.debian.org renders all the examples incorrectly (omitting
>     the stanza separating line). This is a known old but unfixed bug in
>     the man page render (I think `adoc`, but I forgot again).
> 
> So try adding an extra newline after `Version: 5` and see if that fixes it.

I did so:

$ cat debian/watch
Version: 5
 
Source: http://festvox.org/packed/festival/
Matching-Pattern: @ANY_VERSION@/voices/festvox_kallpc16k@ARCHIVE_EXT@


... and it fails as well:


$ uscan --verbose --report
uscan info: Scan watch files in .
uscan info: Check debian/watch and debian/changelog in .
uscan info: package="festvox-kallpc16k" version="2.4-2" (as seen in 
debian/changelog)
uscan info: package="festvox-kallpc16k" version="2.4" (no epoch/revision)
uscan info: ./debian/changelog sets package="festvox-kallpc16k" version="2.4"
uscan info: Process watch file at: debian/watch
    package = festvox-kallpc16k
    version = 2.4
    pkg_dir = .
uscan info: Last orig.tar.* tarball version (from debian/changelog): 2.4
uscan info: Last orig.tar.* tarball version (dversionmangled): 2.4
uscan info: Requesting URL:
   http://festvox.org/packed/festival/
uscan info: Matching pattern:
   
(?:(?:http://festvox.org)?\/packed\/festival\/)?(?:[-_]?[Vv]?(\d[\-+\.:\~\da-zA-Z]*))/voices/festvox_kallpc16k(?i)(?:\.(?:tar\.xz|tar\.bz2|tar\.gz|tar\.zstd?|zip|tgz|tbz|txz))
uscan warn: In debian/watch no matching files for watch source
  http://festvox.org/packed/festival/
uscan info: Scan finished


Thank you for the hint as well - I should be more carefully with the format.

Kind regards
   Andreas.


-- 
https://fam-tille.de

Reply via email to