Re: [Debian-med-packaging] Help with watch file for ecopcr needed
On Wed, Jan 11, 2017 at 03:16:38PM +0100, Sascha Steinbiss wrote: > > Any idea how to properly download the upstream source tarball with > > uscan? > > could you please try: > > opts=filenamemangle=s/.*\.tar\.gz\?ref=ecopcr_v?(\d\S+)/ecopcr-$1\.tar\.gz/g > \ > https://git.metabarcoding.org/obitools/ecopcr/tags?sort=updated_desc > .*archive\.tar\.gz\?ref=ecopcr_v?(\d\S+) > > This seems to have worked for me, I get a proper orig tarball. Works - feel free to commit to Git in future cases. :-) Thanks Andreas. -- http://fam-tille.de
Re: [Debian-med-packaging] Help with watch file for ecopcr needed
Hi Andreas, [...] > Any idea how to properly download the upstream source tarball with > uscan? could you please try: opts=filenamemangle=s/.*\.tar\.gz\?ref=ecopcr_v?(\d\S+)/ecopcr-$1\.tar\.gz/g \ https://git.metabarcoding.org/obitools/ecopcr/tags?sort=updated_desc .*archive\.tar\.gz\?ref=ecopcr_v?(\d\S+) This seems to have worked for me, I get a proper orig tarball. Cheers Sascha signature.asc Description: OpenPGP digital signature
Help with watch file for ecopcr needed
Hi, upstream of ecopcr has added release tags at my request in their local gitlab instance. I think I adapted d/watch[1] accordingly but when doing uscan --verbose --force-download it just says uscan info:=> Package is up to date for from https://git.metabarcoding.org/obitools/ecopcr/repository/archive.tar.gz?ref=ecopcr_v0.5.0 uscan info:=> Forcing download as requested uscan info: Downloading upstream package: /obitools/ecopcr/tags/ecopcr_v0.5.0 uscan info: Requesting URL: https://git.metabarcoding.org/obitools/ecopcr/repository/archive.tar.gz?ref=ecopcr_v0.5.0 uscan info: Successfully downloaded package: /obitools/ecopcr/tags/ecopcr_v0.5.0 ... but there is nothing downloaded actually. I verified that by using wget sith the URL above the proper archive is downloaded. Any idea how to properly download the upstream source tarball with uscan? Kind regards Andreas. [1] https://anonscm.debian.org/cgit/debian-med/ecopcr.git/tree/debian/watch -- http://fam-tille.de
Re: Help with watch file needed
Thank you Eriberto. That fixed it. Greetings Peter On 01/29/2015 02:56 AM, Eriberto Mota wrote: version=3 opts=dversionmangle=s/\+dfsg// \ https://github.com/LibVNC/libvncserver/releases .*/archive/LibVNCServer-(\d\S+)\.tar\.gz -- To UNSUBSCRIBE, email to debian-mentors-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/54ca8c23.4060...@autistici.org
Help with watch file needed
Hello! Can someone help me with the watchfile for the current libvncserver sourcepackage? https://packages.debian.org/source/sid/libvncserver I am trying to package a new upstream version, but the current watchfile cannot download/extract the newest upstream version. I already spend some time trying to fix it, but honestly I am lost what the problem could be. I cloned the available git repository for this package at: git://anonscm.debian.org/collab-maint/libvncserver.git When I try a gbp import-orig --uscan, I get the following error output: gbp:info: Launching uscan... Could not read ..//LibVNC/libvncserver/archive/LibVNCServer-0.9.10.tar.gz: No such file or directory at /usr/bin/mk-origtargz line 316. uscan: error: mk-origtargz --package libvncserver --version 0.9.10 --compression gzip --directory .. --copyright-file debian/copyright ..//LibVNC/libvncserver/archive/LibVNCServer-0.9.10.tar.gz gave error exit status 2 gbp:error: Uscan failed - debug by running 'uscan --verbose' uscan --verbose gives this: -- Scanning for watchfiles in . -- Found watchfile in ./debian -- In debian/watch, processing watchfile line: opts=dversionmangle=s/\+dfsg//,filenamemangle=s/.+\/v?(\d\S*)\.tar\.gz/libvncserver-$1\.tar\.gz/ https://github.com/LibVNC/libvncserver/tags .*/LibVNCServer-(\d\S*)\.tar\.gz -- Found the following matching hrefs: /LibVNC/libvncserver/archive/LibVNCServer-0.9.10.tar.gz (0.9.10) /LibVNC/libvncserver/archive/LibVNCServer-0.9.9.tar.gz (0.9.9) /LibVNC/libvncserver/archive/LibVNCServer-0.9.8.2.tar.gz (0.9.8.2) /LibVNC/libvncserver/archive/LibVNCServer-0.9.8.1.tar.gz (0.9.8.1) /LibVNC/libvncserver/archive/LibVNCServer-0.9.8.tar.gz (0.9.8) Newest version on remote site is 0.9.10, local version is 0.9.9+dfsg (mangled local version number 0.9.9) = Newer version available from https://github.com/LibVNC/libvncserver/archive/LibVNCServer-0.9.10.tar.gz -- Downloading updated package /LibVNC/libvncserver/archive/LibVNCServer-0.9.10.tar.gz -- Checking for common possible upstream OpenPGP signatures Could not read ..//LibVNC/libvncserver/archive/LibVNCServer-0.9.10.tar.gz: No such file or directory at /usr/bin/mk-origtargz line 316. uscan: error: mk-origtargz --package libvncserver --version 0.9.10 --compression gzip --directory .. --copyright-file debian/copyright ..//LibVNC/libvncserver/archive/LibVNCServer-0.9.10.tar.gz gave error exit status 2 The current maintainer (cc) seems to be busy. He also filed a RFA bug @ wnpp. I intent to adopt this package and already made some progress, but I am lost on this. Thank you and greetings. Peter -- To UNSUBSCRIBE, email to debian-mentors-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/54c997e4.90...@autistici.org
Re: Help with watch file needed
Hi Peter, My suggestion: version=3 opts=dversionmangle=s/\+dfsg// \ https://github.com/LibVNC/libvncserver/releases .*/archive/LibVNCServer-(\d\S+)\.tar\.gz Take care to use 'releases' instead 'tags' to allow the download. Cheers, Eriberto 2015-01-29 0:16 GMT-02:00 Peter Spiess-Knafl p...@autistici.org: Hello! Can someone help me with the watchfile for the current libvncserver sourcepackage? https://packages.debian.org/source/sid/libvncserver I am trying to package a new upstream version, but the current watchfile cannot download/extract the newest upstream version. I already spend some time trying to fix it, but honestly I am lost what the problem could be. I cloned the available git repository for this package at: git://anonscm.debian.org/collab-maint/libvncserver.git When I try a gbp import-orig --uscan, I get the following error output: gbp:info: Launching uscan... Could not read ..//LibVNC/libvncserver/archive/LibVNCServer-0.9.10.tar.gz: No such file or directory at /usr/bin/mk-origtargz line 316. uscan: error: mk-origtargz --package libvncserver --version 0.9.10 --compression gzip --directory .. --copyright-file debian/copyright ..//LibVNC/libvncserver/archive/LibVNCServer-0.9.10.tar.gz gave error exit status 2 gbp:error: Uscan failed - debug by running 'uscan --verbose' uscan --verbose gives this: -- Scanning for watchfiles in . -- Found watchfile in ./debian -- In debian/watch, processing watchfile line: opts=dversionmangle=s/\+dfsg//,filenamemangle=s/.+\/v?(\d\S*)\.tar\.gz/libvncserver-$1\.tar\.gz/ https://github.com/LibVNC/libvncserver/tags .*/LibVNCServer-(\d\S*)\.tar\.gz -- Found the following matching hrefs: /LibVNC/libvncserver/archive/LibVNCServer-0.9.10.tar.gz (0.9.10) /LibVNC/libvncserver/archive/LibVNCServer-0.9.9.tar.gz (0.9.9) /LibVNC/libvncserver/archive/LibVNCServer-0.9.8.2.tar.gz (0.9.8.2) /LibVNC/libvncserver/archive/LibVNCServer-0.9.8.1.tar.gz (0.9.8.1) /LibVNC/libvncserver/archive/LibVNCServer-0.9.8.tar.gz (0.9.8) Newest version on remote site is 0.9.10, local version is 0.9.9+dfsg (mangled local version number 0.9.9) = Newer version available from https://github.com/LibVNC/libvncserver/archive/LibVNCServer-0.9.10.tar.gz -- Downloading updated package /LibVNC/libvncserver/archive/LibVNCServer-0.9.10.tar.gz -- Checking for common possible upstream OpenPGP signatures Could not read ..//LibVNC/libvncserver/archive/LibVNCServer-0.9.10.tar.gz: No such file or directory at /usr/bin/mk-origtargz line 316. uscan: error: mk-origtargz --package libvncserver --version 0.9.10 --compression gzip --directory .. --copyright-file debian/copyright ..//LibVNC/libvncserver/archive/LibVNCServer-0.9.10.tar.gz gave error exit status 2 The current maintainer (cc) seems to be busy. He also filed a RFA bug @ wnpp. I intent to adopt this package and already made some progress, but I am lost on this. Thank you and greetings. Peter -- To UNSUBSCRIBE, email to debian-mentors-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/54c997e4.90...@autistici.org -- To UNSUBSCRIBE, email to debian-mentors-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/CAP+dXJeuSLLq1Wqmo5Sv=uhtaognwuowvoy4_6gmgwacgf-...@mail.gmail.com
Re: Help for watch file needed
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 with v, you may want to do: uversionmangle=s/(v\d+)-/$1./ This way, uversionmangles deals only with the first field and leave the other alone. This is more robust to potential upstream changes. HTH -- https://github.com/dod38fr/ -o- http://search.cpan.org/~ddumont/ http://ddumont.wordpress.com/ -o- irc: dod at irc.debian.org -- To UNSUBSCRIBE, email to debian-mentors-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/4985778.Uz3M8EFOYU@ylum
Re: Help for watch file needed
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 not seem to work ... You are missing the uversionmangle= option name. yep, my eyes were opened earlier by PM. Stupid me. However, the filenamemangle problem remains ... and I guess/hope it was not only a stupid typo of mine. Thanks for your patience Andreas. -- http://fam-tille.de -- To UNSUBSCRIBE, email to debian-mentors-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/20140630124428.gc10...@an3as.eu
Help for watch file needed
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 watchfile in ./debian -- In debian/watch, processing watchfile line: opts=uversionmangle=s/\./-/g http://thegrantlab.org/bio3d/download/download-bucket .*bio3d-v([-.0-9]+) -- Found the following matching hrefs: /bio3d/download/download-bucket?download=1:bio3d-v2-0-1 (2-0-1) /bio3d/download/download-bucket?download=1:bio3d-v2-0-1 (2-0-1) Newest version on remote site is 2-0-1, local version is 2.0-1 = remote site does not even have current version -- Scan finished Moreover I need some proper fileversionmangle which I failed to add. Any help would be really appreciated. Kind regards Andreas. -- http://fam-tille.de -- To UNSUBSCRIBE, email to debian-mentors-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/20140629094347.gd6...@an3as.eu
Re: Help for watch file needed
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: opts=uversionmangle=s/\./-/g http://thegrantlab.org/bio3d/download/download-bucket .*bio3d-v([-.0-9]+) -- Found the following matching hrefs: /bio3d/download/download-bucket?download=1:bio3d-v2-0-1 (2-0-1) /bio3d/download/download-bucket?download=1:bio3d-v2-0-1 (2-0-1) Newest version on remote site is 2-0-1, local version is 2.0-1 = remote site does not even have current version -- Scan finished Hi Andreas, shouldn't it be s/-/./g instead ? Cheers, -- 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: https://lists.debian.org/20140629095848.ga22...@falafel.plessy.net
Re: Help for watch file needed
* Andreas Tille andr...@an3as.eu, 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: uversionmangle=s/-/./g $ uscan --verbose --report -- Scanning for watchfiles in . -- Found watchfile in ./debian -- In debian/watch, processing watchfile line: opts=uversionmangle=s/-/./g http://thegrantlab.org/bio3d/download/download-bucket .*bio3d-v([-.0-9]+) -- Found the following matching hrefs: /bio3d/download/download-bucket?download=1:bio3d-v2-0-1 (2.0.1) /bio3d/download/download-bucket?download=1:bio3d-v2-0-1 (2.0.1) Newest version on remote site is 2.0.1, local version is 2.0-1 = Newer version available from http://thegrantlab.org/bio3d/download/download-bucket?download=1:bio3d-v2-0-1 -- Scan finished Moreover I need some proper fileversionmangle which I failed to add. No idea how to do this. (I have USCAN_SYMLINK=rename in my ~/.devscripts. so I usually don't care about the original filename.) -- Jakub Wilk -- To UNSUBSCRIBE, email to debian-mentors-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/20140629100420.ga2...@jwilk.net
Re: Help for watch file needed
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 package are named. /bio3d/download/download-bucket?download=1:bio3d-v2-0-1 (2.0.1) /bio3d/download/download-bucket?download=1:bio3d-v2-0-1 (2.0.1) Newest version on remote site is 2.0.1, local version is 2.0-1 = Newer version available from http://thegrantlab.org/bio3d/download/download-bucket?download=1:bio3d-v2-0-1 But that's wrong since 2.0-1 is the latest upstream version and the download should only happen via --force-download. Moreover I need some proper fileversionmangle which I failed to add. No idea how to do this. (I have USCAN_SYMLINK=rename in my ~/.devscripts. so I usually don't care about the original filename.) The problem is that uscan --verbose --force-download ends up in an error and my assumption is that this could / should be fixed by a proper filenamemangle. Kind regards Andreas. -- http://fam-tille.de -- To UNSUBSCRIBE, email to debian-mentors-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/20140629130517.gb12...@an3as.eu
Re: Help for watch file needed
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 know if this is the best method... but it seems to work. uversionmangle=s/(\d)-(\d-\d)/$1.$2/g Regards, Daniel Lintott signature.asc Description: OpenPGP digital signature
Re: Help for watch file needed
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 could leave out the 'g', i.e. uversionmangle=s/-/./ then only the first '-' found is replaced. regards, Gert -- To UNSUBSCRIBE, email to debian-mentors-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/1404048463.5125.1.camel@localhost.localdomain
Re: Help for watch file needed
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 really want to substitute v2-0-1 to 2.0-1 as the tarball on the download page I don't know if this is the best method... but it seems to work. uversionmangle=s/(\d)-(\d-\d)/$1.$2/g Hmmm, $ uscan --verbose --report -- Scanning for watchfiles in . -- Found watchfile in ./debian -- In debian/watch, processing watchfile line: opts=s/(\d)-(\d-\d)/$1.$2/,filenamemangle=s/download-bucket.*bio3d-v(.*)$/r-other-bio3d_$1.tar.gz/ http://thegrantlab.org/bio3d/download/download-bucket .*bio3d-v([-.0-9]+) uscan warning: unrecognised option s/(\d)-(\d-\d)/$1.$2/ -- Found the following matching hrefs: /bio3d/download/download-bucket?download=1:bio3d-v2-0-1 (2-0-1) /bio3d/download/download-bucket?download=1:bio3d-v2-0-1 (2-0-1) Newest version on remote site is 2-0-1, local version is 2.0-1 = remote site does not even have current version -- Scan finished at least with uscan from latest devscripts this does not seem to work ... Kind regards Andreas. -- http://fam-tille.de -- To UNSUBSCRIBE, email to debian-mentors-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/20140629170428.gf12...@an3as.eu
Re: Help for watch file needed
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. -- bye, pabs http://wiki.debian.org/PaulWise -- To UNSUBSCRIBE, email to debian-mentors-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/caktje6e6jktxamrehykkjpab67b4-jgfkhqduknmqmeuebc...@mail.gmail.com
Re: Help for watch file needed for ssake
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/ssake/releases/([\d.]*) which gives me a ../ssake_v3.8.1-tar.gz (You could also name it .tar.gz in the course of mangling.) ... which is what I did before uploading. Bonne soirée a Paris ! Merci Andreas. -- http://fam-tille.de -- 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/20140119120552.gg29...@an3as.eu
Help for watch file needed for ssake
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 version=3 opts=downloadurlmangle=s/software\/ssake\/releases\/([.\d]+)/\/ssake_v$1-tar.gz/ \ http://www.bcgsc.ca/platform/bioinfo/software/ssake/releases/([\d.]*) at least is able to detect the versions but I get $ uscan --verbose --report -- Scanning for watchfiles in . -- Found watchfile in ./debian -- In debian/watch, processing watchfile line: opts=downloadurlmangle=s/software\/ssake\/releases\/([.\d]+)/\/ssake_v$1-tar.gz/ http://www.bcgsc.ca/platform/bioinfo/software/ssake/releases/([\d.]*) -- Found the following matching hrefs: http://www.bcgsc.ca/platform/bioinfo/software/ssake/releases/2.0 (2.0) http://www.bcgsc.ca/platform/bioinfo/software/ssake/releases/2.0 (2.0) http://www.bcgsc.ca/platform/bioinfo/software/ssake/releases/3.8.1 (3.8.1) http://www.bcgsc.ca/platform/bioinfo/software/ssake/releases/3.8.1 (3.8.1) http://www.bcgsc.ca/platform/bioinfo/software/ssake/releases/3.8 (3.8) http://www.bcgsc.ca/platform/bioinfo/software/ssake/releases/3.8 (3.8) http://www.bcgsc.ca/platform/bioinfo/software/ssake/releases/3.7 (3.7) http://www.bcgsc.ca/platform/bioinfo/software/ssake/releases/3.7 (3.7) http://www.bcgsc.ca/platform/bioinfo/software/ssake/releases/3.6 (3.6) http://www.bcgsc.ca/platform/bioinfo/software/ssake/releases/3.6 (3.6) http://www.bcgsc.ca/platform/bioinfo/software/ssake/releases/3.5 (3.5) http://www.bcgsc.ca/platform/bioinfo/software/ssake/releases/3.5 (3.5) http://www.bcgsc.ca/platform/bioinfo/software/ssake/releases/3.4 (3.4) http://www.bcgsc.ca/platform/bioinfo/software/ssake/releases/3.4 (3.4) http://www.bcgsc.ca/platform/bioinfo/software/ssake/releases/3.2.1 (3.2.1) http://www.bcgsc.ca/platform/bioinfo/software/ssake/releases/3.2.1 (3.2.1) http://www.bcgsc.ca/platform/bioinfo/software/ssake/releases/3.2 (3.2) http://www.bcgsc.ca/platform/bioinfo/software/ssake/releases/3.2 (3.2) uscan: In debian/watch, potentially unsafe or malformed downloadurlmangle pattern: 's/software\/ssake\/releases\/([.\d]+)/\/ssake_v$1-tar.gz/' found. Skipping watchline http://www.bcgsc.ca/platform/bioinfo/software/ssake/releases/([\d.]*) -- Scan finished Any help to fix the watch file? Kind regards Andreas. -- http://fam-tille.de -- 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/20140118155513.gf14...@an3as.eu
Re: Help for watch file needed for ssake
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 andr...@an3as.eu: Any help to fix the watch file? -- 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/cap+dxjeracoh0ptbvggot+3cxjy-s-zk+kcrwg8a-zvgavk...@mail.gmail.com
Re: Help for watch file needed for ssake
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 containing the html code of the download page on my hard disk. Kind regards Andreas. -- http://fam-tille.de -- 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/20140118162035.gh14...@an3as.eu
Re: Help for watch file needed for ssake
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 eribe...@eriberto.pro.br: 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 andr...@an3as.eu: Any help to fix the watch file? -- 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/CAP+dXJccakFoBSipP1GX9dq2=qybo-9xxnp14nsroegq7qa...@mail.gmail.com
Re: Help for watch file needed for ssake
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 downloadurlmangle pattern: 's/software\/ssake\/releases\/([.\d]+)/\/ssake_v$1-tar.gz/' found. Skipping watchline http://www.bcgsc.ca/platform/bioinfo/software/ssake/releases/([\d.]*) -- Scan finished 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.]*) Cheers, gregor -- .''`. Homepage: http://info.comodo.priv.at/ - OpenPGP key 0xBB3A68018649AA06 : :' : Debian GNU/Linux user, admin, and developer - http://www.debian.org/ `. `' Member of VIBE!AT SPI, fellow of the Free Software Foundation Europe `- NP: Derek Patton: Bright Grey signature.asc Description: Digital signature
Re: Help for watch file needed for ssake
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. Skipping watchline http://www.bcgsc.ca/platform/bioinfo/software/ssake/releases/([\d.]*) -- Scan finished 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 3.8.1 (simply the version number as file name) and I failed to add a proper filenamemangle statement. :-( However, this solution has the advantage that it really prints all available versions (which is not the case in his suggestion and the renaming / linking to orig.tar.gz is necessary as well). Thanks for your patience and greetings from MiniDebConf in Paris Andreas. -- http://fam-tille.de -- 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/20140118225443.ga8...@an3as.eu
Re: Help for watch file needed for ssake
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 3.8.1 (simply the version number as file name) Ouch, sorry, I was deluded by uscan's output which pointed to the write location. and I failed to add a proper filenamemangle statement. :-( 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/ssake/releases/([\d.]*) which gives me a ../ssake_v3.8.1-tar.gz (You could also name it .tar.gz in the course of mangling.) Thanks for your patience and greetings from MiniDebConf in Paris Bonne soirée a Paris ! :) gregor -- .''`. Homepage: http://info.comodo.priv.at/ - OpenPGP key 0xBB3A68018649AA06 : :' : Debian GNU/Linux user, admin, and developer - http://www.debian.org/ `. `' Member of VIBE!AT SPI, fellow of the Free Software Foundation Europe `- NP: Dire Straits: Romeo And Juliet signature.asc Description: Digital signature
Need help for watch file
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.kitware.com/products/vvdownload.html \ http://www.kitware.com/VolView/files/VolView-([\d\.]+)-Linux-x86_64.sh $ /usr/bin/uscan --verbose --force-download -- Scanning for watchfiles in . -- Found watchfile in ./debian -- In debian/watch, processing watchfile line: 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.com/products/vvdownload.html http://www.kitware.com/VolView/files/VolView-([\d\.]+)-Linux-x86_64.sh -- Found the following matching hrefs: http://www.kitware.com/VolView/files/VolView-3.4-Linux-x86_64.sh http://www.kitware.com/VolView/files/VolView-3.4-Linux-x86_64.sh http://www.kitware.com/VolView/files/VolView-3.4-Linux-x86_64.sh Newest version on remote site is 3.4, local version is 3.4+dfsg (mangled local version number 3.4) = Package is up to date Newest version on remote site is 3.4, local version is 3.4+dfsg (mangled local version number 3.4) = Forcing download as requested -- Downloading updated package http://www.kitware.com/VolView/files/VolViewSrc-3.4.tar.gz uscan warning: ../http://www.kitware.com/VolView/files/VolViewSrc-3.4.tar.gz does not appear to be a compressed file; the file command says: ERROR: cannot open `../http://www.kitware.com/VolView/files/VolViewSrc-3.4.tar.gz' (No such file or directory) Not processing this file any further! -- Scan finished If I leave out the filenamemangle option the correct file is downloaded - but it is named *.sh which is a bit stupid for a tar.gz. Any hint (besides bothering upstream ... somebody from kitware in CC - Luis it would help if you could care for a properly numbered downloadable tarball.) Kind regards Andreas. -- http://fam-tille.de -- 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/20120914142133.ga14...@an3as.eu
Re: Need help for watch file
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.com/products/vvdownload.html \ http://www.kitware.com/VolView/files/VolView-([\d\.]+)-Linux-x86_64.sh -- Downloading updated package http://www.kitware.com/VolView/files/VolViewSrc-3.4.tar.gz uscan warning: ../http://www.kitware.com/VolView/files/VolViewSrc-3.4.tar.gz does not appear to be a compressed file; the file command says: ERROR: cannot open `../http://www.kitware.com/VolView/files/VolViewSrc-3.4.tar.gz' (No such file or directory) Hi Andreas, the problem here is that uscan sees the file name as: http://www.kitware.com/VolView/files/VolView-3.4-Linux-x86_64.sh Your filenamemangle regular expression turns it into: http://www.kitware.com/VolView/files/VolViewSrc-3.4.tar.gz A second expression is needed to remove the URL part. With the following, filenamemangle=s/VolView(-[\d\.]+)-Linux-x86_64.sh/VolViewSrc$1.tar.gz/;s|http://www.kitware.com/VolView/files/|| Uscan now sees the file name as VolViewSrc-3.4.tar.gz Have a nice week-end, -- 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/20120915004102.ga31...@falafel.plessy.net
Re: Need help for watch file
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 current version from other files on this page. Any help would be welcome because I failed terribly trying to use some mangling options. This would work but uscan doesn't like the file that gets downloaded: I fixed this[1] in connection with the proposed uscan changes to enable deletion of files (see bug #685787). version=3 opts=downloadurlmangle=s/MRIConvert_.*/mriconvert_sources.zip/ \ http://lcni.uoregon.edu/~jolinda/MRIConvert/MRIConvert_x86-([\d\.]+-r\d+)\.tar\.gz Hmmm, I tried this opts=dversionmangle=s/([\d.]+)\.(\d+)/$1-r$2/,downloadurlmangle=s/MRIConvert_.*/mriconvert_sources.zip/ \ http://lcni.uoregon.edu/~jolinda/MRIConvert/MRIConvert_x86-([\d\.]+-r\d+)\.tar\.gz which ends up with version 2.0-r235. I know that dversionmangle is the wrong approach and it rather should be uversionmangle=s/([\d.]+)-r(\d+)/$1.$2/ but if I try this I do not get a match on the given download page. Kind regards Andreas. [1] http://anonscm.debian.org/gitweb/?p=users/tille/devscripts.git;a=commit;h=cc44217883219e7c9bb0875f75aebc4ecec59e63 -- http://fam-tille.de -- 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/20120828092728.ga27...@an3as.eu
Re: Need help for watch file
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 version 2.0-r235. I know that dversionmangle is the wrong approach and it rather should be uversionmangle=s/([\d.]+)-r(\d+)/$1.$2/ but if I try this I do not get a match on the given download page. 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/,\ http://lcni.uoregon.edu/~jolinda/MRIConvert/MRIConvert_x86-([\d\.]+-r\d+)\.tar\.gz ## Hack-ish and perhaps ugly but works... Indeed the best would be to try convincing upstream to rename source archive... Cheers, Dmitry. signature.asc Description: This is a digitally signed message part.
Need help for watch file
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. Any help would be welcome because I failed terribly trying to use some mangling options. Kind regards Andreas. [1] Vcs-Svn: svn://svn.debian.org/debian-med/trunk/packages/mriconvert/trunk/ -- http://fam-tille.de -- 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/20120827154738.gf3...@an3as.eu
Re: Need help for watch file
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 should be some chance to drain the current version from other files on this page. Any help would be welcome because I failed terribly trying to use some mangling options. You could simply write a watch file for one of the binaries that have a version number. Then the watch file can be used to track newer upstream releases, not for downloading the newest source code. Regards, Bart Martens -- 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/20120827155850.ga5...@master.debian.org
Re: Need help for watch file
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 them at our upstream guide while you are at it: http://wiki.debian.org/UpstreamGuide However, there should be some chance to drain the current version from other files on this page. Any help would be welcome because I failed terribly trying to use some mangling options. This would work but uscan doesn't like the file that gets downloaded: version=3 opts=downloadurlmangle=s/MRIConvert_.*/mriconvert_sources.zip/ \ http://lcni.uoregon.edu/~jolinda/MRIConvert/MRIConvert_x86-([\d\.]+-r\d+)\.tar\.gz Best ask upstream to use a tarball instead of a zip file too. -- bye, pabs http://wiki.debian.org/PaulWise -- 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/caktje6f4_7zf2gyp97zbm8iqt_2ovd0r2avaseobxm829mr...@mail.gmail.com
Help with watch file for OBS?
My tarball is on the OBS. I want to write a watch file for it. My procedure to get the file is: look in: https://build.opensuse.org/package/files?package=libreoffice-converterproject=LibreOffice:Unstable For strings that look like: a href=https://api.opensuse.org:443/public/source/LibreOffice:Unstable/libreoffice-converter/libreoffice- converter-3.3.tar.bz2?rev=2dffadb97b188c6bc4c0037f1d4c446damp; The 3.3 is the version number the part that can vary. ?rev=BLAH must be thrown away to get https://api.opensuse.org:443/public/source/LibreOffice:Unstable/libreoffice-converter/libreoffice-converter-3.3.tar.bz2 Which can be downloaded with wget. My current watch file reads: version=3 opts=filenamemangle=s/(.*)\?rev=.*/$1/ \ https://build.opensuse.org/package/files?package=libreoffice-converterproject=LibreOffice:Unstable \ https://api.opensuse.org:443/public/source/LibreOffice:Unstable/libreoffice-converter/libreoffice-converter-(\d\.\d)\.tar\.bz2 It does not find a match. What am I doing wrong? If I can get this working, I will post it so everyone can have watch files for OBS. -- Paul Elliott 1(512)837-1096 pelli...@blackpatchpanel.com PMB 181, 11900 Metric Blvd Suite J http://www.free.blackpatchpanel.com/pme/ Austin TX 78758-3117 signature.asc Description: This is a digitally signed message part.
Re: Help with watch file for OBS?
On Sat, 14 Apr 2012 15:56:19 -0500, Paul Elliott wrote: My current watch file reads: version=3 opts=filenamemangle=s/(.*)\?rev=.*/$1/ \ https://build.opensuse.org/package/files?package=libreoffice-converterproject=LibreOffice:Unstable \ https://api.opensuse.org:443/public/source/LibreOffice:Unstable/libreoffice-converter/libreoffice-converter-(\d\.\d)\.tar\.bz2 It does not find a match. Add \?rev=.* at the end. Also, I would suggest to simplify the filenamemangle: s/\?rev=.*// Kindly, David -- . ''`. Debian developer | http://wiki.debian.org/DavidPaleino : :' : Linuxer #334216 --|-- http://www.hanskalabs.net/ `. `'` GPG: 1392B174 | http://deb.li/dapal `- 2BAB C625 4E66 E7B8 450A C3E1 E6AA 9017 1392 B174 signature.asc Description: PGP signature
Re: Denoiser: help fro watch file wanted
Hi Andreas, On 02/26/2011 09:47 PM, Andreas Tille wrote: On Sat, Feb 26, 2011 at 12:22:19AM +0100, Dario Minnucci wrote: This is working for me... version=3 opts=dversionmangle=s/([0-9])\.([0-9])\.([0-9])\.([0-9])/$1\.$2$3$4/g \ http://www.microbio.me/denoiser/Denoiser_([.0-9]+)\.tgz \ debian debian/get-orig-source I agree that this might work for the current latest version, but is this save for versions like 0.9 and 0.91? I think remote version numbers like 0.9 or 0.91 are smaller than current 0.851 Which versions numbers are expected from upstream? $ uscan --report-status Processing watchfile line for package denoiser... Newest version on remote site is 0.851, local version is 0.8.5.1 (mangled local version number 0.851) = Package is up to date A problem will apperars if you get a remote version like 0.8513, the last '3' is not handled by dversionmangle. Regards, PS: You can drop the 'g' from the first RE I've posted. -- Dario Minnucci mid...@debian.org Phone: +34 902021030 | Fax: +34 902024417 Key fingerprint = BAA1 7AAF B21D 6567 D457 D67D A82F BB83 F3D5 7033 signature.asc Description: OpenPGP digital signature
Re: Denoiser: help fro watch file wanted
On Sat, Feb 26, 2011 at 12:22:19AM +0100, Dario Minnucci wrote: This is working for me... version=3 opts=dversionmangle=s/([0-9])\.([0-9])\.([0-9])\.([0-9])/$1\.$2$3$4/g \ http://www.microbio.me/denoiser/Denoiser_([.0-9]+)\.tgz \ debian debian/get-orig-source I agree that this might work for the current latest version, but is this save for versions like 0.9 and 0.91? Kind regards Andreas. -- http://fam-tille.de -- 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/20110226204753.ge31...@an3as.eu
Denoiser: help fro watch file wanted
Hi, I tried to enhance the watch file for denoiser at svn://svn.debian.org/svn/debian-med/trunk/packages/denoiser/trunk/debian but failed. I have no idea how to replace the '.' except the first one in a mangle statement. Any help is welcome Andreas. -- http://fam-tille.de -- 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/20110225181308.ga31...@an3as.eu
Re: Denoiser: help fro watch file wanted
Hi Andreas, On 02/25/2011 07:13 PM, Andreas Tille wrote: Hi, I tried to enhance the watch file for denoiser at svn://svn.debian.org/svn/debian-med/trunk/packages/denoiser/trunk/debian but failed. I have no idea how to replace the '.' except the first one in a mangle statement. Any help is welcome Andreas. This is working for me... version=3 opts=dversionmangle=s/([0-9])\.([0-9])\.([0-9])\.([0-9])/$1\.$2$3$4/g \ http://www.microbio.me/denoiser/Denoiser_([.0-9]+)\.tgz \ debian debian/get-orig-source $ uscan --report-status Processing watchfile line for package denoiser... Newest version on remote site is 0.851, local version is 0.8.5.1 (mangled local version number 0.851) = Package is up to date Regards, -- Dario Minnucci mid...@debian.org Phone: +34 902021030 | Fax: +34 902024417 Key fingerprint = BAA1 7AAF B21D 6567 D457 D67D A82F BB83 F3D5 7033 signature.asc Description: OpenPGP digital signature
Re: Help for watch file
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 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 does not sound logical except if your include all redirectors in general into this. Probably the best way to deal with that is to add code to uscan to do add the right opts rather than creating redirect sites. It looks like even sf.net could now be automatically scanned with the right downloadurlmangle and filenamemangle options. This would be cool because it would make my more work for package maintainers argument moot by solving your arguments as well. Kind regards and thanks for the clarification Andreas. -- http://fam-tille.de -- 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/20100714065338.ga4...@an3as.eu
Re: Help for watch file
On Wed, Jul 14, 2010 at 2:53 PM, Andreas Tille andr...@an3as.eu 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 does not sound logical except if your include all redirectors in general into this. Yes, Raphael was saying that all redirectors are bad, not that the only the googlecode one was bad. -- bye, pabs http://wiki.debian.org/PaulWise -- 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/aanlktilgmuovmkdm0bbsjdxp51zqop7wgds9qptjq...@mail.gmail.com
Re: Help for watch file
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 andr...@an3as.eu 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/ 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 ideally want *none*. Also, I never saw a reply to Iustin Pop's email (basically saying nobody had actually contacted google code.) I don't really remember such a mail, I must've missed it. Going to look back into the archives. Neither a +1 or something to the ticket[1] opened by somebody else. [1] http://code.google.com/p/support/issues/detail?id=4042 I replied to #581622 though. However, trying to stay safe on the right side, I added a comment now. I would've had tons of emails from angry users asking why it didn't work, if the redirector was actually broken :) 16 packages use it, there should be none. I'd say patches welcome, but I'm not the uscan maintainer. Only when uscan will support googlecode out of the box, or Google says it's not a desired thing, I'll shut the service down. If Google changes again, I find it better to change code in one place than in tons of debian/watch files. Kindly, David -- . ''`. Debian developer | http://wiki.debian.org/DavidPaleino : :' : Linuxer #334216 --|-- http://www.hanskalabs.net/ `. `'` GPG: 1392B174 | http://deb.li/dapal `- 2BAB C625 4E66 E7B8 450A C3E1 E6AA 9017 1392 B174 signature.asc Description: PGP signature
Re: Help for watch file
On Wed, 14 Jul 2010 09:53:20 +0800, Paul Wise wrote: On Wed, Jul 14, 2010 at 6:28 AM, Romain Beauxis to...@rastageeks.org 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 is okay to have one for other hosting services. We ideally want *none*. (...) I would've had tons of emails from angry users asking why it didn't work, if the redirector was actually broken :) 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 Debian nameservers Than explain me why we have wesnoth.*, tinc.*, meetbot.*, joy.* and others. I don't care for them, but since you believe nameservers are having a hard time keeping up.../ironic ;) [..] 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. Not true, a redirector is meant to change and adhere to the upstream website. This is, if Google changes again, I'll change the redirector (instead of maintainers changing debian/watch files). There 3 redirectors curently (sf, github, and google code) and all of them have been around for a while, googlecode.debian.net has been around for a bit more than one month, I wouldn't say that's anything comparable to the time sf and github ones have been up. I'm skeptical that any of these systems are going to change for us any time soon. Probably the best way to deal with that is to add code to uscan to do add the right opts rather than creating redirect sites. It looks like even sf.net could now be automatically scanned with the right downloadurlmangle and filenamemangle options. Are you volunteering to make a patch for uscan? ;) Kindly, David -- . ''`. Debian developer | http://wiki.debian.org/DavidPaleino : :' : Linuxer #334216 --|-- http://www.hanskalabs.net/ `. `'` GPG: 1392B174 | http://deb.li/dapal `- 2BAB C625 4E66 E7B8 450A C3E1 E6AA 9017 1392 B174 signature.asc Description: PGP signature
Re: Help for watch file
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 better uscan) is that you can fix a change at the target site without any new package upload. Kind regards Andreas. -- http://fam-tille.de -- 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/20100714074336.ga7...@an3as.eu
Re: Help for watch file
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. From Apache's access.log files (access_concat is the concatenation of all the rotated log files): $ grep GET /p/ access_concat.log | \ sed -n 's...@.* GET /p/\([^/ ]*\).*HTTP/.* 200 @\1@p' | \ sort -u | wc -l 88 (I only get URLs which return a 200 HTTP-code, i.e. the package exists in GoogleCode). Maybe 16+1 uploaded, and others ready in repositories tracked by PET. Also, it's being used by Ubuntu folks (I have some uscans with Ubuntu versions in the log). It's a hack, but I believe it gives the correct result. I should make some better stats, I know :) David -- . ''`. Debian developer | http://wiki.debian.org/DavidPaleino : :' : Linuxer #334216 --|-- http://www.hanskalabs.net/ `. `'` GPG: 1392B174 | http://deb.li/dapal `- 2BAB C625 4E66 E7B8 450A C3E1 E6AA 9017 1392 B174 signature.asc Description: PGP signature
Re: Help for watch file
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 andr...@an3as.eu 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/ 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 ideally want *none*. Also, I never saw a reply to Iustin Pop's email (basically saying nobody had actually contacted google code.) Neither a +1 or something to the ticket[1] opened by somebody else. [1] http://code.google.com/p/support/issues/detail?id=4042 I would've had tons of emails from angry users asking why it didn't work, if the redirector was actually broken :) 16 packages use it, there should be none. Regards, -- Raphael Geissert - Debian Developer www.debian.org - get.debian.net -- 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/i1ijfc$k0...@dough.gmane.org
Re: Help for watch file
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 ideally want *none*. (...) I would've had tons of emails from angry users asking why it didn't work, if the redirector was actually broken :) 16 packages use it, there should be none. May I ask why ? Romain -- 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/201007131728.37748.to...@rastageeks.org
Re: Help for watch file
On Wed, Jul 14, 2010 at 6:28 AM, Romain Beauxis to...@rastageeks.org 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 is okay to have one for other hosting services. We ideally want *none*. (...) I would've had tons of emails from angry users asking why it didn't work, if the redirector was actually broken :) 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 Debian nameservers less work for the person maintaining the redirector less work for the server hosting the redirector less points of failure for uscan/DEHS and thus less work for the DEHS maintainer and uscan users in figuring out failures. less work for any other distros that do all of the above 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. There 3 redirectors curently (sf, github, and google code) and all of them have been around for a while, I'm skeptical that any of these systems are going to change for us any time soon. Probably the best way to deal with that is to add code to uscan to do add the right opts rather than creating redirect sites. It looks like even sf.net could now be automatically scanned with the right downloadurlmangle and filenamemangle options. -- bye, pabs http://wiki.debian.org/PaulWise -- 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/aanlktimvbkccbboit1mo4yzcryvluk2df-ot0qgij...@mail.gmail.com
Re: Help for watch file
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.. There 3 redirectors curently (sf, github, and google code) and all of them have been around for a while, I'm skeptical that any of these systems are going to change for us any time soon. Probably the best way to deal with that is to add code to uscan to do add the right opts rather than creating redirect sites. That would be ideal because redirectors can also be a good factorization to avoid having the same arcane tricks in every watch file that needs to check a major download provider.. Romain -- 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/201007132119.53900.to...@rastageeks.org
Re: Help for watch file
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_([0-9.]+).orig.tar.gz.* Works. Thanks ANdreas. -- http://fam-tille.de -- 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/20100710161550.ge8...@an3as.eu
Help for watch file
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 this JavaScript which is now injected in this page. Some time ago the watch file worked this way. Any idea? Kind regards Andreas. -- http://fam-tille.de -- 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/20100709075820.ga5...@an3as.eu
Re: Help for watch file
On Fri, Jul 9, 2010 at 3:58 PM, Andreas Tille andr...@an3as.eu 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 -- 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/aanlktimxsxsrcp_kzwkq47dt-cgrmfwcqwnwi_kju...@mail.gmail.com
Re: Help for watch file
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\.gz but uscan does not find any matching entry - probably because all this JavaScript which is now injected in this page. Some time ago the watch file worked this way. Any idea? I just did it for irqbalance. cat debian/watch version=3 http://code.google.com/p/irqbalance/downloads/list \ .*irqbalance-([\d\.]+).tbz2.* Kind regards Cheers! Andreas. -- http://fam-tille.de signature.asc Description: Digital signature
Re: Help for watch file
2010/7/9 Aníbal Monsalve Salazar ani...@debian.org: 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.googlecode.com/files/$1_ \ http://code.google.com/p/freemedforms/downloads/list \ .*name=freediams_([\d\.]+)\.orig\.tar\.gz.* -- bye, pabs http://wiki.debian.org/PaulWise -- 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/aanlktikmukpa5jl3pzttfund2xbogyhc26poxoz7y...@mail.gmail.com
Re: Help for watch file
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/freemedforms/downloads/list \ .*freediams_([.\d]+).*\.tar\.gz.* for *detecting* that there is actually a new version, but it does not download from the server. Is this possibly connected to the problem that upstream names his tarball just orig.tar.gz (I told him not to do this - but this might take just some more releases ;-))? Newest version on remote site is 0.4.2., local version is 0.4.0 = detail already in package directory -- Scan finished Thanks for your help anyway Andreas. -- http://fam-tille.de -- 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/20100709083644.ga6...@an3as.eu
Re: Help for watch file
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\.tar\.gz.* $ uscan --verbose --verbose -- Scanning for watchfiles in . -- Found watchfile in ./debian -- In debian/watch, processing watchfile line: opts=downloadurlmangle=s_^.*name=([^]*).*_http://freemedforms.googlecode.com/files/$1_ http://code.google.com/p/freemedforms/downloads/list .*name=freediams_([\d\.]+)\.orig\.tar\.gz.* -- Found the following matching hrefs: detail?name=freediams_0.4.2.orig.tar.gzamp;can=2amp;q= detail?name=freediams_0.4.2.orig.tar.gzamp;can=2amp;q= detail?name=freediams_0.4.2.orig.tar.gzamp;can=2amp;q= detail?name=freediams_0.4.2.orig.tar.gzamp;can=2amp;q= detail?name=freediams_0.4.2.orig.tar.gzamp;can=2amp;q= detail?name=freediams_0.3.0.orig.tar.gzamp;can=2amp;q= detail?name=freediams_0.3.0.orig.tar.gzamp;can=2amp;q= detail?name=freediams_0.3.0.orig.tar.gzamp;can=2amp;q= detail?name=freediams_0.3.0.orig.tar.gzamp;can=2amp;q= detail?name=freediams_0.3.0.orig.tar.gzamp;can=2amp;q= detail?name=freediams_0.1.4.orig.tar.gzamp;can=2amp;q= detail?name=freediams_0.1.4.orig.tar.gzamp;can=2amp;q= detail?name=freediams_0.1.4.orig.tar.gzamp;can=2amp;q= detail?name=freediams_0.1.4.orig.tar.gzamp;can=2amp;q= detail?name=freediams_0.1.4.orig.tar.gzamp;can=2amp;q= detail?name=freediams_0.1.2.orig.tar.gzamp;can=2amp;q= detail?name=freediams_0.1.2.orig.tar.gzamp;can=2amp;q= detail?name=freediams_0.1.2.orig.tar.gzamp;can=2amp;q= detail?name=freediams_0.1.2.orig.tar.gzamp;can=2amp;q= detail?name=freediams_0.1.2.orig.tar.gzamp;can=2amp;q= Newest version on remote site is 0.4.2, local version is 0.4.0 = detail already in package directory -- Scan finished Unfortunately no downloads are happening (but see my last mail because of the orig.tar.gz naming issue). Kind regards Andreas. -- http://fam-tille.de -- 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/20100709084037.gb6...@an3as.eu
Re: Help for watch file
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 but uscan does not find any matching entry - probably because all this JavaScript which is now injected in this page. Some time ago the watch file worked this way. 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_([0-9.]+).orig.tar.gz.* Taken from #581622 [qa.debian.org] Please provide a code.google.com redirector Regards, Christian -- 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/4c374039.4020...@kvr.at
Re: Help for watch file
On Fri, 9 Jul 2010 16:02:13 +0800, Paul Wise wrote: On Fri, Jul 9, 2010 at 3:58 PM, Andreas Tille andr...@an3as.eu 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/ Nope, it works. You have a typo there: http://googlecode.debian.net/p/freemedforms/ I would've had tons of emails from angry users asking why it didn't work, if the redirector was actually broken :) David -- . ''`. Debian developer | http://wiki.debian.org/DavidPaleino : :' : Linuxer #334216 --|-- http://www.hanskalabs.net/ `. `'` GPG: 1392B174 | http://deb.li/dapal `- 2BAB C625 4E66 E7B8 450A C3E1 E6AA 9017 1392 B174 signature.asc Description: PGP signature
Re: Help for watch file
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 andr...@an3as.eu 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/ Nope, it works. You have a typo there: http://googlecode.debian.net/p/freemedforms/ (yes, I know, I should make a friendlier Project not found page :)) -- . ''`. Debian developer | http://wiki.debian.org/DavidPaleino : :' : Linuxer #334216 --|-- http://www.hanskalabs.net/ `. `'` GPG: 1392B174 | http://deb.li/dapal `- 2BAB C625 4E66 E7B8 450A C3E1 E6AA 9017 1392 B174 signature.asc Description: PGP signature
Re: Need help writing watch file for unusual, troublesome case.
This is a good starting point. Using filenamemangle anddownloadurlmangle you can use the above for a working watch file. Iattached it. As long as upstreams stays with this scheme (besides it isa dead project), this should work. Thank you for the watch file, Daniel. My primary machine is having some technical problems, so I can't test it out right now, but I will include it in the next xevil release. -Brandon -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Need help writing watch file for unusual, troublesome case.
Am Dienstag, den 02.09.2008, 16:31 -0700 schrieb Brandon: Creating a separate script wouldn't really make much sense in my case. I was only fixing the watch file as a formality. Upstream is dead, so I wouldn't be using it, but it would satisfy projects like dehs, and my QA page warns me about my broken watch file. I think I will just use the watch file that I mentioned in my original post. This one: version=3 http://www.xevil.com/xevil/dev/download.html (.*)/download_stable.shtml This is a good starting point. Using filenamemangle and downloadurlmangle you can use the above for a working watch file. I attached it. As long as upstreams stays with this scheme (besides it is a dead project), this should work. Regards, Daniel watch Description: application/fluid
Re: Need help writing watch file for unusual, troublesome case.
* Brandon [EMAIL PROTECTED] [080902 22:31]: Also, xevil is a dead project. The latest release was years ago, and Satan doesn't respond to email. Would you guys recommend not having a watch file? I think especially with dead upstream a watch file is usefull. If upstream is active and knows you exists or you are on the webpage from time to time, then you will notice yourself. If upstream just wakes up, puts a new version and vanishes again then a watch file is almost the only chance you have to detect it... Also email addresses often change, sometimes it helps to look for other projects of the same person to see if there are other addresses now (sometimes there is even a mailinglist there also dedicated to the old project but not listed on the old project page directly). Hochachtungsvoll, Bernhard R. Link -- Never contain programs so few bugs, as when no debugging tools are available! Niklaus Wirth -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Need help writing watch file for unusual, troublesome case.
I am attempting to write a watch file for my debian package, xevil. Here is how I would direct a human to find the latest version: 1) Go to: http://www.xevil.com/xevil/dev/download.html 2) Click on the Stable version link 3) Click on the Xevil link Here is what I have of my watch file so far: version=3 http://www.xevil.com/xevil/dev/download.html (.*)/download_stable.shtml That is the watch file equivalent to Step 1 and 2 above. Unfortunately, I don't know how to continue. How do I get subsequent lines to remember the results of previous lines? Like assigning variables in a script or program? The current upstream is: http://www.xevil.com/download/stable/xevilsrc2.02r2.zip Unfortunatley, the following watch line won't work: http://www.xevil.com/download/stable/xevilsrc(*.).zip because directory listings are (403) forbidden. Also, xevil is a dead project. The latest release was years ago, and Satan doesn't respond to email. Would you guys recommend not having a watch file? Even if so, I would really like to know how I would solve this problem, if it needed solving. For the future. -Brandon signature.asc Description: PGP signature
Re: Need help writing watch file for unusual, troublesome case.
On Tue, 02 Sep 2008, Brandon wrote: The current upstream is: http://www.xevil.com/download/stable/xevilsrc2.02r2.zip Unfortunatley, the following watch line won't work: http://www.xevil.com/download/stable/xevilsrc(*.).zip because directory listings are (403) forbidden. Also, xevil is a dead project. The latest release was years ago, and Satan doesn't respond to email. Would you guys recommend not having a watch file? Even if so, I would really like to know how I would solve this problem, if it needed solving. For the future. -Brandon Hi Brandon, If xevil is a 'dead project' having a watch file that doesn't do anything isn't very helpful either. Instead consider adding a lintian override or an empty watch file explaining why the watchfile is missing. BTW, IANADD, so listen to other opinions before doing something. Regards, Mauro -- JID: [EMAIL PROTECTED] http://lusers.com.ar/ 2B82 A38D 1BA5 847A A74D 6C34 6AB7 9ED6 C8FD F9C1 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Need help writing watch file for unusual, troublesome case.
I think your approach to the debian/watch file is sort of off, which explains why it isn't working. You want to point it to a webpage where it can get hrefs that match the given regular expression, so you want the website to actually be specified as download_stable.shtml. Something like this basically works and can be fine-tuned with a better match for the source package: version=3 http://www.xevil.com/xevil/dev/2.02r2/download_stable.shtml \ (.*)\.zip This complains about the version name but at least works: -- Scanning for watchfiles in . -- Found watchfile in ./debian -- In debian/watch, processing watchfile line: http://www.xevil.com/xevil/dev/2.02r2/download_stable.shtml (.*)\.zip -- Found the following matching hrefs: http://www.xevil.com/download/stable/xevilsrc2.02r2.zip dpkg: version 'http://www.xevil.com/download/stable/xevilsrc2.02r2' has bad syntax: epoch in version is not number Newest version on remote site is http://www.xevil.com/download/stable/xevilsrc2.02r2, local version is 2.02r2 dpkg: version 'http://www.xevil.com/download/stable/xevilsrc2.02r2' has bad syntax: epoch in version is not number = Newer version available from http://www.xevil.com/download/stable/xevilsrc2.02r2.zip -- Downloading updated package xevilsrc2.02r2.zip -- Successfully downloaded updated package xevilsrc2.02r2.zip -- Scan finished Cheers, Daniel Moerner -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Need help writing watch file for unusual, troublesome case.
On Tue, 2 Sep 2008 14:25:04 -0700 Daniel Moerner [EMAIL PROTECTED] wrote: I think your approach to the debian/watch file is sort of off, which explains why it isn't working. You want to point it to a webpage where it can get hrefs that match the given regular expression, so you want the website to actually be specified as download_stable.shtml. Something like this basically works and can be fine-tuned with a better match for the source package: version=3 http://www.xevil.com/xevil/dev/2.02r2/download_stable.shtml \ (.*)\.zip This complains about the version name but at least works: -- Scanning for watchfiles in . -- Found watchfile in ./debian -- In debian/watch, processing watchfile line: http://www.xevil.com/xevil/dev/2.02r2/download_stable.shtml (.*)\.zip -- Found the following matching hrefs: http://www.xevil.com/download/stable/xevilsrc2.02r2.zip dpkg: version 'http://www.xevil.com/download/stable/xevilsrc2.02r2' has bad syntax: epoch in version is not number Newest version on remote site is http://www.xevil.com/download/stable/xevilsrc2.02r2, local version is 2.02r2 dpkg: version 'http://www.xevil.com/download/stable/xevilsrc2.02r2' has bad syntax: epoch in version is not number = Newer version available from http://www.xevil.com/download/stable/xevilsrc2.02r2.zip -- Downloading updated package xevilsrc2.02r2.zip -- Successfully downloaded updated package xevilsrc2.02r2.zip -- Scan finished Cheers, Daniel Moerner The watch file you suggest has more problems than you noticed. 1) Did you notice how your watch line actually includes the current version number? 2.02r2? That won't work for (hypothetical) future versions. 2) uscan complains about the version name because it is wrong. We can fix it by using this line instead: http://www.xevil.com/xevil/dev/2.02r2/download_stable.shtml \ http://www.xevil.com/download/stable/xevilsrc(.*).zip Unfortunately, this fix still has the problem of the current version number (2.02r2) being in the watch file. The whole reason I'm trouble is because you have to download http://www.xevil.com/xevil/dev/download.html in order to know what the latest version is, and the xevil source archive is not mentioned on that page. This would be an easy problem to solve with a script. It would just be a few lines, and not much hassle. Unfortunately, watch files, being very simple, seem to be completely unable to solve the partiular instance where both of the following are true (such as in this case) 1) Directory listings on upstream server are forbidden 2) Source archive is not mentioned in href on page where you find out the latest version number I think this problem may be unsolvable, short of creating a new watch file format (version 4). -Brandon signature.asc Description: PGP signature
Re: Need help writing watch file for unusual, troublesome case.
You are correct: my solution obviously doesn't work, since I didn't read carefully enough. This would be an easy problem to solve with a script. It would just be a few lines, and not much hassle. Russ Allbery's blog suggests a get-orig-source debian/rules target that he uses for packaging his own scripts: http://www.eyrie.org/~eagle/notes/debian/build-tools.html#scripts I'm not sure if this is kosher with regards to the debian/rules file of a package meant to go into the actual Debian archive, but it's at least something to consider if you want to script the grabbing of the file, which debian/watch of course does not support. Daniel Moerner -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Need help writing watch file for unusual, troublesome case.
Creating a separate script wouldn't really make much sense in my case. I was only fixing the watch file as a formality. Upstream is dead, so I wouldn't be using it, but it would satisfy projects like dehs, and my QA page warns me about my broken watch file. I think I will just use the watch file that I mentioned in my original post. This one: version=3 http://www.xevil.com/xevil/dev/download.html (.*)/download_stable.shtml It won't download the latest version (it downloads download_stable.shtml) But it checks the version just fine. I'll make a note in the watch file, saying what it can do, what it can't, and why that should be OK. Thanks for your help. If anyone knows how to make my watch file download the correct file, that would be great. I think it is impossible, though. I have one more question about watch files. If I were to delete the watch file (maybe upstream website will be taken down in the future?), is there anything special I should do to override the missing watch file warnings? Is there a signal to sites like dehs that a watch file would be inappropriate for a specific project? -Brandon signature.asc Description: PGP signature
Re: Need help writing watch file for unusual, troublesome case.
Brandon [EMAIL PROTECTED] writes: I have one more question about watch files. If I were to delete the watch file (maybe upstream website will be taken down in the future?), is there anything special I should do to override the missing watch file warnings? Is there a signal to sites like dehs that a watch file would be inappropriate for a specific project? I'm of the opinion that the right solution in such cases is not to override the warning, but to make the watch file consist entirely of comments explaining the situation. DEHS and lintian will both handle that correctly (i.e. not complain), and DEHS will use the comments as an explanation on the generated web page. -- \ The opposite of a correct statement is a false statement. But | `\ the opposite of a profound truth may well be another profound | _o__) truth. —Niels Bohr | Ben Finney -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Need help writing watch file for unusual, troublesome case.
On Wed, Sep 3, 2008 at 4:30 AM, Brandon [EMAIL PROTECTED] wrote: Also, xevil is a dead project. The latest release was years ago, and Satan doesn't respond to email. Would you guys recommend not having a watch file? Even if so, I would really like to know how I would solve this problem, if it needed solving. For the future. Having dead projects in Debian isn't really a good idea, please fork the upstream code. I saw the comment at the bottom of this page, you might want to contact that guy to get him to help out: http://freshmeat.net/projects/xevil/ Please put it on one of the public project hosting sites (gna/savannah/sf/launchpad) so it can be more easily hijacked if you abandon it in the future. Please also use a DVCS like git so that it is easier for external people to backup the version control history. Also, you might want to join the Debian Games Team if you haven't already and maintain the packaging there. -- bye, pabs http://wiki.debian.org/PaulWise -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Help with watch file -- versions based on different libraries
Hello, On Wed, 13 Feb 2008, I wrote: I've been trying to write a watch file for flpsed. First of all sorry for hijacking the thread. Secondly, it is amazing how writing down one's problem makes it clear how to solve it! As far as I can see the author's logic for this somewhat bizarre numbering is the hope that by the time 0.5.x needs enough revisions to cross 0.6, everyone will be using fltk2.x anyway. Given this logic, I suppose the natural choice for the watch file would be to use 0.5.* as the pattern that needs to be matched! Thanks anyway. Regards, Kapil. -- signature.asc Description: Digital signature
Help with watch file -- versions based on different libraries
Hello, I've been trying to write a watch file for flpsed. The upstream home page is at http://www.ecademix.com/JohannesHofmann/flpsed.html This lists two versions of flpsed based on which version of the library fltk is being used. Since Debian only has fltk1.1.x at the moment, I can package only flpsed 0.5.0. However, any watch file I can cook up prefers 0.6.0 to this version. As far as I can see the author's logic for this somewhat bizarre numbering is the hope that by the time 0.5.x needs enough revisions to cross 0.6, everyone will be using fltk2.x anyway. Any solutions? Regards, Kapil. -- signature.asc Description: Digital signature
Re: Help with watch file -- pre-release upstream versions
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Leo costela Antunes wrote: Székelyi Szabolcs wrote: What's the usual way of handling preX upstream version numbers in watch files? I'm having trouble because uscan considers 1.0pre3 newer than 1.0. Perhaps mangling the upstream version to use the tilde (~) as a separator? But I don't really know if uscan even recognizes it... Thanks to all, it works this way. - -- cc -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFHsL0XGJRwVVqzMkMRAq/jAJ9FhO+irUtptNuuepW4AxBrgeAD2gCdEOxq zS0+5kZ1owexjkXz6qqAG/Q= =QW7T -END PGP SIGNATURE- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Help with watch file -- pre-release upstream versions
Am Montag, den 11.02.2008, 02:23 +0100 schrieb Székelyi Szabolcs: What's the usual way of handling preX upstream version numbers in watch files? I'm having trouble because uscan considers 1.0pre3 newer than 1.0. IMO you have two options: 1) Ignore the pre-versions by a rule like http://domain.tld/foobar-([\d.]+)\.tar\.gz if you are not going to package pre-releases. This will exclude all versions including a pre term after the version number. 2) Use a uversionsmnagle: opts=uversinmangle=s/pre/~pre/ \ http://domain.tld/foobar-(.+)\.tar\.gz Regards, Daniel
Help with watch file -- pre-release upstream versions
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi mentors, What's the usual way of handling preX upstream version numbers in watch files? I'm having trouble because uscan considers 1.0pre3 newer than 1.0. Thanks, - -- cc -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFHr6OsGJRwVVqzMkMRAkGJAJ9vz5f/dhC35Himh3yVF//w4PLXdQCdGSbo mZRhO3+yq2PIqkwxA4iNWvQ= =3dvl -END PGP SIGNATURE- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Help with watch file -- pre-release upstream versions
Hi, Székelyi Szabolcs wrote: What's the usual way of handling preX upstream version numbers in watch files? I'm having trouble because uscan considers 1.0pre3 newer than 1.0. Perhaps mangling the upstream version to use the tilde (~) as a separator? But I don't really know if uscan even recognizes it... Cheers -- Leo costela Antunes [insert a witty retort here] signature.asc Description: OpenPGP digital signature
Re: Help with watch file -- pre-release upstream versions
Székelyi Szabolcs [EMAIL PROTECTED] writes: What's the usual way of handling preX upstream version numbers in watch files? I'm having trouble because uscan considers 1.0pre3 newer than 1.0. opts=uversionmangle=s/pre/~pre/ -- Russ Allbery ([EMAIL PROTECTED]) http://www.eyrie.org/~eagle/
Re: Help with watch file
Hello Nelson, On Sat, 05 Aug 2006, Nelson A. de Oliveira wrote: On 8/4/06, martin f krafft [EMAIL PROTECTED] wrote: So I guess the watch file syntax is correct. Maybe some network problem at your side or at ftp.genetics.wustl.edu? Consider passive mode on/off ? Yes, it was this. Using uscan --pasv --verbose with uscan from Sid and from Sarge it worked. But why on my system it is not working without --pasv? Everybody else (that answered) just used uscan --verbose and it worked... Can somebody, please, explain this to me? Pssobile reasons. 1. You are using an ftp proxy setting for libwww-perl. 2. Your network has a transparent proxy setup. One way to diagnose what is the problem is to try a standard ftp client like ftp or ncftp. If that works without passive mode then it is likely that (1) is the reason. Hope this helps, Kapil. -- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Help with watch file
Hi! On 8/5/06, Kapil Hari Paranjape [EMAIL PROTECTED] wrote: But why on my system it is not working without --pasv? Everybody else (that answered) just used uscan --verbose and it worked... Can somebody, please, explain this to me? 2. Your network has a transparent proxy setup. This one is the guilty! :-) Thank you very much, Kapil! Best regards, Nelson -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Help with watch file
Hi mentors! I have one watch file with the following lines: version=3 ftp://ftp.genetics.wustl.edu/pub/eddy/software/squid-(.*)\.tar\.gz Doing an uscan --verbose, I get: $ uscan --verbose -- Scanning for watchfiles in . -- Found watchfile in ./debian -- In debian/watch, processing watchfile line: ftp://ftp.genetics.wustl.edu/pub/eddy/software/squid-(.*)\.tar\.gz uscan warning: In debian/watch no matching files for watch line ftp://ftp.genetics.wustl.edu/pub/eddy/software/squid-(.*)\.tar\.gz -- Scan finished I have tried everything to make this watch file works, but without success :-( What is the correct line to get versions from a FTP directory, with files like ftp://ftp.genetics.wustl.edu/pub/eddy/software/squid-1.9g.tar.gz? Thank you very much! Nelson -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Help with watch file
Nelson A. de Oliveira wrote: Hi mentors! I have one watch file with the following lines: version=3 ftp://ftp.genetics.wustl.edu/pub/eddy/software/squid-(.*)\.tar\.gz Doing an uscan --verbose, I get: $ uscan --verbose -- Scanning for watchfiles in . -- Found watchfile in ./debian -- In debian/watch, processing watchfile line: ftp://ftp.genetics.wustl.edu/pub/eddy/software/squid-(.*)\.tar\.gz uscan warning: In debian/watch no matching files for watch line ftp://ftp.genetics.wustl.edu/pub/eddy/software/squid-(.*)\.tar\.gz -- Scan finished I have tried everything to make this watch file works, but without success :-( What is the correct line to get versions from a FTP directory, with files like ftp://ftp.genetics.wustl.edu/pub/eddy/software/squid-1.9g.tar.gz? Thank you very much! Nelson Add debian uupdate (without quotes) at the end of the line in the watch file. -Roberto -- Roberto C. Sanchez http://familiasanchez.net/~roberto signature.asc Description: OpenPGP digital signature
Re: Help with watch file
Hi! On 8/4/06, Roberto C. Sanchez [EMAIL PROTECTED] wrote: What is the correct line to get versions from a FTP directory, with files like ftp://ftp.genetics.wustl.edu/pub/eddy/software/squid-1.9g.tar.gz? Add debian uupdate (without quotes) at the end of the line in the watch file. Still not :-( $ uscan --verbose -- Scanning for watchfiles in . -- Found watchfile in ./debian -- In debian/watch, processing watchfile line: ftp://ftp.genetics.wustl.edu/pub/eddy/software/squid-(.*)\.tar\.gz debian uupdate uscan warning: In debian/watch no matching files for watch line ftp://ftp.genetics.wustl.edu/pub/eddy/software/squid-(.*)\.tar\.gz debian uupdate -- Scan finished Nelson -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Help with watch file
On Fri, Aug 04, 2006 at 06:08:50PM -0300, Nelson A. de Oliveira wrote: Hi! On 8/4/06, Roberto C. Sanchez [EMAIL PROTECTED] wrote: What is the correct line to get versions from a FTP directory, with files like ftp://ftp.genetics.wustl.edu/pub/eddy/software/squid-1.9g.tar.gz? Add debian uupdate (without quotes) at the end of the line in the watch file. Still not :-( $ uscan --verbose -- Scanning for watchfiles in . -- Found watchfile in ./debian -- In debian/watch, processing watchfile line: ftp://ftp.genetics.wustl.edu/pub/eddy/software/squid-(.*)\.tar\.gz debian uupdate uscan warning: In debian/watch no matching files for watch line ftp://ftp.genetics.wustl.edu/pub/eddy/software/squid-(.*)\.tar\.gz debian uupdate -- Scan finished Nelson Interesting. Using version=2 or version=3 with uscan on Sarge works perfectly for me. Regards, -Roberto -- Roberto C. Sanchez http://familiasanchez.net/~roberto signature.asc Description: Digital signature
Re: Help with watch file
On Fri, 04 Aug 2006 16:45:42 -0300, Nelson A. de Oliveira wrote: I have one watch file with the following lines: version=3 ftp://ftp.genetics.wustl.edu/pub/eddy/software/squid-(.*)\.tar\.gz Doing an uscan --verbose, I get: [..] What is the correct line to get versions from a FTP directory, with files like ftp://ftp.genetics.wustl.edu/pub/eddy/software/squid-1.9g.tar.gz? Interesting. I just took your exact lines, created a fake debian/changelog (with version 1.9f-7) and got: $ uscan --verbose -- Scanning for watchfiles in . -- Found watchfile in ./debian -- In debian/watch, processing watchfile line: ftp://ftp.genetics.wustl.edu/pub/eddy/software/squid-(.*)\.tar\.gz -- Found the following matching files: squid-1.9a.tar.gz squid-1.9b.tar.gz squid-1.9c.tar.gz squid-1.9d.tar.gz squid-1.9e.tar.gz squid-1.9f.tar.gz squid-1.9g.tar.gz Newest version on remote site is 1.9g, local version is 1.9f = Newer version available from ftp://ftp.genetics.wustl.edu/pub/eddy/software/squid-1.9g.tar.gz -- Downloading updated package squid-1.9g.tar.gz ... So I guess the watch file syntax is correct. Maybe some network problem at your side or at ftp.genetics.wustl.edu? gregor -- .''`. http://info.comodo.priv.at/ | gpg key ID: 0x00F3CFE4 : :' : debian: the universal operating system - http://www.debian.org/ `. `' member of https://www.vibe.at/ | how to reply: http://got.to/quote/ `-NP: Tom Waits: All the World Is Green signature.asc Description: Digital signature
Re: Help with watch file
also sprach gregor herrmann [EMAIL PROTECTED] [2006.08.05.0010 +0100]: So I guess the watch file syntax is correct. Maybe some network problem at your side or at ftp.genetics.wustl.edu? Consider passive mode on/off ? -- Please do not send copies of list mail to me; I read the list! .''`. martin f. krafft [EMAIL PROTECTED] : :' :proud Debian developer and author: http://debiansystem.info `. `'` `- Debian - when you have better things to do than fixing a system this product is under strict quality contril with perfect packing and quality when leving the factory.please keep away from damp.high temperature or sun expose.If found any detectives when purchasing. please return the productby airmail to our administration section and inform the time, place.and store of this purchase for our improvement.We shall give you a satisfactory reply.Thanks for your patronage and welcome your comments. -- http://www.engrish.com signature.asc Description: Digital signature (GPG/PGP)
Re: Help with watch file
Hi! On 8/4/06, martin f krafft [EMAIL PROTECTED] wrote: So I guess the watch file syntax is correct. Maybe some network problem at your side or at ftp.genetics.wustl.edu? Consider passive mode on/off ? Yes, it was this. Using uscan --pasv --verbose with uscan from Sid and from Sarge it worked. But why on my system it is not working without --pasv? Everybody else (that answered) just used uscan --verbose and it worked... Can somebody, please, explain this to me? Thank you! Nelson -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]