Your message dated Tue, 14 Jun 2016 23:50:32 +0900 with message-id <[email protected]> and subject line Bug#827227: uscan: Exemple in man page for github is correct has caused the Debian Bug report #827227, regarding uscan: Exemple in man page for github is incorrect to be marked as done.
This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact [email protected] immediately.) -- 827227: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=827227 Debian Bug Tracking System Contact [email protected] with problems
--- Begin Message ---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:--- /etc/devscripts.conf --- --- ~/.devscripts --- DEBSIGN_KEYID=D265C08531ED8AEF! DEBSIGN_PROGRAM=gpg2-- 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
--- End Message ---
--- Begin Message ---Hi, On Tue, Jun 14, 2016 at 12:28:37AM +0200, Remi Vanicat wrote: > 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%" ^-- what is this? > rule doesn't match "(s|tr|y)/.*/.*/[a-z]*" (or similar). This seems to indicate you forgot to add a double quotation mark at the end in your watch file. So the rule content printed between double quotation marks starts with a strange double quotation mark. (""....") > removing the " from the example seem to fix it. The following patch > should do the work: Yah, for your watch file with missing "-mark. But adding double quotation mark as indicated in the manpage does the trick too. Having double quotation mark enables you to add extra white spaces within opts. I tested with the following example and verified it works as expected. version=4 opts="filenamemangle=s%(?:.*?)?v?(\d[\d.]*)\.tar\.gz%metasploit-framework-$1.tar.gz%" \ https://github.com/rapid7/metasploit-framework/tags \ (?:.*?/)?v?(\d[\d.]*)\.tar\.gz debian uupdate $ uscan uscan: Newest version of pkg on remote site is 4.12.7, local version is 0.0 uscan: => Newer package available from https://github.com/rapid7/metasploit-framework/archive/4.12.7.tar.gz So this manual is correct. Osamu
--- End Message ---
_______________________________________________ devscripts-devel mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/devscripts-devel
