Chad has uploaded a new change for review. https://gerrit.wikimedia.org/r/300711
Change subject: Gerrit: Run list_reviewer_counts cron as root ...................................................................... Gerrit: Run list_reviewer_counts cron as root It doesn't need to be done by gerrit2 anymore, and doing so just risks it failing on permissions to /var/www Change-Id: I6fce9dbdb70943f25af430fc383c202039edacc5 --- M modules/gerrit/manifests/crons.pp 1 file changed, 1 insertion(+), 1 deletion(-) git pull ssh://gerrit.wikimedia.org:29418/operations/puppet refs/changes/11/300711/1 diff --git a/modules/gerrit/manifests/crons.pp b/modules/gerrit/manifests/crons.pp index 8dae376..be4a295 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 => 'gerrit2', + user => 'root', hour => 1, } -- To view, visit https://gerrit.wikimedia.org/r/300711 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I6fce9dbdb70943f25af430fc383c202039edacc5 Gerrit-PatchSet: 1 Gerrit-Project: operations/puppet Gerrit-Branch: production Gerrit-Owner: Chad <ch...@wikimedia.org> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits