com web/master: fetch the files from git instead of svn for the reST stuff: scripts/rest_render scripts/update-backend

From: Date: Sat, 21 Jul 2012 00:28:11 +0000
Subject: com web/master: fetch the files from git instead of svn for the reST stuff: scripts/rest_render scripts/update-backend
Groups: php.webmaster 
Request: Send a blank email to php-webmaster+get-13978@lists.php.net to get a copy of this message
Commit: 0f44d494a50b168b363c1e60dd09f5a19e6fe21e Author: Ferenc Kovacs <tyra3l@gmail.com> Sat, 21 Jul 2012 02:28:11 +0200 Parents: 99a128b5ba483e4cbf8b846bf39bd4ae9cda875e Branches: master Link: http://git.php.net/?p=web/master.git;a=commitdiff;h=0f44d494a50b168b363c1e60dd09f5a19e6fe21e Log: fetch the files from git instead of svn for the reST stuff Changed paths: M scripts/rest_render M scripts/update-backend Diff: diff --git a/scripts/rest_render b/scripts/rest_render index e1dc63c..78029a6 100644 --- a/scripts/rest_render +++ b/scripts/rest_render @@ -20,7 +20,7 @@ function pregen_rest_files($rest_dir, $urls) { } } - $base_url = 'http://svn.php.net/repository/php/'; + $base_url = 'http://git.php.net/?p=php-src.git;a=blob_plain;f='; $curr = error_reporting(); error_reporting($curr ^ (E_STRICT|E_DEPRECATED)); diff --git a/scripts/update-backend b/scripts/update-backend index 72a1988..0955064 100755 --- a/scripts/update-backend +++ b/scripts/update-backend @@ -57,10 +57,10 @@ pregenerate_version_feed("$root/include/version.inc", "$root/include/releases.in include "rest_render"; /* URLs to parse/render */ $urls = array( - 'php-src/trunk/CODING_STANDARDS', - 'php-src/trunk/README.SVN-RULES', - 'php-src/trunk/README.MAILINGLIST_RULES', - 'php-src/trunk/README.RELEASE_PROCESS', + 'CODING_STANDARDS', + 'README.GIT-RULES', + 'README.MAILINGLIST_RULES', + 'README.RELEASE_PROCESS', ); pregen_rest_files("$root/reST/cache/", $urls);

« previous php.webmaster (#13978) next »