[wp-hackers] SVN symlink for stable version

Joost de Valk joost at joostdevalk.nl
Sun Jan 20 13:26:12 GMT 2008


On Jan 20, 2008, at 2:24 PM, Jeremy Visser wrote:

> On Sun, 2008-01-20 at 14:00 +0100, Joost de Valk wrote:
>> Might be a stupid question, but is there a way to download the latest
>> stable version without "knowing" what the latest stable version is?
>> I'd like to be able to do
>>
>> svn co http://svn.automattic.com/wordpress/tags/current
>>
>> or something to that effect...
>
> It would be pretty hard to do in SVN. You have to do it by creating a
> "stable" branch, and be forever merging changes into it.
>
> Now, my idea was to create a redirect to the latest stable tag, but
> unfortunately SVN bombs out when it encounters a redirect ("Error 301"
> or "Error 302" or the like) instead of following it.
>
> This has been discussed before, and the general consensus was that it
> was impossible/impractical.
>
> If you're doing this via a script, you may be able to query
> api.wordpress.org for the latest version somehow, and then download  
> the
> right tag from what a.w.o returns.
>
Hmm ok, thanks :)


More information about the wp-hackers mailing list