Dzahn has uploaded a new change for review. https://gerrit.wikimedia.org/r/300818
Change subject: Revert "Gerrit: Run list_reviewer_counts cron as root" ...................................................................... Revert "Gerrit: Run list_reviewer_counts cron as root" This reverts commit b4ae8235c49fa72c935cd741ef5c6f06b3b51baa. Change-Id: I3c927388f65524527c518edf17251db13f45d862 --- M modules/gerrit/manifests/crons.pp 1 file changed, 1 insertion(+), 1 deletion(-) git pull ssh://gerrit.wikimedia.org:29418/operations/puppet refs/changes/18/300818/1 diff --git a/modules/gerrit/manifests/crons.pp b/modules/gerrit/manifests/crons.pp index be4a295..8dae376 100644 --- a/modules/gerrit/manifests/crons.pp +++ b/modules/gerrit/manifests/crons.pp @@ -11,7 +11,7 @@ # This is useful information about the distribution of reviewers. # Gerrit's rest api doesn't provide an easy way to get this data. command => "/usr/bin/java -jar /var/lib/gerrit2/review_site/bin/gerrit.war gsql -d /var/lib/gerrit2/review_site/ --format JSON_SINGLE -c \"'SELECT changes.change_id AS change_id, COUNT(DISTINCT patch_set_approvals.account_id) AS reviewer_count FROM changes LEFT JOIN patch_set_approvals ON (changes.change_id = patch_set_approvals.change_id) GROUP BY changes.change_id'\" > /var/www/reviewer-counts.json", - user => 'root', + user => 'gerrit2', hour => 1, } -- To view, visit https://gerrit.wikimedia.org/r/300818 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I3c927388f65524527c518edf17251db13f45d862 Gerrit-PatchSet: 1 Gerrit-Project: operations/puppet Gerrit-Branch: production Gerrit-Owner: Dzahn <dz...@wikimedia.org> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits