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

Re: debian/watch sf redirector docs ?



Olivier Berger <olivier.berger@it-sudparis.eu> (11/05/2009):
> Hi.

o<

> Is there any docs about the "Debian qa sf redirector" that can be used
> in debian/watch (apart from man uscan) ?
> 
> I'm looking for a way to state which "package" must be selected...
> 
> For instance, for mantis, using
> "http://sf.net/mantisbt/mantisbt-(.+)\.tar\.gz" would report versions
> like 1.2.0a3 where as one would like to select only versions among the
> ones available in package "mantis-stable" as listed in
> http://sourceforge.net/project/showfiles.php?group_id=14963

not sure it's feasible. As a quick workaround, since the -devel ones
seem to always have some letters (a for alpha, or rc), you could
restrict your pattern to only match digits and dots:
| -(cyril@talisker pts/3)-(/tmp/mantis-1.1.6+dfsg)
| $ cat debian/watch 
| version=3
| opts="dversionmangle=s/\+dfsg//" \
| http://sf.net/mantisbt/mantisbt-([0-9.]+)\.tar\.gz
| -(cyril@talisker pts/3)-(/tmp/mantis-1.1.6+dfsg)
| $ uscan --report-status
| Processing watchfile line for package mantis...
| Newest version on remote site is 1.1.7, local version is 1.1.6+dfsg
|  (mangled local version number 1.1.6)
| mantis: Newer version (1.1.7) available on remote site:
|   http://www.mirrorservice.org/sites/download.sourceforge.net/pub/sourceforge/m/ma/mantisbt/mantisbt-1.1.7.tar.gz
|   (local version is 1.1.6+dfsg, mangled local version number 1.1.6)

Mraw,
KiBi.

Attachment: signature.asc
Description: Digital signature


Reply to: