watch-file syntax help

2012-02-09 Thread Daniel Martí
Dear Mentors,

I'm having some trouble at creating a watch file for the packace preload.

The upstream tarballs are found as follows:
http://sourceforge.net/projects/preload/files/preload/0.6.4/preload-0.6.4.tar.gz

The problem lies where its parent folder changes at every release. Would
anyone know how to make that work with debian/watch?

Thank you.

-- 
Daniel Martí - mvdan.cc - 0x58BF72C3


signature.asc
Description: Digital signature


Re: watch-file syntax help

2012-02-09 Thread Andrew Starr-Bochicchio
On Thu, Feb 9, 2012 at 2:37 PM, Daniel Martí
danielmarti.deb...@gmail.com wrote:
 Dear Mentors,

 I'm having some trouble at creating a watch file for the packace preload.

 The upstream tarballs are found as follows:
 http://sourceforge.net/projects/preload/files/preload/0.6.4/preload-0.6.4.tar.gz

 The problem lies where its parent folder changes at every release. Would
 anyone know how to make that work with debian/watch?

You can use qa.debian.org's SourceForge redirector like so:

  http://sf.net/project/tar-name-(.+)\.tar\.gz

-- Andrew Starr-Bochicchio

   Ubuntu Developer https://launchpad.net/~andrewsomething
   Debian Maintainer
http://qa.debian.org/developer.php?login=a.starr.b%40gmail.com
   PGP/GPG Key ID: D53FDCB1


--
To UNSUBSCRIBE, email to debian-mentors-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/CAL6k_AxKJ0zWPStd9N4hXJgPj22Tb=WnAV3r1z4§whgrr...@mail.gmail.com



Re: watch-file syntax help

2012-02-09 Thread Charles Plessy
Le Thu, Feb 09, 2012 at 08:37:58PM +0100, Daniel Martí a écrit :
 
 I'm having some trouble at creating a watch file for the packace preload.
 
 The upstream tarballs are found as follows:
 http://sourceforge.net/projects/preload/files/preload/0.6.4/preload-0.6.4.tar.gz

Dear Daniel,

I have the following watch file for samtools, that has similar URLs.

version=3
opts=downloadurlmangle=s|/download||,filenamemangle=s|http://sourceforge.net/projects/samtools/files/samtools/.+?/||;s|.download||
 \
  http://sourceforge.net/projects/samtools/files/samtools/ \
  
http://sourceforge.net/projects/samtools/files/samtools/.+?/samtools-(.*).tar.bz2/download

Have a nice day,

-- 
Charles Plessy
Debian Med packaging team,
http://www.debian.org/devel/debian-med
Tsurumi, Kanagawa, Japan


-- 
To UNSUBSCRIBE, email to debian-mentors-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20120210003003.gb2...@falafel.plessy.net