[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

uscan: Filename pattern missing version delimiters ()



Hi,

I wanted to add a watch file for docbook-ebnf. The related files are
found at http://www.oasis-open.org/docbook/xml/ebnf/. Unfortunately the
whole package only consists of the dbebnf.dtd files in the version
sub-directories. So I thought, I could use something like the following
for debian/watch:

version=3
opts=dversionmangle=s/~([\w]+)$/$1/ \
 http://www.oasis-open.org/docbook/xml/ebnf/([\w\.]+)/dbebnf.dtd

The dversionmangle should rewrite the epoch version number (e.g.)
1.2~cr1 to 1.2cr1.

But uscan complains:
uscan warning: Filename pattern missing version delimiters ()

Any idea how to workaround this? Or do I have to file a wishlist report
for uscan to support directory-only lookups?

Regards, Daniel



Reply to: