https://www.mediawiki.org/wiki/Special:Code/MediaWiki/114777
Revision: 114777
Author: catrope
Date: 2012-04-06 21:30:43 +0000 (Fri, 06 Apr 2012)
Log Message:
-----------
Exclude .git directories from rsync in scap. For the main sync we need the .git
metadata for Special:Version to work, so only exclude .git/objects (which is
where the bloat is) there
Modified Paths:
--------------
trunk/debs/wikimedia-task-appserver/debian/changelog
trunk/debs/wikimedia-task-appserver/scap-2
Modified: trunk/debs/wikimedia-task-appserver/debian/changelog
===================================================================
--- trunk/debs/wikimedia-task-appserver/debian/changelog 2012-04-06
21:28:12 UTC (rev 114776)
+++ trunk/debs/wikimedia-task-appserver/debian/changelog 2012-04-06
21:30:43 UTC (rev 114777)
@@ -1,3 +1,9 @@
+wikimedia-task-appserver (2.3-5) hardy-wikimedia; urgency=low
+
+ * Exclude .git/objects from rsync in scap
+
+ -- Roan Kattouw <catrope@roanLaptop> Fri, 06 Apr 2012 14:29:22 -0700
+
wikimedia-task-appserver (2.3-4) hardy-wikimedia; urgency=low
* Fix for mw-cksum-list (thanks to Asher)
Modified: trunk/debs/wikimedia-task-appserver/scap-2
===================================================================
--- trunk/debs/wikimedia-task-appserver/scap-2 2012-04-06 21:28:12 UTC (rev
114776)
+++ trunk/debs/wikimedia-task-appserver/scap-2 2012-04-06 21:30:43 UTC (rev
114777)
@@ -3,7 +3,7 @@
PATH=/bin:/usr/bin:/sbin:/usr/sbin:
echo -n Copying to `hostname -s`...
-if rsync -a --delete --exclude=**/.svn/lock --no-perms \
+if rsync -a --delete --exclude=**/.svn/lock --exclude=**/.git/objects
--no-perms \
10.0.5.8::common/ /usr/local/apache/common-local
then
echo "ok"
@@ -35,7 +35,7 @@
MATHPATH=$mwIP/math
fi
- rsync -r --exclude=.svn/ $MATHPATH/ "$builddir"
+ rsync -r --exclude=.svn/ --exclude=.git/ $MATHPATH/ "$builddir"
cd "$builddir"
if make -f Makefile texvc >/dev/null 2>/dev/null; then
echo "ok"
_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs