Last Comment Bug 701740 - Grab aggregate commit info from Mozilla GitHub Repo and show on Mozillians profiles
: Grab aggregate commit info from Mozilla GitHub Repo and show on Mozillians pr...
[display contributions][Triage 2015-0...
Product: Participation Infrastructure
Classification: Other
Component: Phonebook (show other bugs)
: other
: All All
P2 enhancement (vote)
: ---
Assigned To: Nobody; OK to take it and work on it
: 720969 (view as bug list)
Depends on:
Blocks: 679407 701743
  Show dependency treegraph
Reported: 2011-11-11 09:04 PST by Aakash Desai [:aakashd]
Modified: 2015-04-17 10:53 PDT (History)
9 users (show)
See Also:
QA Whiteboard:
Iteration: ---
Points: ---


Description User image Aakash Desai [:aakashd] 2011-11-11 09:04:19 PST
This hasn't been properly defined, but we should grab contributor metrics from user commits within Mozilla GitHub Repos and show them on Mozillian profiles.

GitHub has an API for commits, but it's not exactly what we want:

We'll need to engineering this a bit to make it fit our needs or co-erce some folks to helping our cause ;).
Comment 1 User image Aakash Desai [:aakashd] 2012-01-25 07:34:23 PST
*** Bug 720969 has been marked as a duplicate of this bug. ***
Comment 2 User image Jeff Hammel 2012-01-25 09:18:36 PST
I'm not sure why github should be special.  AFAIK, they are not a strategic partner.
Comment 3 User image Burak Yiğit Kaya [:BYK] 2012-04-20 03:16:25 PDT
I think a fork of this ptoject would be helpful:
Comment 4 User image Burak Yiğit Kaya [:BYK] 2012-04-20 03:16:38 PDT
I think a fork of this project would be helpful:
Comment 5 User image Burak Yiğit Kaya [:BYK] 2012-04-20 03:30:27 PDT
There are two options that comes to my mind:
 1. Add a filter to the existing project for organizations and it will use the information from repos only owned by the organization or forks of those repos to calculate user metrics.
 2. Fork the project and create a new one from scratch which specifically walks through all recent commits in all Mozilla repos and gets the commits owned by a specific user. Since Mozilla is a very active organizations this second approach may be more resource intensive but it sounds more accurate.
Comment 6 User image David Waddington :Davidw93 2012-04-29 11:55:29 PDT
Pre-Note: I'm new to this and what I have written below will be extremely far away from the best practice.

I got bored tonight and messed about with the Github API. How about you keep a count of the commits added during a day using a bot(like the bots present in the mozillians release and dev channels) and then pass the count into a basic python script that runs at the end of the day?

The script would be something similar to that basic function with the count passed in and rather than printing out the results you'd store them in a DB.

The users name(and perhaps email?) will be the same on Github as it is on Mozillians so the commits would be able to be matched to a user.

Once again I'm new to this so that may all be complete rubbish :)
Comment 7 User image William Reynolds [:williamr] 2013-02-19 10:35:36 PST
There's a lot of value in pulling in this information. We're working on a broad effort to better recognize and showcase contributions on individual profiles. Will try to work on this more in the next few months (Q2).
Comment 8 User image Nikos Roussos [:comzeradd] 2015-04-17 02:30:48 PDT
After program meeting this is considered out of scope.

Note You need to log in before you can comment on or make changes to this bug.