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

Re: Bug#581622: [qa.debian.org] Please provide a code.google.com redirector



On Fri, 3 Sep 2010 08:01:35 +0200
Salvatore Bonaccorso <salvatore.bonaccorso@gmail.com> wrote:

> On Wed, Jun 02, 2010 at 10:14:38PM +0200, David Paleino wrote:
> > Hello people,
> > 
> > On Fri, 14 May 2010 13:07:32 +0200, Peter Fritzsche wrote:
> >   
> > > code.google.com seems to become one of the most used code hosting
> > > websites [..]  
> > 
> > I was not aware of this bug, and a couple of days ago I launched a
> > googlecode redirector [0]: http://googlecode.debian.net . I hope it's
> > useful for you :)
> > 
> > (on a side note, as a QA effort, maybe we should list currently available
> > *.debian.net redirectors in a wiki.debian.org page?)  
> 
> I do not know if someone already posted, did not found. The googlecode
> redirector seems to not work anymore. E.g. if I use
> 
> 	http://googlecode.debian.net/p/clive
> 
> it returns nothing. 

  It's trying to retrieve http://p.googlecode.com/files/<projectname> but
  files are now at http://<projectname>.googlecode.com/files/<filename>.

  Anyway now the http://<projectname>.googlecode.com/files/ URL is not
  listable, so chances are this approach has died. 

  I guess this redirector should be changed to parse the page
  http://code.google.com/p/<projectname>/downloads/list instead, which
  should be no problem. Just for fun played a bit and got this pipe to show
  the list of files from that page:

  wget -O - 'http://code.google.com/p/<projectname>/downloads/list' | grep
  'href="detail?name=' | grep -v onclick | cut -f 1 -d \& | cut -f 3 -d =

  regards,
-- 
 Ricardo Mones
 http://people.debian.org/~mones
 «Anyone who has had a bull by the tail knows five or six more things 
 than someone who hasn't. -- Mark Twain»

Attachment: signature.asc
Description: PGP signature


Reply to: