Package: devscripts
Version: 2.18.6
Severity: important

Some packages that I maintain (e.g. nautilus-admin) fail to check for
updates with version 2.18.6, but I suspect they would have also done for
version 2.18.5. See attached debug.log.

The bug is not present in version 2.18.4, but I can get my watch file to
work with version 2.18.6 if I specify a valid user agent on the command
line. Whereas version 2.18.4 has a default user agent of
"Debian uscan 2.18.4", version 2.18.6 doesn't seem to have a default
value set.

Was there a specific reason for this change? If not, please restore the
line:

    my $user_agent_string = 'Debian uscan ###VERSION###';

that was lost in git commit ada88a748e6070fa7f862378c7095401eb5082a2.

Thank you.
uscan info: The directory to store downloaded files($destdir): ..
uscan info: uscan (version 2.18.6) See uscan(1) for help
uscan info: Scan watch files in .
uscan debug: Found ./debian
uscan debug: Found ./.git/refs/tags/debian
uscan info: Check debian/watch and debian/changelog in .
uscan info: package="nautilus-admin" version="1.1.7-1" (as seen in 
debian/changelog)
uscan info: package="nautilus-admin" version="1.1.7" (no epoch/revision)
uscan info: Check debian/watch and debian/changelog in ./.git/refs/tags
uscan info: ./debian/changelog sets package="nautilus-admin" version="1.1.7"
uscan info: Found upstream signing keyring: debian/upstream/signing-key.asc
uscan info: Process watch file at: debian/watch
    package = nautilus-admin
    version = 1.1.7
    pkg_dir = .
uscan info: Set passive mode: default
uscan debug: parse line 
opts="pagemangle=s%\"tarball_url\"[^\"]+\"[^\"]+/v[-_]?(\d[\-+\.:\~\da-zA-Z]*)\"%<a
 
href=\"https://github.com/brunonova/nautilus-admin/releases/download/v$1/nautilus-admin_$1.tar.xz\";>v$1</a>%g,
 pgpsigurlmangle=s%$%.asc%" 
https://api.github.com/repos/brunonova/nautilus-admin/tags 
(?:.*)/nautilus-admin[-_]?(\d[\-+\.:\~\da-zA-Z]*)(?i)\.(?:tar\.xz|tar\.bz2|tar\.gz|zip|tgz|tbz|txz)
 debian uupdate
uscan info: opts: 
pagemangle=s%\"tarball_url\"[^\"]+\"[^\"]+/v[-_]?(\d[\-+\.:\~\da-zA-Z]*)\"%<a 
href=\"https://github.com/brunonova/nautilus-admin/releases/download/v$1/nautilus-admin_$1.tar.xz\";>v$1</a>%g,
 pgpsigurlmangle=s%$%.asc%
uscan info: line: https://api.github.com/repos/brunonova/nautilus-admin/tags 
(?:.*)/nautilus-admin[-_]?(\d[\-+\.:\~\da-zA-Z]*)(?i)\.(?:tar\.xz|tar\.bz2|tar\.gz|zip|tgz|tbz|txz)
 debian uupdate
uscan info: Parsing 
pagemangle=s%\"tarball_url\"[^\"]+\"[^\"]+/v[-_]?(\d[\-+\.:\~\da-zA-Z]*)\"%<a 
href=\"https://github.com/brunonova/nautilus-admin/releases/download/v$1/nautilus-admin_$1.tar.xz\";>v$1</a>%g
uscan info: Parsing  pgpsigurlmangle=s%$%.asc%
uscan info: line: https://api.github.com/repos/brunonova/nautilus-admin/tags 
(?:.*)/nautilus-admin[-_]?(\d[\-+\.:\~\da-zA-Z]*)(?i)\.(?:tar\.xz|tar\.bz2|tar\.gz|zip|tgz|tbz|txz)
 debian uupdate
uscan debug: $self->{'pgpmode'}=mangle, $self->{'pgpsigurlmangle'}=s%$%.asc%
uscan info: Last orig.tar.* tarball version (from debian/changelog): 1.1.7
uscan info: Last orig.tar.* tarball version (dversionmangled): 1.1.7
uscan debug: watch file has:
    $base        = https://api.github.com/repos/brunonova/nautilus-admin/tags
    $filepattern = 
(?:.*)/nautilus-admin[-_]?(\d[\-+\.:\~\da-zA-Z]*)(?i)\.(?:tar\.xz|tar\.bz2|tar\.gz|zip|tgz|tbz|txz)
    $lastversion = 1.1.7
    $action      = uupdate
    mode         = http
    pgpmode      = mangle
    versionmode  = newer
    $site        = https://api.github.com
    $basedir     = /repos/brunonova/nautilus-admin/tags
uscan debug: line: search()
uscan info: Requesting URL:
   https://api.github.com/repos/brunonova/nautilus-admin/tags
uscan warn: In watchfile debian/watch, reading webpage
  https://api.github.com/repos/brunonova/nautilus-admin/tags failed: 403 
Forbidden [Devscripts::Uscan::http: 27]
uscan info: Scan finished

Reply via email to