r97709 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r97708‎ | r97709 | r97710 >
Date:09:06, 21 September 2011
Author:ezachte
Status:deferred
Tags:
Comment:
store large and seldom updated revert history files in separate archive
Modified paths:
  • /trunk/wikistats/dumps/zip_csv.sh (modified) (history)

Diff [purge]

Index: trunk/wikistats/dumps/zip_csv.sh
@@ -9,8 +9,12 @@
1010
1111 echo "rebuild /a/wikistats/zip_all/csv_$1.zip"
1212 rm /a/wikistats/zip_all/csv_$1.zip
13 -zip -q /a/wikistats/zip_all/csv_$1.zip *.csv
 13+zip -q /a/wikistats/zip_all/csv_$1.zip *.csv -x Revert* EditsBreakdownPerUserPerMonth*XX*.csv
1414
 15+echo "rebuild /a/wikistats/zip_all/csv_$1_reverts.zip"
 16+rm /a/wikistats/zip_all/csv_$1_reverts.zip
 17+zip -q /a/wikistats/zip_all/csv_$1_reverts.zip *.csv -i Revert*
 18+
1519 echo "rebuild /a/wikistats/zip_all/bz2_$1.zip"
1620 rm /a/wikistats/zip_all/bz2_$1.zip
1721 zip -q /a/wikistats/zip_all/bz2_$1.zip *.bz2

Status & tagging log