Gilles has uploaded a new change for review. https://gerrit.wikimedia.org/r/132930
Change subject: Global-specific section is no longer needed ...................................................................... Global-specific section is no longer needed Those get grabbed in the general loop, we were generating global data twice for every type. Change-Id: Idbe03097309aea9d35b2c2b045b2bf55584c4028 --- M build-action-tsvs M build-geoperf-tsvs M build-perf-tsvs 3 files changed, 0 insertions(+), 24 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/analytics/multimedia refs/changes/30/132930/1 diff --git a/build-action-tsvs b/build-action-tsvs index a68ff5b..c8a0f03 100755 --- a/build-action-tsvs +++ b/build-action-tsvs @@ -6,10 +6,6 @@ TSV_DIR="/home/$REMOTEUSER/tsvs_new" PUBLIC_DIR="/a/public-datasets/all/multimedia" -echo "Updating global action counts..." -globaltsvpath="$TSV_DIR/mv_global.tsv" -$MYSQL_CMD < $SQL_DIR/global.sql > $globaltsvpath && mv $globaltsvpath $PUBLIC_DIR/media-viewer-actions-global.tsv - for sqlpath in `ls $SQL_DIR/*.sql | grep -v template.sql`; do wikiname=`basename $sqlpath | sed "s/.sql//"` echo "Updating action counts for $wikiname wiki..." diff --git a/build-geoperf-tsvs b/build-geoperf-tsvs index 16d3376..52a5a8f 100755 --- a/build-geoperf-tsvs +++ b/build-geoperf-tsvs @@ -6,16 +6,6 @@ TSV_DIR="/home/$REMOTEUSER/tsvs_new" PUBLIC_DIR="/a/public-datasets/all/multimedia" -echo "Updating global geo perf data..." -for sqlfilepath in `ls $SQL_DIR/global-*.sql`; do - statname=`basename $sqlfilepath | sed "s/global-//" | sed "s/.sql//"` - echo " $statname..." - tsvpath=$TSV_DIR/mvp_global-$statname.tsv - $MYSQL_CMD < $sqlfilepath > $tsvpath - mv -f $tsvpath $PUBLIC_DIR/media-viewer-geoperf-global-$statname.tsv -done -echo " Done!" - for sqlpath in `ls $SQL_DIR/*-image.sql | grep -v template.sql`; do wikiname=`basename $sqlpath | sed "s/-image.sql//"` echo "Updating geo perf data for $wikiname wiki..." diff --git a/build-perf-tsvs b/build-perf-tsvs index 7b1e705..f58c24d 100755 --- a/build-perf-tsvs +++ b/build-perf-tsvs @@ -6,16 +6,6 @@ TSV_DIR="/home/$REMOTEUSER/tsvs_new" PUBLIC_DIR="/a/public-datasets/all/multimedia" -echo "Updating global perf data..." -for sqlfilepath in `ls $SQL_DIR/global-*.sql`; do - statname=`basename $sqlfilepath | sed "s/global-//" | sed "s/.sql//"` - echo " $statname..." - tsvpath=$TSV_DIR/mvp_global-$statname.tsv - $MYSQL_CMD < $sqlfilepath > $tsvpath - mv -f $tsvpath $PUBLIC_DIR/media-viewer-perf-global-$statname.tsv -done -echo " Done!" - for sqlpath in `ls $SQL_DIR/*-filerepoinfo.sql | grep -v template.sql`; do wikiname=`basename $sqlpath | sed "s/-filerepoinfo.sql//"` echo "Updating perf data for $wikiname wiki..." -- To view, visit https://gerrit.wikimedia.org/r/132930 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Idbe03097309aea9d35b2c2b045b2bf55584c4028 Gerrit-PatchSet: 1 Gerrit-Project: analytics/multimedia Gerrit-Branch: master Gerrit-Owner: Gilles <gdu...@wikimedia.org> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits