[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, Sep 03, 2010 at 11:22:10AM +0200, David Paleino wrote:
> It already does this. However, sometimes Google changes their code a bit [1],
> so the HTML parser fails, and someone needs to ping me (if I'm not already
> aware).
> Here's what I used up to now:
>     pattern = "
>     onclick=\"location.href='(http:\/\/%s.googlecode.com\/files\/.*)';.*\"$"
> (%s is the project name).
> Here it is, the new pattern:
>     pattern = " <a href=\"(http:\/\/%s.googlecode.com/files/.*)\" onclick=.*$"
> I just pushed it [2], and it works again: http://googlecode.debian.net/p/clive
> I understand that, being a non-official service, hosted on a non-Debian machine,
> pinging me each time it breaks could be annoying (also given the frequency
> Google changes its code9 -- but I don't see any other way :/

Thank you for fixing it!

Bests, Ciao

Attachment: signature.asc
Description: Digital signature

Reply to: