r47777 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r47776‎ | r47777 | r47778 >
Date:02:06, 25 February 2009
Author:tstarling
Status:ok
Tags:
Comment:
* Fixed working copy dir in svn-invoker.php
* Removed the $wgExtDistBranches default list and added it to CommonSettings.php instead, apparently a simple comment is not enough to stop people from editing it without simultaneously updating the copy on the server.
Modified paths:
  • /trunk/extensions/ExtensionDistributor/ExtensionDistributor.php (modified) (history)
  • /trunk/extensions/ExtensionDistributor/svn-invoker.php (modified) (history)

Diff [purge]

Index: trunk/extensions/ExtensionDistributor/svn-invoker.php
@@ -9,7 +9,7 @@
1010 exit( 1 );
1111 }
1212
13 -$wgExtDistWorkingCopy = '/home/wikipedia/ExtensionDistributor/mw-snapshot';
 13+$wgExtDistWorkingCopy = '/mnt/upload5/private/ExtensionDistributor/mw-snapshot';
1414 svnExecute();
1515
1616 function svnValidate( $s ) {
Index: trunk/extensions/ExtensionDistributor/ExtensionDistributor.php
@@ -24,24 +24,7 @@
2525 * To add a branch, first check out the new branch in $wgExtDistWorkingCopy, and
2626 * then add it here. Do not add a branch here without first checking it out.
2727 */
28 -$wgExtDistBranches = array(
29 - 'trunk' => array(
30 - 'tarLabel' => 'trunk',
31 - 'msgName' => 'extdist-current-version',
32 - ),
33 - 'branches/REL1_14' => array(
34 - 'tarLabel' => 'MW1.14',
35 - 'name' => '1.14.x',
36 - ),
37 - 'branches/REL1_13' => array(
38 - 'tarLabel' => 'MW1.13',
39 - 'name' => '1.13.x',
40 - ),
41 - 'branches/REL1_12' => array(
42 - 'tarLabel' => 'MW1.12',
43 - 'name' => '1.12.x',
44 - ),
45 -);
 28+$wgExtDistBranches = array();
4629
4730 /** Remote socket for svn-invoker.php (optional) */
4831 $wgExtDistRemoteClient = false;

Status & tagging log