{"action":"created","issue":{"url":"https://api.github.com/repos/facebook/mention-bot/issues/8","labels_url":"https://api.github.com/repos/facebook/mention-bot/issues/8/labels{/name}","comments_url":"https://api.github.com/repos/facebook/mention-bot/issues/8/comments","events_url":"https://api.github.com/repos/facebook/mention-bot/issues/8/events","html_url":"https://github.com/facebook/mention-bot/issues/8","id":117916385,"number":8,"title":"Private repos","user":{"login":"alanctkc","id":273453,"avatar_url":"https://avatars.githubusercontent.com/u/273453?v=3","gravatar_id":"","url":"https://api.github.com/users/alanctkc","html_url":"https://github.com/alanctkc","followers_url":"https://api.github.com/users/alanctkc/followers","following_url":"https://api.github.com/users/alanctkc/following{/other_user}","gists_url":"https://api.github.com/users/alanctkc/gists{/gist_id}","starred_url":"https://api.github.com/users/alanctkc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alanctkc/subscriptions","organizations_url":"https://api.github.com/users/alanctkc/orgs","repos_url":"https://api.github.com/users/alanctkc/repos","events_url":"https://api.github.com/users/alanctkc/events{/privacy}","received_events_url":"https://api.github.com/users/alanctkc/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-11-19T21:55:32Z","updated_at":"2015-11-19T22:14:35Z","closed_at":null,"body":"I'm attempting to do a little rewriting of the diff/blame download to respect `GITHUB_TOKEN` and open mention-bot up to be used on private repos.\r\n\r\nI was thinking something roughly along these lines (WIP): https://github.com/facebook/mention-bot/compare/master...alanctkc:private-repos\r\n\r\nSeems, however, since the bot is just hitting the HTML blame route and doing parsing there (and I can't find any trace of an official GitHub blame API) might be out of luck. Any clever ideas on how to auth with the HTML route?\r\n\r\nWill probably just abandon if not, but we'd love to use mention-bot on internal projects. :)"},"comment":{"url":"https://api.github.com/repos/facebook/mention-bot/issues/comments/158217276","html_url":"https://github.com/facebook/mention-bot/issues/8#issuecomment-158217276","issue_url":"https://api.github.com/repos/facebook/mention-bot/issues/8","id":158217276,"user":{"login":"vjeux","id":197597,"avatar_url":"https://avatars.githubusercontent.com/u/197597?v=3","gravatar_id":"","url":"https://api.github.com/users/vjeux","html_url":"https://github.com/vjeux","followers_url":"https://api.github.com/users/vjeux/followers","following_url":"https://api.github.com/users/vjeux/following{/other_user}","gists_url":"https://api.github.com/users/vjeux/gists{/gist_id}","starred_url":"https://api.github.com/users/vjeux/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vjeux/subscriptions","organizations_url":"https://api.github.com/users/vjeux/orgs","repos_url":"https://api.github.com/users/vjeux/repos","events_url":"https://api.github.com/users/vjeux/events{/privacy}","received_events_url":"https://api.github.com/users/vjeux/received_events","type":"User","site_admin":false},"created_at":"2015-11-19T22:14:35Z","updated_at":"2015-11-19T22:14:35Z","body":"Another way to get the blame would be to `git clone` the repo, do `git blame` and then do an http request to get the github username (instead of the git email). This would avoid storing the password but be super slow and wasteful."}}