[wp-hackers] On Subversion and 2.5.x-alpha not being in Trunk
xel at netgra.de
Fri May 16 08:24:38 GMT 2008
yep it can not handle them...
I tried to map everything inside there (even the headers) but that doesn't
help by any means because apache will not respond to PROPFIND and stuff...
Here is how I extended to script:
$info = file_get_contents('http://api.wordpress.org/core/version-check/1.1/'
$info = explode("\n", $info);
$version = $info;
$file = str_replace('wp-stable','',$_SERVER['REQUEST_URI']);
Anybody any ideas how to make apache just let me map everything?
I wouldn't matter to map all this cause what needs to be accessed would need
to be transfered anyway... so it wouldn't create much overhead if you run it
2008/5/16 DD32 <wordpress at dd32.id.au>:
> Pfft, I thought, "Hey!, Why not just setup a external page which redirects
> SVN to the correct tag/branch"
> $info = file_get_contents('
> $info = explode("\n", $info);
> $version = $info;
> header("Location: http://svn.automattic.com/wordpress/tags/$version");
> ..You'd think that'd work, but as it turns out, SVN cant actually handle
> 301/302 redirections..
> On Fri, 16 May 2008 17:11:25 +1000, Alexander Beutl <xel at netgra.de> wrote:
>>> I'd suggest having:
>>> That would return one line that contained just the version string, if it
>>> were in place today it would return: 2.5.1
>> I don't know if that one is new but take a look at:
>> which will return the current version in the 3rd line.
>> Just if this is any help for anyone...
>> I would like to see a "stable"-Tag or "stable"-Branch too.
>> Even if this is a second line one would need to write....
>> Wouldn't be comlex to setup some shellscript to do it with only one call
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
More information about the wp-hackers