Package: devscripts
Version: 2.20.4
Severity: normal

Hello,

The litl watch file doesn't work:

uscan --report --verbose
[...]
uscan info: Requesting URL:
   http://fusionforge.int-evry.fr/frs/?group_id=36
uscan warn: In watchfile debian/watch, reading webpage
  http://fusionforge.int-evry.fr/frs/?group_id=36 failed: 406 Not Acceptable
uscan info: Scan finished

I digged a bit, and found that uscan sends:

GET /frs/?group_id=36 HTTP/1.1
TE: deflate,gzip;q=0.3
Connection: TE, close
Accept-Encoding: gzip
Host: fusionforge.int-evry.fr
User-Agent: Debian uscan

i.e. no Accept header, which that webserver considers as not accepting
anything... and thus returns

HTTP/1.1 406 Not Acceptable

uscan seems to need to send Accept: */* for the server to return
something.

Samuel

-- Package-specific info:

--- /etc/devscripts.conf ---
Empty.

--- ~/.devscripts ---
DEBSIGN_KEYID="0x0EF5C6DAAEE04BB2!"
DEBCHANGE_AUTO_NMU=no
DEBSIGN_PROGRAM="gpg --use-agent"

-- System Information:
Debian Release: bullseye/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable-debug'), (500, 
'testing-debug'), (500, 'stable-debug'), (500, 'proposed-updates-debug'), (500, 
'proposed-updates'), (500, 'oldoldstable'), (500, 'buildd-unstable'), (500, 
'unstable'), (500, 'stable'), (500, 'oldstable'), (1, 'experimental-debug'), 
(1, 'buildd-experimental'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.8.0-1-amd64 (SMP w/8 CPU threads)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages devscripts depends on:
ii  dpkg-dev              1.20.5
ii  fakeroot              1.24-1
ii  file                  1:5.38-5
ii  gnupg                 2.2.20-1
ii  gnupg2                2.2.20-1
ii  gpgv                  2.2.20-1
ii  libc6                 2.31-3
ii  libfile-homedir-perl  1.004-1
ii  libfile-which-perl    1.23-1
ii  libipc-run-perl       20200505.0-1
ii  libmoo-perl           2.004000-1
ii  libwww-perl           6.47-1
ii  patchutils            0.4.2-1
ii  perl                  5.30.3-4
ii  python3               3.8.2-3
ii  sensible-utils        0.0.12+nmu1
ii  wdiff                 1.2.2-2+b1

Versions of packages devscripts recommends:
ii  apt                         2.1.10
ii  at                          3.1.23-1+b1
ii  curl                        7.72.0-1
ii  dctrl-tools                 2.24-3+b1
ii  debian-keyring              2020.06.24
ii  dput-ng [dput]              1.30
ii  dupload                     2.9.5
ii  equivs                      2.3.1
ii  libdistro-info-perl         0.23
ii  libdpkg-perl                1.20.5
ii  libencode-locale-perl       1.05-1
ii  libgit-wrapper-perl         0.048-1
ii  libgitlab-api-v4-perl       0.25-2
ii  liblist-compare-perl        0.55-1
ii  liblwp-protocol-https-perl  6.09-1
ii  libsoap-lite-perl           1.27-1
ii  libstring-shellquote-perl   1.04-1
ii  libtry-tiny-perl            0.30-1
ii  liburi-perl                 1.76-2
ii  licensecheck                3.0.47-1
ii  lintian                     2.95.0
ii  man-db                      2.9.3-2
ii  patch                       2.7.6-6
ii  pristine-tar                1.49
ii  python3-apt                 2.1.3
ii  python3-debian              0.1.37
ii  python3-magic               2:0.4.15-4
ii  python3-requests            2.23.0+dfsg-2
ii  python3-unidiff             0.5.5-2
ii  python3-xdg                 0.26-3
ii  strace                      5.5-3
ii  unzip                       6.0-25
ii  wget                        1.20.3-1+b3
ii  xz-utils                    5.2.4-1+b1

Versions of packages devscripts suggests:
ii  adequate                     0.15.2
ii  autopkgtest                  5.14
pn  bls-standalone               <none>
ii  bsd-mailx [mailx]            8.1.2-0.20180807cvs-2
ii  build-essential              12.8
pn  check-all-the-things         <none>
pn  cvs-buildpackage             <none>
ii  debhelper                    13.2.1
pn  devscripts-el                <none>
pn  diffoscope                   <none>
pn  disorderfs                   <none>
pn  dose-extra                   <none>
ii  duck                         0.13.1
ii  faketime                     0.9.7-3.1
ii  gnuplot                      5.2.8+dfsg1-2
ii  gnuplot-x11 [gnuplot]        5.2.8+dfsg1-2
pn  how-can-i-help               <none>
ii  libauthen-sasl-perl          2.1600-1
ii  libdbd-pg-perl               3.14.2-1
ii  libfile-desktopentry-perl    0.22-2
pn  libnet-smtps-perl            <none>
pn  libterm-size-perl            <none>
ii  libtimedate-perl             2.3300-1
ii  libyaml-syck-perl            1.32-2
ii  mailutils [mailx]            1:3.10-3
pn  mozilla-devscripts           <none>
hi  mutt                         1.8.3+neomutt20170609-3+youpi1
ii  openssh-client [ssh-client]  1:8.3p1-1
ii  piuparts                     1.1.1
pn  postgresql-client            <none>
ii  quilt                        0.66-2.1
pn  ratt                         <none>
pn  reprotest                    <none>
ii  svn-buildpackage             0.8.7
ii  w3m                          0.5.3-38+b1

-- no debconf information

Reply via email to