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 ;).
*** Bug 720969 has been marked as a duplicate of this bug. ***
I'm not sure why github should be special. AFAIK, they are not a strategic partner.
I think a fork of this ptoject would be helpful: https://github.com/berkerpeksag/github-badge
I think a fork of this project would be helpful: https://github.com/berkerpeksag/github-badge
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.
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 :)
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).
After program meeting this is considered out of scope.