Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Get commit data #27

Closed
mihneadb opened this issue Dec 7, 2013 · 2 comments
Closed

Get commit data #27

mihneadb opened this issue Dec 7, 2013 · 2 comments
Labels

Comments

@mihneadb
Copy link
Contributor

mihneadb commented Dec 7, 2013

The only data we get about commit events right now is from within pushevent data. There's an array of commits that tells us which commits were added with a push. However, we need more data for our metrics - like files changed, lines of code added/removed etc (#13, #14). For this, we need to store all the individual commit data as commitdata documents.

One way would be: for every push event, go thorugh the commits array, request and store data for each commit. Other way - ask explicitly for the commit events[1] and then process them individually.

The individual commit data has to be stored as "commitdata"-type documents.

[1] https://api.github.com/repos/gabrielfalcao/lettuce/commits

@mihneadb
Copy link
Contributor Author

I think this would be a good fit for https://github.com/uberVU/elasticsearch-river-github

@mihneadb
Copy link
Contributor Author

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

No branches or pull requests

1 participant