r95805 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r95804‎ | r95805 | r95806 >
Date:19:08, 30 August 2011
Author:aaron
Status:ok
Tags:
Comment:
eol-style native
Modified paths:
  • /trunk/debs/wikimedia-task-appserver/apache-sanity-check (modified) (history)
  • /trunk/debs/wikimedia-task-appserver/apache-start (modified) (history)
  • /trunk/debs/wikimedia-task-appserver/authorized_keys (modified) (history)
  • /trunk/debs/wikimedia-task-appserver/check-time (modified) (history)
  • /trunk/debs/wikimedia-task-appserver/mwversionsinuse (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/sync-common (modified) (history)

Diff [purge]

Index: trunk/debs/wikimedia-task-appserver/mwversionsinuse
@@ -1,6 +1,6 @@
2 -#!/bin/sh
3 -# Shell wrapper for the local version of multiversion/activeMWVersions.
4 -# This script belongs in /usr/bin/ and should be in PATH.
5 -if ! /usr/local/apache/common-local/multiversion/activeMWVersions "$@"; then
6 - exit 1
7 -fi
 2+#!/bin/sh
 3+# Shell wrapper for the local version of multiversion/activeMWVersions.
 4+# This script belongs in /usr/bin/ and should be in PATH.
 5+if ! /usr/local/apache/common-local/multiversion/activeMWVersions "$@"; then
 6+ exit 1
 7+fi
Property changes on: trunk/debs/wikimedia-task-appserver/mwversionsinuse
___________________________________________________________________
Added: svn:eol-style
88 + native
Property changes on: trunk/debs/wikimedia-task-appserver/apache-sanity-check
___________________________________________________________________
Added: svn:eol-style
99 + native
Property changes on: trunk/debs/wikimedia-task-appserver/sync-common
___________________________________________________________________
Added: svn:eol-style
1010 + native
Property changes on: trunk/debs/wikimedia-task-appserver/scap-1
___________________________________________________________________
Added: svn:eol-style
1111 + native
Index: trunk/debs/wikimedia-task-appserver/scap-2
@@ -1,51 +1,51 @@
2 -#!/bin/bash
3 -
4 -PATH=/bin:/usr/bin:/sbin:/usr/sbin:
5 -
6 -echo -n Copying to `hostname -s`...
7 -if rsync -a --delete --exclude=**/.svn/lock --no-perms \
8 - 10.0.5.8::common/ /usr/local/apache/common-local
9 -then
10 - echo "ok"
11 -else
12 - echo "failed"
13 - exit 1
14 -fi
15 -
16 -# wikiversions.dat just synced above
17 -mwVersionNums=`mwversionsinuse`
18 -if [ -z "$mwVersionNums" ]; then
19 - echo "Unable to read wikiversions.dat or it is empty"
20 - exit 1
21 -fi
22 -
23 -for mwVerNum in "${mwVersionNums[@]}"
24 -do
25 - echo "MediaWiki $mwVerNum: Compiling texvc..."
26 - builddir=`mktemp -dt texvc-build.XXXXXXXXXX`
27 - if [ -z "$builddir" ]; then
28 - echo "Unable to create temporary directory"
29 - exit 1
30 - fi
31 -
32 - IP=/usr/local/apache/common-local/php-"$mwVerNum"
33 - # Math was moved out to an extension in MW 1.18
34 - if [ -d $IP/extensions/Math/math ]; then
35 - MATHPATH=$IP/extensions/Math/math
36 - else
37 - MATHPATH=$IP/math
38 - fi
39 -
40 - rsync -r --exclude=.svn/ $MATHPATH/ "$builddir"
41 - cd "$builddir"
42 - if make -f Makefile texvc >/dev/null 2>/dev/null; then
43 - echo "ok"
44 - install -d /usr/local/apache/uncommon/"$mwVerNum"/bin
45 - install -m 755 "$builddir"/texvc /usr/local/apache/uncommon/"$mwVerNum"/bin
46 - else
47 - echo "failed"
48 - exit 1
49 - fi
50 - rm -r "$builddir"
51 - cd /
52 -done
 2+#!/bin/bash
 3+
 4+PATH=/bin:/usr/bin:/sbin:/usr/sbin:
 5+
 6+echo -n Copying to `hostname -s`...
 7+if rsync -a --delete --exclude=**/.svn/lock --no-perms \
 8+ 10.0.5.8::common/ /usr/local/apache/common-local
 9+then
 10+ echo "ok"
 11+else
 12+ echo "failed"
 13+ exit 1
 14+fi
 15+
 16+# wikiversions.dat just synced above
 17+mwVersionNums=`mwversionsinuse`
 18+if [ -z "$mwVersionNums" ]; then
 19+ echo "Unable to read wikiversions.dat or it is empty"
 20+ exit 1
 21+fi
 22+
 23+for mwVerNum in "${mwVersionNums[@]}"
 24+do
 25+ echo "MediaWiki $mwVerNum: Compiling texvc..."
 26+ builddir=`mktemp -dt texvc-build.XXXXXXXXXX`
 27+ if [ -z "$builddir" ]; then
 28+ echo "Unable to create temporary directory"
 29+ exit 1
 30+ fi
 31+
 32+ IP=/usr/local/apache/common-local/php-"$mwVerNum"
 33+ # Math was moved out to an extension in MW 1.18
 34+ if [ -d $IP/extensions/Math/math ]; then
 35+ MATHPATH=$IP/extensions/Math/math
 36+ else
 37+ MATHPATH=$IP/math
 38+ fi
 39+
 40+ rsync -r --exclude=.svn/ $MATHPATH/ "$builddir"
 41+ cd "$builddir"
 42+ if make -f Makefile texvc >/dev/null 2>/dev/null; then
 43+ echo "ok"
 44+ install -d /usr/local/apache/uncommon/"$mwVerNum"/bin
 45+ install -m 755 "$builddir"/texvc /usr/local/apache/uncommon/"$mwVerNum"/bin
 46+ else
 47+ echo "failed"
 48+ exit 1
 49+ fi
 50+ rm -r "$builddir"
 51+ cd /
 52+done
Property changes on: trunk/debs/wikimedia-task-appserver/scap-2
___________________________________________________________________
Added: svn:eol-style
5353 + native
Property changes on: trunk/debs/wikimedia-task-appserver/authorized_keys
___________________________________________________________________
Added: svn:eol-style
5454 + native
Property changes on: trunk/debs/wikimedia-task-appserver/check-time
___________________________________________________________________
Added: svn:eol-style
5555 + native
Property changes on: trunk/debs/wikimedia-task-appserver/apache-start
___________________________________________________________________
Added: svn:eol-style
5656 + native
Property changes on: trunk/debs/wikimedia-task-appserver/scap-1skins
___________________________________________________________________
Added: svn:eol-style
5757 + native

Follow-up revisions

RevisionCommit summaryAuthorDate
r96377MFT r91703-r95805 from debs/wikimedia-task/appserveraaron22:13, 6 September 2011

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r95713* Updated scripts with the ones from /multiversion/scripts (mwversionsinuse a...aaron22:20, 29 August 2011

Status & tagging log