lauriii / drupalcores

A project to generate a list of core contributers
http://drupalcores.com
MIT License
27 stars 38 forks source link

Generate a json file of raw commit info #35

Open lewisnyman opened 9 years ago

lewisnyman commented 9 years ago

In https://github.com/ericduran/drupalcores/issues/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?

pcambra commented 9 years ago

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 commented 9 years ago

http://ericduran.github.io/drupalcores/data.json

lewisnyman commented 9 years ago

@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 commented 9 years ago

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