When I upload my package contextfree to mentors.debian.net, in the QA
information I get this:
A watch file is present but doesn't work
-- Scanning for watchfiles in .
-- Found watchfile in ./debian
-- Scan finished

My watch file looks like this:
version=4
options="pgpsigurlmangle=s%$%.asc%,dversionmangle=s/\+dfsg[0-9]*//,repacksuffix=+dfsg1"
\
  https://www.contextfreeart.org/downloads.html \
  download/ContextFreeSource([\d\.]+)\.tar\.xz debian

When I run uscan on my system it works just fine. When I bumped the
upstream version, uscan determined that local was stale, downloaded the new
source version, downloaded and verified the gpg signature, and repackaged a
new orig.tar.xz file. Subsequent runs of uscan determine that local was
up-to-date but downloaded and verifies the gpg signature anyway.

What check does mentors do that my watch file is failing?

-- john

~/contextfree-3.0.11.4+dfsg1$ uscan -v
uscan info: uscan (version 2.16.2ubuntu3) See uscan(1) for help
uscan info: Scan watch files in .
uscan info: Check debian/watch and debian/changelog in .
uscan info: package="contextfree" version="3.0.11.4+dfsg1-1" (as seen in
debian/changelog)
uscan info: package="contextfree" version="3.0.11.4+dfsg1" (no
epoch/revision)
uscan info: ./debian/changelog sets package="contextfree"
version="3.0.11.4+dfsg1"
uscan info: Process ./debian/watch (package=contextfree
version=3.0.11.4+dfsg1)
uscan info: Found upstream signing keyring: debian/upstream/signing-key.asc
uscan info: opts:
pgpsigurlmangle=s%$%.asc%,dversionmangle=s/\+dfsg[0-9]*//,repacksuffix=+dfsg1
uscan info: line: https://www.contextfreeart.org/downloads.html
download/ContextFreeSource([\d\.]+)\.tar\.xz debian
uscan info: Parsing pgpsigurlmangle=s%$%.asc%
uscan info: Parsing dversionmangle=s/\+dfsg[0-9]*//
uscan info: Parsing repacksuffix=+dfsg1
uscan info: line: https://www.contextfreeart.org/downloads.html
download/ContextFreeSource([\d\.]+)\.tar\.xz debian
uscan info: Last orig.tar.* tarball version (from debian/changelog):
3.0.11.4+dfsg1
uscan info: Last orig.tar.* tarball version (dversionmangled): 3.0.11.4
uscan info: Requesting URL:
   https://www.contextfreeart.org/downloads.html
uscan info: Matching pattern:
   (?:(?:https://www.contextfreeart.org
)?\/downloads\.html)?download/ContextFreeSource([\d\.]+)\.tar\.xz
uscan info: Found the following matching hrefs on the web page (newest
first):
   download/ContextFreeSource3.0.11.4.tar.xz (3.0.11.4) index=3.0.11.4-4
uscan info: Matching target for downloadurlmangle:
https://www.contextfreeart.org/download/ContextFreeSource3.0.11.4.tar.xz
uscan info: Upstream URL (downloadurlmangled):
   https://www.contextfreeart.org/download/ContextFreeSource3.0.11.4.tar.xz
uscan info: Newest upstream tarball version selected for download
(uversionmangled): 3.0.11.4
uscan info: Download filename (filenamemangled):
ContextFreeSource3.0.11.4.tar.xz
uscan: Newest version of contextfree on remote site is 3.0.11.4, local
version is 3.0.11.4+dfsg1
 (mangled local version is 3.0.11.4)
uscan info:    => Package is up to date for from

https://www.contextfreeart.org/download/ContextFreeSource3.0.11.4.tar.xz
uscan info: Not downloading, using existing file:
ContextFreeSource3.0.11.4.tar.xz
uscan info: Downloading OpenPGP signature from

https://www.contextfreeart.org/download/ContextFreeSource3.0.11.4.tar.xz.asc
(pgpsigurlmangled)
   as ContextFreeSource3.0.11.4.tar.xz.pgp
uscan info: Requesting URL:

https://www.contextfreeart.org/download/ContextFreeSource3.0.11.4.tar.xz.asc
uscan info: Verifying OpenPGP signature
ContextFreeSource3.0.11.4.tar.xz.pgp for ContextFreeSource3.0.11.4.tar.xz
gpgv: Signature made Tue 27 Jun 2017 07:25:54 PM PDT using RSA key ID
F25D802B
gpgv: Good signature from "John Horigan <j...@glyphic.com>"
uscan info: New orig.tar.* tarball version (oversionmangled): 3.0.11.4
uscan info: Executing internal command:
   mk-origtargz --package contextfree --version 3.0.11.4 --repack-suffix
+dfsg1 --compression gzip --directory .. --copyright-file debian/copyright
../ContextFreeSource3.0.11.4.tar.xz
uscan info: New orig.tar.* tarball version (after mk-origtargz):
3.0.11.4+dfsg1
uscan info: Successfully repacked ../ContextFreeSource3.0.11.4.tar.xz as
../contextfree_3.0.11.4+dfsg1.orig.tar.xz, deleting 701 files from it.
uscan info: Scan finished
~/contextfree-3.0.11.4+dfsg1$ echo $?
1
~/contextfree-3.0.11.4+dfsg1$

Reply via email to