Re: Help for watch file needed

2014-06-30 Thread Andreas Tille
Hi On Mon, Jun 30, 2014 at 10:21:55AM +0800, Paul Wise wrote: > On Mon, Jun 30, 2014 at 1:04 AM, Andreas Tille wrote: > > >opts="s/(\d)-(\d-\d)/$1.$2/,filenamemangle=... > > uscan warning: unrecognised option s/(\d)-(\d-\d)/$1.$2/ > ... > > at least with uscan from latest devscripts this does

Re: Help for watch file needed

2014-06-30 Thread Dominique Dumont
On Sunday 29 June 2014 14:22:18 Daniel Lintott wrote: > I don't know if this is the best method... but it seems to work. > > uversionmangle=s/(\d)-(\d-\d)/$1.$2/g This will break as soon as any field of the version goes beyond 9: a \d alone does not match '10'. Given that upstream version begins

Re: Help for watch file needed

2014-06-29 Thread Paul Wise
On Mon, Jun 30, 2014 at 1:04 AM, Andreas Tille wrote: >opts="s/(\d)-(\d-\d)/$1.$2/,filenamemangle=... > uscan warning: unrecognised option s/(\d)-(\d-\d)/$1.$2/ ... > at least with uscan from latest devscripts this does not seem to > work ... You are missing the uversionmangle= option name.

Re: Help for watch file needed

2014-06-29 Thread Andreas Tille
Hi, On Sun, Jun 29, 2014 at 02:22:18PM +0100, Daniel Lintott wrote: > Hi Andreas, > > On 29/06/14 14:05, Andreas Tille wrote: > > Hi Jakub > > > > On Sun, Jun 29, 2014 at 12:04:20PM +0200, Jakub Wilk wrote: > >> > >> You got it backwards. It should be: uversionmangle=s/-/./g > > > > No, I reall

Re: Help for watch file needed

2014-06-29 Thread Gert Wollny
On Sun, 2014-06-29 at 15:05 +0200, Andreas Tille wrote: > Hi Jakub > > On Sun, Jun 29, 2014 at 12:04:20PM +0200, Jakub Wilk wrote: > > > > You got it backwards. It should be: uversionmangle=s/-/./g > > No, I really want to substitute v2-0-1 to 2.0-1 as the > tarball on the download page You cou

Re: Help for watch file needed

2014-06-29 Thread Daniel Lintott
Hi Andreas, On 29/06/14 14:05, Andreas Tille wrote: > Hi Jakub > > On Sun, Jun 29, 2014 at 12:04:20PM +0200, Jakub Wilk wrote: >> >> You got it backwards. It should be: uversionmangle=s/-/./g > > No, I really want to substitute v2-0-1 to 2.0-1 as the > tarball on the download page > I don't kn

Re: Help for watch file needed

2014-06-29 Thread Andreas Tille
Hi Jakub On Sun, Jun 29, 2014 at 12:04:20PM +0200, Jakub Wilk wrote: > > You got it backwards. It should be: uversionmangle=s/-/./g No, I really want to substitute v2-0-1 to 2.0-1 as the tarball on the download page http://thegrantlab.org/bio3d/download/download-bucket as well as the Debian

Re: Help for watch file needed

2014-06-29 Thread Jakub Wilk
* Andreas Tille , 2014-06-29, 11:43: I have trouble fixing the watch file for r-other-bio3d at Vcs-Svn: svn://anonscm.debian.org/debian-med/trunk/packages/R/r-other-bio3d/trunk/ At first I do not understand why uversionmangle=s/\./-/g does not work: You got it backwards. It should be: uvers

Re: Help for watch file needed

2014-06-29 Thread Charles Plessy
Le Sun, Jun 29, 2014 at 11:43:47AM +0200, Andreas Tille a écrit : > > At first I do not understand why uversionmangle=s/\./-/g does not work: > > $ uscan --verbose --report > -- Scanning for watchfiles in . > -- Found watchfile in ./debian > -- In debian/watch, processing watchfile line: >opt

Help for watch file needed

2014-06-29 Thread Andreas Tille
Hi, I have trouble fixing the watch file for r-other-bio3d at Vcs-Svn: svn://anonscm.debian.org/debian-med/trunk/packages/R/r-other-bio3d/trunk/ At first I do not understand why uversionmangle=s/\./-/g does not work: $ uscan --verbose --report -- Scanning for watchfiles in . -- Found watchfi

Re: Help for watch file needed for ssake

2014-01-19 Thread Andreas Tille
On Sun, Jan 19, 2014 at 12:58:42AM +0100, gregor herrmann wrote: > It took me some time now, but I have another proposal: > > version=3 > opts=downloadurlmangle=s{([\d.]+)$}{$1/ssake_v$1-tar.gz},\ > filenamemangle=s{.+/([\d.]+)$}{ssake_v$1-tar.gz} \ > http://www.bcgsc.ca/platform/bioinfo/software/

Re: Help for watch file needed for ssake

2014-01-18 Thread gregor herrmann
On Sat, 18 Jan 2014 23:54:43 +0100, Andreas Tille wrote: > > The following seems to work: > > > > version=3 > > opts=downloadurlmangle=s{([\d.]+)$}{$&/ssake_v$1-tar.gz}g \ > > http://www.bcgsc.ca/platform/bioinfo/software/ssake/releases/([\d.]*) > > Hmmm, it just drops the tarball named > >

Re: Help for watch file needed for ssake

2014-01-18 Thread Andreas Tille
On Sat, Jan 18, 2014 at 06:49:25PM +0100, gregor herrmann wrote: > On Sat, 18 Jan 2014 16:55:13 +0100, Andreas Tille wrote: > > > uscan: In debian/watch, potentially unsafe or malformed downloadurlmangle > > pattern: > > 's/software\/ssake\/releases\/([.\d]+)/&\/ssake_v$1-tar.gz/"' found. > >

Re: Help for watch file needed for ssake

2014-01-18 Thread gregor herrmann
On Sat, 18 Jan 2014 16:55:13 +0100, Andreas Tille wrote: > version=3 > opts=downloadurlmangle=s/software\/ssake\/releases\/([.\d]+)/&\/ssake_v$1-tar.gz/" > \ > http://www.bcgsc.ca/platform/bioinfo/software/ssake/releases/([\d.]*) > uscan: In debian/watch, potentially unsafe or malformed downloa

Re: Help for watch file needed for ssake

2014-01-18 Thread Eriberto
Sorry. My last solution is very simplist and doesn't allow downloads. Please, try it: version=3 http://www.bcgsc.ca/platform/bioinfo/software/ssake/releases/([\d.]*)/ ssake_v(\d\S*)-tar.gz Cheers, Eriberto 2014/1/18 Eriberto : > A simple solution: > > version=3 > http://www.bcgsc.ca/platform/

Re: Help for watch file needed for ssake

2014-01-18 Thread Andreas Tille
Hi Eriberto, thanks for you quick response, On Sat, Jan 18, 2014 at 02:04:04PM -0200, Eriberto wrote: > A simple solution: > > version=3 > http://www.bcgsc.ca/platform/bioinfo/software/ssake/releases > .*/ssake/releases/(\d\S*) I tested this but this only drops a single file named 3.8.1 co

Re: Help for watch file needed for ssake

2014-01-18 Thread Eriberto
A simple solution: version=3 http://www.bcgsc.ca/platform/bioinfo/software/ssake/releases .*/ssake/releases/(\d\S*) Cheers, Eriberto 2014/1/18 Andreas Tille : > > Any help to fix the watch file? -- To UNSUBSCRIBE, email to debian-mentors-requ...@lists.debian.org with a subject of "unsubscri

Help for watch file needed for ssake

2014-01-18 Thread Andreas Tille
Hi, the current watch file for ssake fails finding any version. The reason is that the upstream download page http://www.bcgsc.ca/platform/bioinfo/software/ssake/releases has dedicated download pages for every single download tarball. I tried to fix this using the following watch file vers

Re: Need help for watch file

2012-09-14 Thread Charles Plessy
Le Fri, Sep 14, 2012 at 04:21:33PM +0200, Andreas Tille a écrit : > > version=3 > opts=\ > dversionmangle=s/[~\+]dfsg//,\ > downloadurlmangle=s/VolView-([\d\.]+)-Linux-x86_64.sh/VolViewSrc.tar.gz/,\ > filenamemangle=s/VolView(-[\d\.]+)-Linux-x86_64.sh/VolViewSrc$1.tar.gz/ \ > http://www.kitware.co

Need help for watch file

2012-09-14 Thread Andreas Tille
Hi, to enable properly downloading the volview sources I tried the following watch file: version=3 opts=\ dversionmangle=s/[~\+]dfsg//,\ downloadurlmangle=s/VolView-([\d\.]+)-Linux-x86_64.sh/VolViewSrc.tar.gz/,\ filenamemangle=s/VolView(-[\d\.]+)-Linux-x86_64.sh/VolViewSrc$1.tar.gz/ \ http://www.

Re: Need help for watch file

2012-08-28 Thread Andreas Tille
On Tue, Aug 28, 2012 at 10:11:07PM +1000, Dmitry Smirnov wrote: > > The following would work with "uscan --rename --repack": > > ## > opts=\ > uversionmangle=s/([\d.]+)-r(\d+)/$1.$2/,\ > downloadurlmangle=s/MRIConvert_.*/mriconvert_sources.zip/,\ > filenamemangle=s/.*/orig.zip

Re: Need help for watch file

2012-08-28 Thread Dmitry Smirnov
On Tue, 28 Aug 2012 19:27:28 Andreas Tille wrote: > Hmmm, I tried this > > opts=dversionmangle=s/([\d.]+)\.(\d+)/$1-r$2/,downloadurlmangle=s/MRIConver > t_.*/mriconvert_sources.zip/ \ > http://lcni.uoregon.edu/~jolinda/MRIConvert/MRIConvert_x86-([\d\.]+-r\d+)\ > .tar\.gz > > which ends up with ve

Re: Need help for watch file

2012-08-28 Thread Andreas Tille
Hi, On Tue, Aug 28, 2012 at 12:12:08AM +0800, Paul Wise wrote: > > Best ask them to fix that and point them at our upstream guide while > you are at it: > > http://wiki.debian.org/UpstreamGuide Right, but I guess chances are low ... > > However, there should be some chance to drain the curren

Re: Need help for watch file

2012-08-27 Thread Paul Wise
On Mon, Aug 27, 2012 at 11:47 PM, Andreas Tille wrote: > the watch file for the mriconvert package[1] is obviosely not working because > >http://lcni.uoregon.edu/~jolinda/MRIConvert/ > > upstream does not mind numbering its "mriconvert_sources.zip" sources. Best ask them to fix that and point

Re: Need help for watch file

2012-08-27 Thread Bart Martens
On Mon, Aug 27, 2012 at 05:47:38PM +0200, Andreas Tille wrote: > Hi, > > the watch file for the mriconvert package[1] is obviosely not working because > >http://lcni.uoregon.edu/~jolinda/MRIConvert/ > > upstream does not mind numbering its "mriconvert_sources.zip" sources. > However, there s

Need help for watch file

2012-08-27 Thread Andreas Tille
Hi, the watch file for the mriconvert package[1] is obviosely not working because http://lcni.uoregon.edu/~jolinda/MRIConvert/ upstream does not mind numbering its "mriconvert_sources.zip" sources. However, there should be some chance to drain the current version from other files on this page

Re: Help for watch file

2010-07-14 Thread David Paleino
On Wed, 14 Jul 2010 09:43:36 +0200, Andreas Tille wrote: > On Wed, Jul 14, 2010 at 09:31:26AM +0200, David Paleino wrote: > > If Google changes again, I find it better to change code in one place than > > in tons of debian/watch files. > > Well, 16 (+1 in NEW queue now ;-)) are not really tons.

Re: Help for watch file

2010-07-14 Thread Andreas Tille
On Wed, Jul 14, 2010 at 09:31:26AM +0200, David Paleino wrote: > If Google changes again, I find it better to change code in one place than in > tons of debian/watch files. Well, 16 (+1 in NEW queue now ;-)) are not really tons. IMHO the main advantage of redirectors in general (or equivalently a

Re: Help for watch file

2010-07-14 Thread David Paleino
On Wed, 14 Jul 2010 09:53:20 +0800, Paul Wise wrote: > On Wed, Jul 14, 2010 at 6:28 AM, Romain Beauxis wrote: > > Le mardi 13 juillet 2010 15:48:52, Raphael Geissert a écrit : > >> >> http://googlecode.debian.net/p/freemedform/ > >> > >> Please do not continue spreading the use of that redirector

Re: Help for watch file

2010-07-14 Thread David Paleino
On Tue, 13 Jul 2010 15:48:52 -0500, Raphael Geissert wrote: > David Paleino wrote: > > > On Fri, 9 Jul 2010 16:02:13 +0800, Paul Wise wrote: > > > >> On Fri, Jul 9, 2010 at 3:58 PM, Andreas Tille wrote: > >> > >> > I wonder how I might get a watch file for code.google.com working. > >> > >> S

Re: Help for watch file

2010-07-14 Thread Paul Wise
On Wed, Jul 14, 2010 at 2:53 PM, Andreas Tille wrote: > But more work for package maintainers because these redirectors are > quite useful to keep your watch file simple (and thus less error prone). > For me the reasoning to not have a googlecode redirector while having sf > and githup redirector

Re: Help for watch file

2010-07-13 Thread Andreas Tille
On Wed, Jul 14, 2010 at 09:53:20AM +0800, Paul Wise wrote: > >> 16 packages use it, there should be none. > > > > May I ask why ? > > It should be pretty obvious: less work for Debian and others: > > less work for ... > ... But more work for package maintainers because these redirectors are quit

Re: Help for watch file

2010-07-13 Thread Romain Beauxis
Hi, Le mardi 13 juillet 2010 20:53:20, Paul Wise a écrit : > It does mean more work for Google since they have to inform every > engineer working on the download stuff of the need to keep URL schemes > useful for autodownloaders. Well, I am not sure they want to allow this as well.. > Th

Re: Help for watch file

2010-07-13 Thread Paul Wise
On Wed, Jul 14, 2010 at 6:28 AM, Romain Beauxis wrote: > Le mardi 13 juillet 2010 15:48:52, Raphael Geissert a écrit : >> >> http://googlecode.debian.net/p/freemedform/ >> >> Please do not continue spreading the use of that redirector. Just because >> there's one for sourceforge it doesn't mean it

Re: Help for watch file

2010-07-13 Thread Romain Beauxis
Le mardi 13 juillet 2010 15:48:52, Raphael Geissert a écrit : > >> http://googlecode.debian.net/p/freemedform/ > > Please do not continue spreading the use of that redirector. Just because > there's one for sourceforge it doesn't mean it is okay to have one for > other hosting services. We ideal

Re: Help for watch file

2010-07-13 Thread Raphael Geissert
David Paleino wrote: > On Fri, 9 Jul 2010 16:02:13 +0800, Paul Wise wrote: > >> On Fri, Jul 9, 2010 at 3:58 PM, Andreas Tille wrote: >> >> > I wonder how I might get a watch file for code.google.com working. >> >> Sounds like Google changed their HTML again, which broke the redirector >> too:

Re: Help for watch file

2010-07-10 Thread Andreas Tille
On Fri, Jul 09, 2010 at 05:28:57PM +0200, Christian Kastner wrote: > version=3 > opts=\ > downloadurlmangle=s|.*[?]name=(.*?)&.*|http://freemedforms.googlecode.com/files/$1|,\ > filenamemangle=s|[^/]+[?]name=(.*?)&.*|$1| \ > http://code.google.com/p/freemedforms/downloads/detail[?]name=freediams_([

Re: Help for watch file

2010-07-09 Thread David Paleino
On Fri, 9 Jul 2010 22:35:40 +0200, David Paleino wrote: > On Fri, 9 Jul 2010 16:02:13 +0800, Paul Wise wrote: > > > On Fri, Jul 9, 2010 at 3:58 PM, Andreas Tille wrote: > > > > > I wonder how I might get a watch file for code.google.com working. > > > > Sounds like Google changed their HTML ag

Re: Help for watch file

2010-07-09 Thread David Paleino
On Fri, 9 Jul 2010 16:02:13 +0800, Paul Wise wrote: > On Fri, Jul 9, 2010 at 3:58 PM, Andreas Tille wrote: > > > I wonder how I might get a watch file for code.google.com working. > > Sounds like Google changed their HTML again, which broke the redirector too: > > http://googlecode.debian.net/

Re: Help for watch file

2010-07-09 Thread Christian Kastner
On 07/09/2010 09:58 AM, Andreas Tille wrote: > Hi, > > I wonder how I might get a watch file for code.google.com working. > For FreeDiams I tried > > version=3 > http://code.google.com/p/freemedforms/downloads/list \ > http://freemedforms.googlecode.com/files/freediams_([.\d]+).*\.tar\.gz > >

Re: Help for watch file

2010-07-09 Thread Andreas Tille
On Fri, Jul 09, 2010 at 04:13:55PM +0800, Paul Wise wrote: > You'll need a downloadurlmangle too: > > version=3 > opts=downloadurlmangle=s_^.*name=([^&]*).*_http://freemedforms.googlecode.com/files/$1_ > \ > http://code.google.com/p/freemedforms/downloads/list \ > .*name=freediams_([\d\.]+)\.orig\

Re: Help for watch file

2010-07-09 Thread Andreas Tille
On Fri, Jul 09, 2010 at 06:10:16PM +1000, Aníbal Monsalve Salazar wrote: > I just did it for irqbalance. > > cat debian/watch > version=3 > http://code.google.com/p/irqbalance/downloads/list \ > .*irqbalance-([\d\.]+).tbz2.* According to this example this works ersion=3 http://code.google.com/p

Re: Help for watch file

2010-07-09 Thread Paul Wise
2010/7/9 Aníbal Monsalve Salazar : > I just did it for irqbalance. > > cat debian/watch > version=3 > http://code.google.com/p/irqbalance/downloads/list \ > .*irqbalance-([\d\.]+).tbz2.* You'll need a downloadurlmangle too: version=3 opts=downloadurlmangle=s_^.*name=([^&]*).*_http://freemedforms

Re: Help for watch file

2010-07-09 Thread Aníbal Monsalve Salazar
On Fri, Jul 09, 2010 at 09:58:20AM +0200, Andreas Tille wrote: >Hi, > >I wonder how I might get a watch file for code.google.com working. >For FreeDiams I tried > >version=3 >http://code.google.com/p/freemedforms/downloads/list \ > http://freemedforms.googlecode.com/files/freediams_([.\d]+).*\.tar

Re: Help for watch file

2010-07-09 Thread Paul Wise
On Fri, Jul 9, 2010 at 3:58 PM, Andreas Tille wrote: > I wonder how I might get a watch file for code.google.com working. Sounds like Google changed their HTML again, which broke the redirector too: http://googlecode.debian.net/p/freemedform/ -- bye, pabs http://wiki.debian.org/PaulWise --

Help for watch file

2010-07-09 Thread Andreas Tille
Hi, I wonder how I might get a watch file for code.google.com working. For FreeDiams I tried version=3 http://code.google.com/p/freemedforms/downloads/list \ http://freemedforms.googlecode.com/files/freediams_([.\d]+).*\.tar\.gz but uscan does not find any matching entry - probably because all