3 ms·
Show HN: GitMark – Your GitHub Report Card
- jud_white 11y agoPlease remove the access to Private Repositories, or make it optional.
- mixonic 11y agohttps://api.monosnap.com/rpc/file/download?id=kelMhl0A6kbbaNs8vTWO9Z9oe15g0c https://api.monosnap.com/rpc/file/download?id=kelMhl0A6kbbaN... Haha, yes this is a pretty high bar of entry.
- jicooo 11y agoWhat, 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.
- jicooo 11y agoGood suggestion, I like the idea of making it optional.
- lorenzfx 11y agoand why does it need write access?
- cheshire137 11y agoThat's what made me not do it. To be fair, I wrote a Github app once where I wanted read access to public and private repos, and I couldn't find anything in the Github API to give me specifically that. I had to request read+write for public+private, which is horribly permissive and gave me access to a bunch of stuff my app didn't need.
- jicooo 11y agoYeah, 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).
- whatnotests 11y agoUmmm deploy keys?
- 33a 11y agoWhy does this need write access to my public repos?
- jicooo 11y agoIt 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 https://developer.github.com/v3/oauth/#scopes
- jicooo 11y agoHere's a blog post I wrote about this project: https://medium.com/@jico/building-gitmark-d6a4e193e19 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 http://i.imgur.com/ufqifkp.jpg
- mikeomoto 11y agoThis kind of functionality would be cool if github adopted it in-house. Having the read/write access to all public/private repos is a bar that's a bit too high.
- burkesquires 11y agoNot working for me...says I am not part of any organization but I am a member of two.
- iKlsR 11y agoRandom, how do you draw those charts?
- jicooo 11y agoWhoops, I meant to mention that in the blog post. I used Chart.js http://www.chartjs.org/ http://www.chartjs.org/.