debian/watch sf redirector docs ?
Hi. Is there any docs about the "Debian qa sf redirector" that can be used in debian/watch (apart from man uscan) ? I'm looking for a way to state which "package" must be selected... For instance, for mantis, using "http://sf.net/mantisbt/mantisbt-(.+)\.tar\.gz" would report versions like 1.2.0a3 where as one would like to select only versions among the ones available in package "mantis-stable" as listed in http://sourceforge.net/project/showfiles.php?group_id=14963 Thanks in advance. Best regards, P.S.: see #528192 for context -- Olivier BERGER http://www-public.it-sudparis.eu/~berger_o/ - OpenPGP-Id: 1024D/6B829EEC Ingénieur Recherche - Dept INF Institut TELECOM, SudParis (http://www.it-sudparis.eu/), Evry (France) -- To UNSUBSCRIBE, email to debian-qa-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Re: debian/watch sf redirector docs ?
Olivier Berger (11/05/2009): > Hi. o< > Is there any docs about the "Debian qa sf redirector" that can be used > in debian/watch (apart from man uscan) ? > > I'm looking for a way to state which "package" must be selected... > > For instance, for mantis, using > "http://sf.net/mantisbt/mantisbt-(.+)\.tar\.gz" would report versions > like 1.2.0a3 where as one would like to select only versions among the > ones available in package "mantis-stable" as listed in > http://sourceforge.net/project/showfiles.php?group_id=14963 not sure it's feasible. As a quick workaround, since the -devel ones seem to always have some letters (a for alpha, or rc), you could restrict your pattern to only match digits and dots: | -(cy...@talisker pts/3)-(/tmp/mantis-1.1.6+dfsg) | $ cat debian/watch | version=3 | opts="dversionmangle=s/\+dfsg//" \ | http://sf.net/mantisbt/mantisbt-([0-9.]+)\.tar\.gz | -(cy...@talisker pts/3)-(/tmp/mantis-1.1.6+dfsg) | $ uscan --report-status | Processing watchfile line for package mantis... | Newest version on remote site is 1.1.7, local version is 1.1.6+dfsg | (mangled local version number 1.1.6) | mantis: Newer version (1.1.7) available on remote site: | http://www.mirrorservice.org/sites/download.sourceforge.net/pub/sourceforge/m/ma/mantisbt/mantisbt-1.1.7.tar.gz | (local version is 1.1.6+dfsg, mangled local version number 1.1.6) Mraw, KiBi. signature.asc Description: Digital signature
Re: debian/watch sf redirector docs ?
Le lundi 11 mai 2009 à 15:16 +0200, Cyril Brulebois a écrit : > Olivier Berger (11/05/2009): > > Hi. > > o< > > > Is there any docs about the "Debian qa sf redirector" that can be used > > in debian/watch (apart from man uscan) ? > > > > I'm looking for a way to state which "package" must be selected... > > > > For instance, for mantis, using > > "http://sf.net/mantisbt/mantisbt-(.+)\.tar\.gz" would report versions > > like 1.2.0a3 where as one would like to select only versions among the > > ones available in package "mantis-stable" as listed in > > http://sourceforge.net/project/showfiles.php?group_id=14963 > > not sure it's feasible. As a quick workaround, since the -devel ones > seem to always have some letters (a for alpha, or rc), you could > restrict your pattern to only match digits and dots. Thanks, but I'm not so sure this is a really valid solution, without a clear assurance of the numbering scheme upstream :( As I understand it, the redirector doesn't use the web pages and goes directly checking the download areas... so no way to detect such "package" filtering ? :-( Thanks anyway. -- Olivier BERGER http://www-public.it-sudparis.eu/~berger_o/ - OpenPGP-Id: 1024D/6B829EEC Ingénieur Recherche - Dept INF Institut TELECOM, SudParis (http://www.it-sudparis.eu/), Evry (France) -- To UNSUBSCRIBE, email to debian-qa-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Re: debian/watch sf redirector docs ?
Le lundi 11 mai 2009 à 12:33 +, Bart Martens a écrit : > On Mon, May 11, 2009 at 12:04:33PM +0200, Olivier Berger wrote: > > Hi. > > > > Is there any docs about the "Debian qa sf redirector" that can be used > > in debian/watch (apart from man uscan) ? > > Not that I know of. DD's can read the source code. > And non-DDs ? ... something available somewhere in SVN on alioth by any chance ? > > > > I'm looking for a way to state which "package" must be selected... > > > > For instance, for mantis, using > > "http://sf.net/mantisbt/mantisbt-(.+)\.tar\.gz" would report versions > > like 1.2.0a3 where as one would like to select only versions among the > > ones available in package "mantis-stable" as listed in > > http://sourceforge.net/project/showfiles.php?group_id=14963 > > Here's a debian/watch that does that: > > version=3 > opts="uversionmangle=s/(\d)[\-_\.]?(rc\d+|pre-rc\d+|pre\d+a?)$/$1~$2/;s/[\-\.](source|Source|src|orig|unix)$//;s/-(bin|osx)$/~$1/;s/^v(\d)/$1/;" > \ > http://sourceforge.net/project/showfiles.php?group_id=14963&package_id=166159 > .*mantisbt[\-_](v?[\d\.]+(?:rc|rc\d+|pre-rc\d+|pre\d+a?|-unix|-source|-Source|-src|\.src|\.orig|[a-z]|b\d+|beta\d+-src|beta\d+)?)\.t.* > > The trick is to also specify "package_id=". Yes, that's what I proposed in the fix for #528192 (with much less regexes). Thanks. -- Olivier BERGER http://www-public.it-sudparis.eu/~berger_o/ - OpenPGP-Id: 1024D/6B829EEC Ingénieur Recherche - Dept INF Institut TELECOM, SudParis (http://www.it-sudparis.eu/), Evry (France) -- To UNSUBSCRIBE, email to debian-qa-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Re: debian/watch sf redirector docs ?
Olivier Berger (12/05/2009): > Le lundi 11 mai 2009 à 12:33 +, Bart Martens a écrit : > > Not that I know of. DD's can read the source code. > > And non-DDs ? ... something available somewhere in SVN on alioth by any > chance ? http://svn.debian.org/viewsvn/qa/trunk/wml/watch/ Mraw, KiBi. signature.asc Description: Digital signature
Re: debian/watch sf redirector docs ?
Le mardi 12 mai 2009 à 11:48 +0200, Cyril Brulebois a écrit : > Olivier Berger (12/05/2009): > > Le lundi 11 mai 2009 à 12:33 +, Bart Martens a écrit : > > > Not that I know of. DD's can read the source code. > > > > And non-DDs ? ... something available somewhere in SVN on alioth by any > > chance ? > > http://svn.debian.org/viewsvn/qa/trunk/wml/watch/ > Thanks. I've just added a little bit of docs pointing to it in : http://wiki.debian.org/debian/watch Regards, -- Olivier BERGER http://www-public.it-sudparis.eu/~berger_o/ - OpenPGP-Id: 1024D/6B829EEC Ingénieur Recherche - Dept INF Institut TELECOM, SudParis (http://www.it-sudparis.eu/), Evry (France) -- To UNSUBSCRIBE, email to debian-qa-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Re: debian/watch sf redirector docs ?
[Mailing you a copy, hope that's ok] Olivier Berger wrote: [...] > > As I understand it, the redirector doesn't use the web pages and goes > directly checking the download areas... so no way to detect such > "package" filtering ? :-( No, there isn't, unless sourceforge decides to make that information accessible. I need to contact them anyway to see if they are willing to help DEHS do its stuff without messing with the mirrors. Cheers, -- Raphael Geissert - Debian Maintainer www.debian.org - get.debian.net -- To UNSUBSCRIBE, email to debian-qa-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Re: debian/watch sf redirector docs ?
[Oh, just noticed you did read a message without being CC'ed] Olivier Berger wrote: [...] > > I've just added a little bit of docs pointing to it in : > http://wiki.debian.org/debian/watch > Not sure pointing to the redirector's code is a good idea, it's implementation may change at any time without further notice, provided that the http://sf.net/foo/... like watch files keep working. In fact, it has already changed once recently. Cheers, -- Raphael Geissert - Debian Maintainer www.debian.org - get.debian.net -- To UNSUBSCRIBE, email to debian-qa-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Re: debian/watch sf redirector docs ?
On Tue, May 12, 2009 at 02:26:54PM -0500, Raphael Geissert wrote: > [Mailing you a copy, hope that's ok] > > Olivier Berger wrote: > [...] > > > > As I understand it, the redirector doesn't use the web pages and goes > > directly checking the download areas... so no way to detect such > > "package" filtering ? :-( > > No, there isn't, It is possible with group_id=...&package_id=... without using the redirector. > unless sourceforge decides to make that information > accessible. I don't think we need additional info from sourceforge ; the approach with group_id=...&package_id=... is simply using the same information as used when browsing the sourceforge website. > I need to contact them anyway to see if they are willing to > help DEHS do its stuff without messing with the mirrors. It is, in my opinion, just a matter of enhancing the redirector, or documenting how things can be done without the redirector. Regards, Bart Martens -- To UNSUBSCRIBE, email to debian-qa-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Re: debian/watch sf redirector docs ?
[don't CC me, thanks] Bart Martens wrote: > On Tue, May 12, 2009 at 02:26:54PM -0500, Raphael Geissert wrote: > It is possible with group_id=...&package_id=... without using the > redirector. [...] > I don't think we need additional info from sourceforge ; the approach with > group_id=...&package_id=... is simply using the same information as used > when browsing the sourceforge website. > Sure, go ahead and see your watch files fail within a month, or whenever sourceforge makes yet another change on their website. It has already happened with the ftp mirror, the website, the downloads.sf.net pages, now the rest of the mirrors, and will happen again. The pourpose of the redirector is to provide the information without having to deal with sourceforge's mess. >> I need to contact them anyway to see if they are willing to >> help DEHS do its stuff without messing with the mirrors. > > It is, in my opinion, just a matter of enhancing the redirector, (implementation and maintenance) patches welcome > or documenting how things can be done without the redirector. No. Cheers, -- Raphael Geissert - Debian Maintainer www.debian.org - get.debian.net -- To UNSUBSCRIBE, email to debian-qa-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Re: debian/watch sf redirector docs ?
On Wed, May 13, 2009 at 9:02 AM, Raphael Geissert wrote: > Sure, go ahead and see your watch files fail within a month, or whenever > sourceforge makes yet another change on their website. > It has already happened with the ftp mirror, the website, the > downloads.sf.net pages, now the rest of the mirrors, and will happen again. > The pourpose of the redirector is to provide the information without having > to deal with sourceforge's mess. Sourceforge seems to be improving a lot lately (for example: git VCS option, support via IRC). I suggest that they might be open to providing a permanent solution to this, like direct access to an apache-generated index of files available for each project. -- bye, pabs http://wiki.debian.org/PaulWise -- To UNSUBSCRIBE, email to debian-qa-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Re: debian/watch sf redirector docs ?
Paul Wise wrote: > > Sourceforge seems to be improving a lot lately (for example: git VCS > option, support via IRC). I suggest that they might be open to > providing a permanent solution to this, like direct access to an > apache-generated index of files available for each project. > "Improving" is very subjective, but I do plan to make another attempt. There was a ticket open which tried to reach an agreement, but I can no longer find it anywhere in alexandria. Cheers, -- Raphael Geissert - Debian Maintainer www.debian.org - get.debian.net -- To UNSUBSCRIBE, email to debian-qa-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Re: debian/watch sf redirector docs ?
On Wed, May 13, 2009 at 11:12 AM, Raphael Geissert wrote: > "Improving" is very subjective, but I do plan to make another attempt. I find the recent changes to be a vast improvement on the old web interface and the old set of features. > There was a ticket open which tried to reach an agreement, but I can no > longer find it anywhere in alexandria. They switched to trac for sf.net bug reports and docs: http://p.sf.net/sourceforge/getsupport https://apps.sourceforge.net/trac/sourceforge/ Your ticket was probably transferred into trac from the tracker, you should have got a mail about closing the tracker ticket and another about opening the trac one. -- bye, pabs http://wiki.debian.org/PaulWise -- To UNSUBSCRIBE, email to debian-qa-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Re: debian/watch sf redirector docs ?
Paul Wise wrote: > On Wed, May 13, 2009 at 11:12 AM, Raphael Geissert > wrote: > >> "Improving" is very subjective, but I do plan to make another attempt. > > I find the recent changes to be a vast improvement on the old web > interface and the old set of features. > And I find some of them a major regression, but that's irrelevant. > > They switched to trac for sf.net bug reports and docs: > It was not me who opened the ticket, I would otherwise have a link on my personal page; and last time I searched it was more than four months ago and it didn't show up anywhere, not even on the closed tickets list. Cheers, -- Raphael Geissert - Debian Maintainer www.debian.org - get.debian.net -- To UNSUBSCRIBE, email to debian-qa-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org