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

Generate a json file of raw commit info #35

Open
lewisnyman opened this issue Dec 30, 2014 · 4 comments
Open

Generate a json file of raw commit info #35

lewisnyman opened this issue Dec 30, 2014 · 4 comments

Comments

@lewisnyman
Copy link
Collaborator

In ericduran#30 Eric talks about rewriting the app in Angular and just reading json data. I think the first step would be to export every parsed commit into a useful json structure.

I'm thinking the structure for each commit would be something like:
{
'message': string,
'author': string,
'users: {
'key': value
},
'time': time,
}

What else would be useful?

@lewisnyman lewisnyman added this to the A new design and new pages milestone Dec 30, 2014
@pcambra
Copy link

pcambra commented Feb 22, 2015

They're commenting about making it in node instead of ruby as well, a json per commit will be a huge file/chunk of files, maybe is better to generate a contributors.json and a companies.json (potentially also a json per contributor and company if we want to have individual pages (#5) ?)

@ElijahLynn
Copy link

@lewisnyman
Copy link
Collaborator Author

@pcambra It depends on what we want to do on those individual pages, I'm thinking line graphs of commits over time, which means we would need information of every commit. It doesn't feel great only generating the data that we need to achieve specific functionality, it makes it very inflexible in the future.

@ElijahLynn That's the problem with the current data.json, it's useless for anything other than the current index.html

@ElijahLynn
Copy link

Ahh, I see what you are saying now. I think this would be something we should push for D.O to provide, yah?

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

No branches or pull requests

3 participants