r64212 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r64211‎ | r64212 | r64213 >
Date:07:00, 26 March 2010
Author:tstarling
Status:ok
Tags:
Comment:
Some tweaks, will test shortly.
Modified paths:
  • /trunk/tools/make-wmf-branch/default.conf (modified) (history)
  • /trunk/tools/make-wmf-branch/make-wmf-branch (modified) (history)

Diff [purge]

Index: trunk/tools/make-wmf-branch/make-wmf-branch
@@ -22,6 +22,7 @@
2323 var $newVersion, $oldVersion, $codeDir, $buildDir;
2424 var $normalExtensions, $specialExtensions, $patches, $preservedItems;
2525 var $destBaseUrl, $mainSourceUrl;
 26+ var $unwantedExternals;
2627
2728 function __construct( $newVersion, $oldVersion ) {
2829 $this->newVersion = $newVersion;
@@ -38,6 +39,7 @@
3940 $this->buildDir = $buildDir;
4041 $this->normalExtensions = $normalExtensions;
4142 $this->specialExtensions = $specialExtensions;
 43+ $this->unwantedExternals = $unwantedExternals;
4244 $this->patches = $patches;
4345 $this->preservedItems = $preservedItems;
4446 $this->destBaseUrl = $destBaseUrl;
@@ -131,9 +133,14 @@
132134
133135 # Apply patches
134136 foreach ( $this->patches as $patch ) {
135 - $this->runCmd( 'svn', 'merge', '-c', $patch['rev'], $patch['base'], $destRel );
 137+ $this->runCmd( 'svn', 'merge', '-q', '-c', $patch['rev'], $patch['base'], $destRel );
136138 }
137139
 140+ # Remove unwanted externals
 141+ foreach ( $this->unwantedExternals as $external ) {
 142+ $this->runCmd( 'svn', 'propdel', '-q', 'svn:externals', "$destRel/$external" );
 143+ }
 144+
138145 # Do the final commit
139146 $this->runWriteCmd( 'svn', 'ci', '-q', '-m',
140147 'Applied local patches for new WMF branch' );
Index: trunk/tools/make-wmf-branch/default.conf
@@ -88,7 +88,6 @@
8989 'TrustedXFF',
9090 'UnicodeConverter',
9191 'UploadBlacklist',
92 - 'UsabilityInitiative',
9392 'wikidiff',
9493 'wikidiff2',
9594 'wikihiero',
@@ -100,6 +99,7 @@
101100 'LiquidThreads' => '^/branches/wmf/1.16wmf3/extensions/LiquidThreads',
102101 'FlaggedRevs_alpha' => '^/branches/wmf/1.16wmf3/extensions/FlaggedRevs_alpha',
103102 'FlaggedRevs' => '^/branches/wmf/1.16wmf3/extensions/FlaggedRevs',
 103+ 'UsabilityInitiative' => '^/branches/1.16wmf3/extensions/UsabilityInitiative',
104104 );
105105
106106 $preservedItems = array(
@@ -108,11 +108,16 @@
109109 'maintenance/jobs-loop.sh',
110110 'maintenance/storage/recompressTracked.sh',
111111 'maintenance/storage/testRctComplete.php',
 112+ 'maintenance/storage/make-all-blobs',
112113
113114 # Not needed because we copy from 1.16wmf3 for now
114115 #'extensions/FlaggedRevs/maintenance/wikimedia-periodic-update.sh',
115116 );
116117
 118+$unwantedExternals = array(
 119+ 'extensions/SyntaxHighlight_GeSHi',
 120+);
 121+
117122 $destBaseUrl = 'svn+ssh://svn.wikimedia.org/svnroot/mediawiki/branches/wmf';
118123 $mainSourceUrl = '^/trunk';
119124 $patches = array(

Status & tagging log