Addshore has uploaded a new change for review. https://gerrit.wikimedia.org/r/276430
Change subject: Fix path in metrics.php ...................................................................... Fix path in metrics.php Change-Id: I987074bdd0ddad5792a5b562dac1263437909feb --- M graphite/wikidata-analysis/metrics.php 1 file changed, 1 insertion(+), 1 deletion(-) git pull ssh://gerrit.wikimedia.org:29418/analytics/wmde/scripts refs/changes/30/276430/1 diff --git a/graphite/wikidata-analysis/metrics.php b/graphite/wikidata-analysis/metrics.php index 3ec7ed6..3416fc0 100755 --- a/graphite/wikidata-analysis/metrics.php +++ b/graphite/wikidata-analysis/metrics.php @@ -10,7 +10,7 @@ //TODO this will not work on windows (but that is not our target) //http://stackoverflow.com/questions/1894917/how-to-get-the-home-directory-from-a-php-cli-script -$dataDir = $_SERVER['HOME'] . '/wikidata-analysis/data/'; +$dataDir = $_SERVER['HOME'] . '/toolkit-analyzer-build/data/'; //Make sure the output dir exists if ( !file_exists( $dataDir ) ) { throw new Exception( "Data directory does not exist" ); -- To view, visit https://gerrit.wikimedia.org/r/276430 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I987074bdd0ddad5792a5b562dac1263437909feb Gerrit-PatchSet: 1 Gerrit-Project: analytics/wmde/scripts Gerrit-Branch: master Gerrit-Owner: Addshore <addshorew...@gmail.com> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits