TIY-DC-ROR-2015-Jan / course-notes

Syllabus, notes, and more for the class
0 stars 3 forks source link

Github Stats #178

Closed jamesdabbs closed 9 years ago

jamesdabbs commented 9 years ago

Due on Feb 19 @ 09:00am

Description

Pull and aggregate commit statistics from Github

Objectives

Learning Objectives

After completing this assignment, you should…

After completing this assignment, you be able to effectively use

Running ruby github-stats.rb should:

Get the list of all members in that organization, and then aggregate the addition, deletion and change 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

              Additions     Deletions     Changes
User 1            13534          2954        6249
User 2             6940           913        1603
...

(or may produce a CSV output).

Hard Mode

wonmanlee commented 9 years ago

https://github.com/wonmanlee/ghub-stats

kdmcclin commented 9 years ago

Avoid including anything that says token, even in comments like on line 49.