Closed jamesdabbs closed 9 years ago
https://github.com/ablythe/github_stats I'm close to being able to cut down on my runtime by avoiding unnecessary gets, but am having trouble conceptualizing where and how to check if the data already exists in my database.
I'll have to get back to you on the runtime, but your output looks good.
Due on Feb 19 @ 09:00am
Description
Pull and aggregate commit statistics from Github
Objectives
Learning Objectives
After completing this assignment, you should…
Performance Objectives
After completing this assignment, you be able to effectively use
Details
Deliverables
github-stats.rb
Requirements
Running
ruby github-stats.rb
should:ARGV
, or usinggets
)Normal Mode
Get the list of all members in that organization, and then aggregate the
addition
,deletion
andchange
counts (as returned from the contributors endpoint) for all public repositories for each user (note: not just contributions to repos for the organization).The script should produce a table something like
(or may produce a CSV output).
Hard Mode