r83001 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r83000‎ | r83001 | r83002 >
Date:02:14, 1 March 2011
Author:tstarling
Status:deferred
Tags:
Comment:
Various updates for MediaWiki 1.17.
Modified paths:
  • /trunk/debs/wikimedia-task-appserver/debian/changelog (modified) (history)
  • /trunk/debs/wikimedia-task-appserver/scap-1 (modified) (history)
  • /trunk/debs/wikimedia-task-appserver/scap-1skins (modified) (history)
  • /trunk/debs/wikimedia-task-appserver/scap-2 (modified) (history)
  • /trunk/debs/wikimedia-task-appserver/set-group-write2 (modified) (history)
  • /trunk/debs/wikimedia-task-appserver/sync-common (modified) (history)

Diff [purge]

Index: trunk/debs/wikimedia-task-appserver/set-group-write2
@@ -3,7 +3,7 @@
44 PATH=/bin:/usr/bin:/sbin:/usr/sbin
55
66 target1=/var/tmp/texvc
7 -target2=/apache/common/php-1.5
 7+target2=/apache/common/php-1.17
88
99 find $target1 -group wikidev -not -perm -020 -perm -200 -exec chmod g+w '{}' ';'
1010 find $target2 -group wikidev -not -perm -020 -perm -200 -exec chmod g+w '{}' ';'
Index: trunk/debs/wikimedia-task-appserver/debian/changelog
@@ -1,3 +1,9 @@
 2+wikimedia-task-appserver (1.47) hardy-wikimedia; urgency=low
 3+
 4+ * Updated sync scripts for MW 11.17
 5+
 6+ -- Tim Starling <tstarling@wikimedia.org> Tue, 01 Mar 2011 13:13:43 +1100
 7+
28 wikimedia-task-appserver (1.46-2~hardy1) hardy-wikimedia; urgency=low
39
410 * Build for hardy-wikimedia
Index: trunk/debs/wikimedia-task-appserver/sync-common
@@ -9,13 +9,13 @@
1010 export PATH=/bin:/usr/bin:/sbin:/usr/sbin
1111
1212 # Set ownership
13 -[ -d /usr/local/apache/common-local/php-1.5 ] || mkdir -p /usr/local/apache/common-local/php-1.5
14 -find /usr/local/apache/common/php-1.5 -group wikidev -not -perm -020 -perm -200 -exec chmod g+w '{}' ';'
 13+[ -d /usr/local/apache/common-local/php-1.17 ] || mkdir -p /usr/local/apache/common-local/php-1.17
 14+find /usr/local/apache/common/php-1.17 -group wikidev -not -perm -020 -perm -200 -exec chmod g+w '{}' ';'
1515
1616 # Compile texvc
1717 echo -n Compiling texvc...
1818 [ -d /var/tmp/texvc ] || mkdir /var/tmp/texvc
19 -rsync -r --exclude=.svn/ 10.0.5.8::common/php-1.5/math/ /var/tmp/texvc
 19+rsync -r --exclude=.svn/ 10.0.5.8::common/php-1.17/math/ /var/tmp/texvc
2020 cd /var/tmp/texvc
2121 make -f Makefile texvc >/dev/null 2>/dev/null && echo ok || echo failed
2222 sudo /usr/sbin/install-common
Index: trunk/debs/wikimedia-task-appserver/scap-1
@@ -3,12 +3,12 @@
44 # Compile as regular user
55 echo -n Compiling texvc...
66 [ -d /var/tmp/texvc ] || mkdir /var/tmp/texvc
7 -rsync -r --exclude=.svn/ 10.0.5.8::common/php-1.5/math/ /var/tmp/texvc
 7+rsync -r --exclude=.svn/ 10.0.5.8::common/php-1.17/math/ /var/tmp/texvc
88 cd /var/tmp/texvc
99 make -f Makefile texvc >/dev/null 2>/dev/null && echo ok || echo failed
1010
1111 # Copy and install as root
12 -sudo /usr/sbin/scap15-2
 12+sudo /usr/sbin/scap-2
1313
1414 echo Done
1515
Index: trunk/debs/wikimedia-task-appserver/scap-2
@@ -2,8 +2,8 @@
33
44 PATH=/bin:/usr/bin:/sbin:/usr/sbin:
55
6 -echo -n Updating php-1.5...
7 -rsync -a 10.0.5.8::common/php-1.5/ /usr/local/apache/common-local/php-1.5 && echo ok || echo failed
 6+echo -n Updating php-1.17...
 7+rsync -a 10.0.5.8::common/php-1.17/ /usr/local/apache/common-local/php-1.17 && echo ok || echo failed
88
99 # Install compiled executables
1010 /usr/sbin/install-common
Index: trunk/debs/wikimedia-task-appserver/scap-1skins
@@ -1,5 +1,5 @@
22 #!/bin/sh
33
4 -rsync -a 10.0.5.8::common/php-1.5/skins/ \
5 - /usr/local/apache/common-local/php-1.5/skins \
 4+rsync -a 10.0.5.8::common/php-1.17/skins/ \
 5+ /usr/local/apache/common-local/php-1.17/skins \
66 && echo ok || echo failed

Status & tagging log