News for hackers. Stuff that matters.

jicooo

Re:Show HN: GitMark – Your GitHub Report Card on Thursday November 05, 2015 @04:14PM (#10516147)
Whoops, I meant to mention that in the blog post. I used Chart.js http://www.chartjs.org/.
Re:Show HN: GitMark – Your GitHub Report Card on Thursday November 05, 2015 @01:22PM (#10515129)
Yeah, I wish there were more fine-grained controls for permissions, i.e. just let me access meta-data like stats for repos (because that's all this app really needs).
Re:Show HN: GitMark – Your GitHub Report Card on Thursday November 05, 2015 @12:24PM (#10514641)
Here's a blog post I wrote about this project: https://medium.com/@jico/building-gitmark-d6a4e193e19 (it talks about the permissions overkill).

If you want to take a peek at the dashboard without having to grant GitHub access, here's a screenshot of mine: http://i.imgur.com/ufqifkp.jpg

Re:Show HN: GitMark – Your GitHub Report Card on Thursday November 05, 2015 @12:19PM (#10514610)
It doesn't really need write access, but in order for it to fetch the contributor stats, I had to add the "repo" scope to the permissions. Unfortunately, I couldn't see any other way around that. See: https://developer.github.com/v3/oauth/#scopes
Re:Show HN: GitMark – Your GitHub Report Card on Thursday November 05, 2015 @11:45AM (#10514344)
What, you don't trust me with ALL YOUR REPOS? Haha. I know, I mentioned this permissions thing in the blog post. Building it for myself, that scope is the only way I could read contributor stats for my company's private repos. Definitely don't need 90% of the other things, write access especially. Optional private repository access seems like a good solution.
Re:Show HN: GitMark – Your GitHub Report Card on Thursday November 05, 2015 @11:41AM (#10514316)
Good suggestion, I like the idea of making it optional.