Package: devscripts Version: 2.13.4 Followup-For: Bug #663357 Hi,
I check tags from gitweb with a watch file like this one[1]: ----------------------------------------------------------------------- version=3 opts=downloadurlmangle=s/shortlog\/refs\/tags\/(v[\d\.]+)/snapshot\/$1.tar.gz/,\ filenamemangle=s/.*v([\d\.]+)$/tweeper-$1.tar.gz/ \ http://git.ao2.it/tweeper.git/tags ^.*v([\d\.]+) ----------------------------------------------------------------------- The example relies on clean URLs being enabled but you can get the idea: 1. parse the /tags page and look for vRELEASE 2. build the link to the archive: from /shortlog/refs/tags/vRELEASE to /snapshot/vRELEASE.tar.gz 3. save the vRELEASE.tar.gz archive as PACKAGE-RELEASE.tar.gz The regexes can change depending on the structure of the release tags, I use a 'v' prefix like in vX.Y.Z and end up with PACKAGE-X.Y.Z.tar.gz as the result. If you find the info useful, feel free to add it to the uscan manpage. Ciao, Antonio [1] http://git.ao2.it/tweeper.git/blob/refs/heads/debian:/debian/watch -- Package-specific info: --- /etc/devscripts.conf --- --- ~/.devscripts --- BTS_SMTP_HOST=out.alice.it BTS_CACHE=no AUTO_DEBSIGN=${AUTO_DEBSIGN:-yes} AUTO_LINTIAN=${AUTO_LINTIAN:-yes} -- System Information: Debian Release: jessie/sid APT prefers unstable APT policy: (900, 'unstable') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 3.12.0-ao2 (SMP w/1 CPU core) Locale: LANG=it_IT.utf8, LC_CTYPE=it_IT.utf8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages devscripts depends on: ii dpkg-dev 1.17.1 ii libc6 2.17-96 ii perl 5.18.1-4 ii python3 3.3.2-17 pn python3:any <none> Versions of packages devscripts recommends: ii at 3.1.14-1 ii curl 7.33.0-1 ii dctrl-tools 2.23 ii debian-keyring 2013.07.31 ii dput 0.9.6.4 ii dupload 2.7.0 ii equivs 2.0.9 ii fakeroot 1.20-1 ii gnupg 1.4.15-1.1 ii libcrypt-ssleay-perl 0.58-1+b1 ii libdistro-info-perl 0.11 ii libencode-locale-perl 1.03-1 ii libjson-perl 2.61-1 ii libparse-debcontrol-perl 2.005-4 ii libsoap-lite-perl 0.716-1 ii liburi-perl 1.60-1 ii libwww-perl 6.05-1 ii lintian 2.5.19 ii man-db 2.6.5-2 ii patch 2.7.1-4 ii patchutils 0.3.2-3 ii python3-debian 0.1.21+nmu2 ii python3-magic 1:5.14-2 ii sensible-utils 0.0.9 ii strace 4.5.20-2.3 ii unzip 6.0-10 ii wdiff 1.2.1-1 ii wget 1.14-5 ii xz-utils 5.1.1alpha+20120614-2 Versions of packages devscripts suggests: ii bsd-mailx [mailx] 8.1.2-0.20131005cvs-1 ii build-essential 11.6 pn cvs-buildpackage <none> pn devscripts-el <none> ii gnuplot 4.6.4-1 ii gpgv 1.4.15-1.1 ii libauthen-sasl-perl 2.1500-1 ii libfile-desktopentry-perl 0.07-1 ii libnet-smtp-ssl-perl 1.01-3 pn libterm-size-perl <none> ii libtimedate-perl 1.2000-1 pn libyaml-syck-perl <none> ii mutt 1.5.21-6.4 ii openssh-client [ssh-client] 1:6.4p1-1 ii svn-buildpackage 0.8.5 ii w3m 0.5.3-12 -- no debconf information -- Antonio Ospite http://ao2.it A: Because it messes up the order in which people normally read text. See http://en.wikipedia.org/wiki/Posting_style Q: Why is top-posting such a bad thing? _______________________________________________ devscripts-devel mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/devscripts-devel
