Bug#705989: devscripts: [uscan] Lookup pattern in the text contained in the html a tags as well
Maximiliano Curia
maxy at debian.org
Tue Apr 23 09:32:50 UTC 2013
Package: devscripts
Version: 2.13.0
Severity: wishlist
Tags: patch
Hi,
Following my previous patch, I also added a new uscan option, uselinktext,
that makes uscan to also search the version in the text contained in the
<a>...</a>, instead only checking the href value.
A bit of a complex example would be:
version=3
opts=uselinktext,filenamemangle=s!.*/([^/]*)$!xawtv-$1\.tar\.gz!,downloadurlmangle=s!commit/([^/]*)!snapshot/$1\.tar\.gz! \
http://git.linuxtv.org/xawtv3.git/tags xawtv-([\d.]+)
Thanks and happy hacking,
-------------- next part --------------
A non-text attachment was scrubbed...
Name: devscripts_uscan_use-link-text-support.patch
Type: text/x-diff
Size: 2310 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/devscripts-devel/attachments/20130423/abf4d5af/attachment.patch>
More information about the devscripts-devel
mailing list