Bug#827227: uscan: Exemple in man page for github is incorrect

Remi Vanicat vanicat at debian.org
Mon Jun 13 22:28:37 UTC 2016


Package: devscripts
Version: 2.16.5
Severity: minor
Tags: patch

The example for github failed: uscan tell me that

   uscan warn: stop mangling: rule=""s%(?:.*?)?v?(\d[\d.]*)\.tar\.gz%tablist-$1.tar.gz%"
      rule doesn't match "(s|tr|y)/.*/.*/[a-z]*" (or similar).

removing the " from the example seem to fix it. The following patch
should do the work:

--- a/uscan.1   2016-06-14 00:25:09.013243288 +0200
+++ b/uscan.1   2016-06-14 00:25:09.019834199 +0200
@@ -1046,7 +1046,7 @@
 .PP
 .Vb 4
 \&  version=4
-\&  opts="filenamemangle=s%(?:.*?)?v?(\ed[\ed.]*)\e.tar\e.gz%<project>\-$1.tar.gz%" \e
+\&  opts=filenamemangle=s/(?:.*?)?v?(\ed[\ed.]*)\e.tar\e.gz/<project>\-$1.tar.gz/ \e
 \&      https://github.com/<user>/<project>/tags \e
 \&      (?:.*?/)?v?(\ed[\ed.]*)\e.tar\e.gz debian uupdate
 .Ve



-- Package-specific info:
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: not available
URL: <http://lists.alioth.debian.org/pipermail/devscripts-devel/attachments/20160614/7cc0197e/attachment.ksh>
-------------- next part --------------

-- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (150, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.6.0-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Init: systemd (via /run/systemd/system)

Versions of packages devscripts depends on:
ii  dpkg-dev     1.18.7
ii  libc6        2.22-11
ii  perl         5.22.2-1
pn  python3:any  <none>

Versions of packages devscripts recommends:
ii  apt                         1.2.13
ii  at                          3.1.18-2
ii  curl                        7.47.0-1
ii  dctrl-tools                 2.24-2
ii  debian-keyring              2016.04.22
ii  dput                        0.9.6.4
ii  equivs                      2.0.9+nmu1
ii  fakeroot                    1.20.2-2
ii  file                        1:5.25-2
ii  gnupg                       1.4.20-6
ii  gnupg2                      2.1.11-7
ii  libdistro-info-perl         0.14
ii  libencode-locale-perl       1.05-1
ii  liblwp-protocol-https-perl  6.06-2
ii  libsoap-lite-perl           1.19-1
ii  liburi-perl                 1.71-1
ii  libwww-perl                 6.15-1
ii  lintian                     2.5.44
ii  man-db                      2.7.5-1
ii  patch                       2.7.5-1
ii  patchutils                  0.3.4-1
ii  python3-debian              0.1.27
ii  python3-magic               1:5.25-2
ii  sensible-utils              0.0.9
ii  strace                      4.12-3
ii  unzip                       6.0-20
ii  wdiff                       1.2.2-1+b1
ii  wget                        1.18-1
ii  xz-utils                    5.1.1alpha+20120614-2.1

Versions of packages devscripts suggests:
ii  bsd-mailx [mailx]            8.1.2-0.20160123cvs-3
ii  build-essential              12.2
pn  cvs-buildpackage             <none>
ii  devscripts-el                35.12
ii  diffoscope                   54
pn  dose-extra                   <none>
ii  gnuplot                      5.0.3+dfsg3-5
ii  gpgv                         1.4.20-6
ii  libauthen-sasl-perl          2.1600-1
ii  libfile-desktopentry-perl    0.22-1
ii  libnet-smtp-ssl-perl         1.03-1
pn  libterm-size-perl            <none>
ii  libtimedate-perl             2.3000-2
ii  libyaml-syck-perl            1.29-1+b1
pn  mozilla-devscripts           <none>
pn  mutt                         <none>
ii  openssh-client [ssh-client]  1:7.2p2-5
pn  svn-buildpackage             <none>
ii  w3m                          0.5.3-28

-- no debconf information

-- 
R?mi Vanicat


More information about the devscripts-devel mailing list