Skip to content

Commit

Permalink
merging PR Chaosthebot#462: Dump meritocracy data alongside voters.json
Browse files Browse the repository at this point in the history
Chaosthebot#462: Dump meritocracy data alongside voters.json

Description:
Will be dropped in the root of the web server when generated.

:ok_woman: PR passed with a vote of 17 for and 0 against, a weighted total of 16.5 and a threshold of 6.5, and a current meritocracy review.

Vote record:
@Artoria2e5: 1
@Leigende: 1
@MUCHZER: 1
@Moussto: 1
@PlasmaPower: 1
@Smittyvb: 1
@Swizz: 1
@andrewda: 1
@davidak: 1
@eukaryote31: 1
@flibustier: 1
@hongaar: 1
@ike709: 1
@md678685: 1
@qgustavor: 1
@rhengles: 1
@rudehn: 1
  • Loading branch information
mdcfe authored and chaosbot committed Jun 1, 2017
1 parent 77c22ed commit 2596dd8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions cron/poll_pull_requests.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,9 @@ def poll_pull_requests(api):
meritocracy = top_voters | top_contributors
__log.info("generated meritocracy: " + str(meritocracy))

with open('server/meritocracy.json', 'w') as mfp:
json.dump(meritocracy, mfp)

needs_update = False
for pr in prs:
pr_num = pr["number"]
Expand Down

0 comments on commit 2596dd8

Please sign in to comment.