Closed jamesdabbs closed 9 years ago
:+1: Looks good. Do you ever use the organization name the user enters? Hard coding it is fine, I was just curious because it will do this organization no matter what you put in. Out of additional curiosity I ran it by hard coding another org I belong to and it worked, though it gave some interesting results that I don't believe. I'm not sure why they showed up like that though.
Unfortunately, I didn’t but only because of the time factor. I had written the urls while developing and forgot to go back and correct them.
David Livingston
On Feb 20, 2015, at 10:32 AM, Katherine McClintic notifications@github.com wrote:
Looks good. Do you ever use the organization name the user enters? Hard coding it is fine, I was just curious because it will do this organization no matter what you put in. Out of additional curiosity I ran it by hard coding another org I belong to and it worked, though it gave some interesting results that I don't believe. I'm not sure why they showed up like that though. https://cloud.githubusercontent.com/assets/7718549/6289102/b235d440-b8eb-11e4-981f-ec855de09adb.png — Reply to this email directly or view it on GitHub https://github.com/TIY-DC-ROR-2015-Jan/course-notes/issues/171#issuecomment-75256821.
Ah, no worries. I just wanted to check that you didn't intend to do something else.
The second screenshot didn’t have any formatting. Hmm.
David Livingston
On Feb 20, 2015, at 10:38 AM, Katherine McClintic notifications@github.com wrote:
Ah, no worries. I just wanted to check that you didn't intend to do something else.
— Reply to this email directly or view it on GitHub https://github.com/TIY-DC-ROR-2015-Jan/course-notes/issues/171#issuecomment-75257900.
It's an issue with the markdown format I think, when you reply like that. I didn't even know you could attach images to issues until today, but markdown can be finicky with things. The link still works.
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