Skip to content
This repository has been archived by the owner on Nov 23, 2019. It is now read-only.

Create list of biogem (top-)committers #23

Open
pjotrp opened this issue Jun 25, 2012 · 4 comments
Open

Create list of biogem (top-)committers #23

pjotrp opened this issue Jun 25, 2012 · 4 comments

Comments

@pjotrp
Copy link
Owner

pjotrp commented Jun 25, 2012

We fetch commits already from github. It would be nice to list the top-committers below the news-items on the right.

@carlcrott
Copy link

So it looks like Githubs API has support for this query:

http://developer.github.com/v3/git/commits/

So should be really easy ... did you want the committers for this project? or bioruby?

@carlcrott
Copy link

Also I'm not sure what framework is being used here ... so im just skipping to the API calls

I see Haml markup !

@pjotrp
Copy link
Owner Author

pjotrp commented Aug 3, 2012

Yup. HAML, SASS and staticmatic. The Ruby code is a bit messy, a haven't gotten round to structuring it.

We are using the git API already to count commits for the last 90 and 7 days. I am not sure the API will work for fetching all commit info per project. There is a limit to the number of requests you can make in an hour (for one), nor is it clear how far back we can go in time. I think the way to go is to clone projects locally on disk, and use git locally to fetch info. At least for the total statistics.That should be reasonably trivial.

The github API could be used to show the last commit to a project. Now if we could fetch that info live in Javascript...

@pjotrp
Copy link
Owner Author

pjotrp commented Aug 3, 2012

I split out the Javascript last commit into a separate issue.

To work on this issue (list # of commits per biogem committer) it suffices to write an independent script. I can do the website integration after. To fetch the commits, try the github API first. If that fails, we'll maintain checked out github repositories locally.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants