{"action":"created","comment":{"url":"https://api.github.com/repos/drone/drone/pulls/comments/35410003","id":35410003,"diff_hunk":"@@ -34,12 +37,14 @@ type GitHub struct {\n \n func New(conf *config.Config) *GitHub {","path":"pkg/remote/builtin/github/github.go","position":36,"original_position":36,"commit_id":"2966d294fe7e30ba505aa36ea0942753269ae951","original_commit_id":"2966d294fe7e30ba505aa36ea0942753269ae951","user":{"login":"Bugagazavr","id":683590,"avatar_url":"https://avatars.githubusercontent.com/u/683590?v=3","gravatar_id":"","url":"https://api.github.com/users/Bugagazavr","html_url":"https://github.com/Bugagazavr","followers_url":"https://api.github.com/users/Bugagazavr/followers","following_url":"https://api.github.com/users/Bugagazavr/following{/other_user}","gists_url":"https://api.github.com/users/Bugagazavr/gists{/gist_id}","starred_url":"https://api.github.com/users/Bugagazavr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Bugagazavr/subscriptions","organizations_url":"https://api.github.com/users/Bugagazavr/orgs","repos_url":"https://api.github.com/users/Bugagazavr/repos","events_url":"https://api.github.com/users/Bugagazavr/events{/privacy}","received_events_url":"https://api.github.com/users/Bugagazavr/received_events","type":"User","site_admin":false},"body":"You want call manually `os.GetEnv` instead `envconfig`?","created_at":"2015-07-24T09:57:53Z","updated_at":"2015-07-24T09:57:53Z","html_url":"https://github.com/drone/drone/pull/1108#discussion_r35410003","pull_request_url":"https://api.github.com/repos/drone/drone/pulls/1108","_links":{"self":{"href":"https://api.github.com/repos/drone/drone/pulls/comments/35410003"},"html":{"href":"https://github.com/drone/drone/pull/1108#discussion_r35410003"},"pull_request":{"href":"https://api.github.com/repos/drone/drone/pulls/1108"}}},"pull_request":{"url":"https://api.github.com/repos/drone/drone/pulls/1108","id":40724993,"html_url":"https://github.com/drone/drone/pull/1108","diff_url":"https://github.com/drone/drone/pull/1108.diff","patch_url":"https://github.com/drone/drone/pull/1108.patch","issue_url":"https://api.github.com/repos/drone/drone/issues/1108","number":1108,"state":"open","locked":false,"title":"[WIP] Start working on specs implementation","user":{"login":"Bugagazavr","id":683590,"avatar_url":"https://avatars.githubusercontent.com/u/683590?v=3","gravatar_id":"","url":"https://api.github.com/users/Bugagazavr","html_url":"https://github.com/Bugagazavr","followers_url":"https://api.github.com/users/Bugagazavr/followers","following_url":"https://api.github.com/users/Bugagazavr/following{/other_user}","gists_url":"https://api.github.com/users/Bugagazavr/gists{/gist_id}","starred_url":"https://api.github.com/users/Bugagazavr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Bugagazavr/subscriptions","organizations_url":"https://api.github.com/users/Bugagazavr/orgs","repos_url":"https://api.github.com/users/Bugagazavr/repos","events_url":"https://api.github.com/users/Bugagazavr/events{/privacy}","received_events_url":"https://api.github.com/users/Bugagazavr/received_events","type":"User","site_admin":false},"body":"- I think we need generate oauth transport on remote side\r\n- also AllowedOrganizations and OpenRegistration moved to remote and called from login via accessor methods\r\n- By default i set sqlite3 driver\r\n- Scope must be moved to settings and by default we set `repo,repo:status,user:email`","created_at":"2015-07-23T22:19:48Z","updated_at":"2015-07-24T09:57:53Z","closed_at":null,"merged_at":null,"merge_commit_sha":"6fe0bca4acfa2dc5e906915c39d60817a6af3265","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/drone/drone/pulls/1108/commits","review_comments_url":"https://api.github.com/repos/drone/drone/pulls/1108/comments","review_comment_url":"https://api.github.com/repos/drone/drone/pulls/comments{/number}","comments_url":"https://api.github.com/repos/drone/drone/issues/1108/comments","statuses_url":"https://api.github.com/repos/drone/drone/statuses/2966d294fe7e30ba505aa36ea0942753269ae951","head":{"label":"Bugagazavr:0.4-imp","ref":"0.4-imp","sha":"2966d294fe7e30ba505aa36ea0942753269ae951","user":{"login":"Bugagazavr","id":683590,"avatar_url":"https://avatars.githubusercontent.com/u/683590?v=3","gravatar_id":"","url":"https://api.github.com/users/Bugagazavr","html_url":"https://github.com/Bugagazavr","followers_url":"https://api.github.com/users/Bugagazavr/followers","following_url":"https://api.github.com/users/Bugagazavr/following{/other_user}","gists_url":"https://api.github.com/users/Bugagazavr/gists{/gist_id}","starred_url":"https://api.github.com/users/Bugagazavr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Bugagazavr/subscriptions","organizations_url":"https://api.github.com/users/Bugagazavr/orgs","repos_url":"https://api.github.com/users/Bugagazavr/repos","events_url":"https://api.github.com/users/Bugagazavr/events{/privacy}","received_events_url":"https://api.github.com/users/Bugagazavr/received_events","type":"User","site_admin":false},"repo":{"id":16698024,"name":"drone","full_name":"Bugagazavr/drone","owner":{"login":"Bugagazavr","id":683590,"avatar_url":"https://avatars.githubusercontent.com/u/683590?v=3","gravatar_id":"","url":"https://api.github.com/users/Bugagazavr","html_url":"https://github.com/Bugagazavr","followers_url":"https://api.github.com/users/Bugagazavr/followers","following_url":"https://api.github.com/users/Bugagazavr/following{/other_user}","gists_url":"https://api.github.com/users/Bugagazavr/gists{/gist_id}","starred_url":"https://api.github.com/users/Bugagazavr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Bugagazavr/subscriptions","organizations_url":"https://api.github.com/users/Bugagazavr/orgs","repos_url":"https://api.github.com/users/Bugagazavr/repos","events_url":"https://api.github.com/users/Bugagazavr/events{/privacy}","received_events_url":"https://api.github.com/users/Bugagazavr/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Bugagazavr/drone","description":"Drone is a Continuous Integration platform built on Docker","fork":true,"url":"https://api.github.com/repos/Bugagazavr/drone","forks_url":"https://api.github.com/repos/Bugagazavr/drone/forks","keys_url":"https://api.github.com/repos/Bugagazavr/drone/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Bugagazavr/drone/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Bugagazavr/drone/teams","hooks_url":"https://api.github.com/repos/Bugagazavr/drone/hooks","issue_events_url":"https://api.github.com/repos/Bugagazavr/drone/issues/events{/number}","events_url":"https://api.github.com/repos/Bugagazavr/drone/events","assignees_url":"https://api.github.com/repos/Bugagazavr/drone/assignees{/user}","branches_url":"https://api.github.com/repos/Bugagazavr/drone/branches{/branch}","tags_url":"https://api.github.com/repos/Bugagazavr/drone/tags","blobs_url":"https://api.github.com/repos/Bugagazavr/drone/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Bugagazavr/drone/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Bugagazavr/drone/git/refs{/sha}","trees_url":"https://api.github.com/repos/Bugagazavr/drone/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Bugagazavr/drone/statuses/{sha}","languages_url":"https://api.github.com/repos/Bugagazavr/drone/languages","stargazers_url":"https://api.github.com/repos/Bugagazavr/drone/stargazers","contributors_url":"https://api.github.com/repos/Bugagazavr/drone/contributors","subscribers_url":"https://api.github.com/repos/Bugagazavr/drone/subscribers","subscription_url":"https://api.github.com/repos/Bugagazavr/drone/subscription","commits_url":"https://api.github.com/repos/Bugagazavr/drone/commits{/sha}","git_commits_url":"https://api.github.com/repos/Bugagazavr/drone/git/commits{/sha}","comments_url":"https://api.github.com/repos/Bugagazavr/drone/comments{/number}","issue_comment_url":"https://api.github.com/repos/Bugagazavr/drone/issues/comments{/number}","contents_url":"https://api.github.com/repos/Bugagazavr/drone/contents/{+path}","compare_url":"https://api.github.com/repos/Bugagazavr/drone/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Bugagazavr/drone/merges","archive_url":"https://api.github.com/repos/Bugagazavr/drone/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Bugagazavr/drone/downloads","issues_url":"https://api.github.com/repos/Bugagazavr/drone/issues{/number}","pulls_url":"https://api.github.com/repos/Bugagazavr/drone/pulls{/number}","milestones_url":"https://api.github.com/repos/Bugagazavr/drone/milestones{/number}","notifications_url":"https://api.github.com/repos/Bugagazavr/drone/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Bugagazavr/drone/labels{/name}","releases_url":"https://api.github.com/repos/Bugagazavr/drone/releases{/id}","created_at":"2014-02-10T14:39:36Z","updated_at":"2014-07-30T22:30:50Z","pushed_at":"2015-07-23T22:25:11Z","git_url":"git://github.com/Bugagazavr/drone.git","ssh_url":"git@github.com:Bugagazavr/drone.git","clone_url":"https://github.com/Bugagazavr/drone.git","svn_url":"https://github.com/Bugagazavr/drone","homepage":null,"size":13965,"stargazers_count":0,"watchers_count":0,"language":"C","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"drone:0.4-database","ref":"0.4-database","sha":"2939e1356dc672984181e0fae57289c8cd43ba52","user":{"login":"drone","id":2181346,"avatar_url":"https://avatars.githubusercontent.com/u/2181346?v=3","gravatar_id":"","url":"https://api.github.com/users/drone","html_url":"https://github.com/drone","followers_url":"https://api.github.com/users/drone/followers","following_url":"https://api.github.com/users/drone/following{/other_user}","gists_url":"https://api.github.com/users/drone/gists{/gist_id}","starred_url":"https://api.github.com/users/drone/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/drone/subscriptions","organizations_url":"https://api.github.com/users/drone/orgs","repos_url":"https://api.github.com/users/drone/repos","events_url":"https://api.github.com/users/drone/events{/privacy}","received_events_url":"https://api.github.com/users/drone/received_events","type":"Organization","site_admin":false},"repo":{"id":16607898,"name":"drone","full_name":"drone/drone","owner":{"login":"drone","id":2181346,"avatar_url":"https://avatars.githubusercontent.com/u/2181346?v=3","gravatar_id":"","url":"https://api.github.com/users/drone","html_url":"https://github.com/drone","followers_url":"https://api.github.com/users/drone/followers","following_url":"https://api.github.com/users/drone/following{/other_user}","gists_url":"https://api.github.com/users/drone/gists{/gist_id}","starred_url":"https://api.github.com/users/drone/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/drone/subscriptions","organizations_url":"https://api.github.com/users/drone/orgs","repos_url":"https://api.github.com/users/drone/repos","events_url":"https://api.github.com/users/drone/events{/privacy}","received_events_url":"https://api.github.com/users/drone/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/drone/drone","description":"Drone is a Continuous Integration platform built on Docker, written in Go","fork":false,"url":"https://api.github.com/repos/drone/drone","forks_url":"https://api.github.com/repos/drone/drone/forks","keys_url":"https://api.github.com/repos/drone/drone/keys{/key_id}","collaborators_url":"https://api.github.com/repos/drone/drone/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/drone/drone/teams","hooks_url":"https://api.github.com/repos/drone/drone/hooks","issue_events_url":"https://api.github.com/repos/drone/drone/issues/events{/number}","events_url":"https://api.github.com/repos/drone/drone/events","assignees_url":"https://api.github.com/repos/drone/drone/assignees{/user}","branches_url":"https://api.github.com/repos/drone/drone/branches{/branch}","tags_url":"https://api.github.com/repos/drone/drone/tags","blobs_url":"https://api.github.com/repos/drone/drone/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/drone/drone/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/drone/drone/git/refs{/sha}","trees_url":"https://api.github.com/repos/drone/drone/git/trees{/sha}","statuses_url":"https://api.github.com/repos/drone/drone/statuses/{sha}","languages_url":"https://api.github.com/repos/drone/drone/languages","stargazers_url":"https://api.github.com/repos/drone/drone/stargazers","contributors_url":"https://api.github.com/repos/drone/drone/contributors","subscribers_url":"https://api.github.com/repos/drone/drone/subscribers","subscription_url":"https://api.github.com/repos/drone/drone/subscription","commits_url":"https://api.github.com/repos/drone/drone/commits{/sha}","git_commits_url":"https://api.github.com/repos/drone/drone/git/commits{/sha}","comments_url":"https://api.github.com/repos/drone/drone/comments{/number}","issue_comment_url":"https://api.github.com/repos/drone/drone/issues/comments{/number}","contents_url":"https://api.github.com/repos/drone/drone/contents/{+path}","compare_url":"https://api.github.com/repos/drone/drone/compare/{base}...{head}","merges_url":"https://api.github.com/repos/drone/drone/merges","archive_url":"https://api.github.com/repos/drone/drone/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/drone/drone/downloads","issues_url":"https://api.github.com/repos/drone/drone/issues{/number}","pulls_url":"https://api.github.com/repos/drone/drone/pulls{/number}","milestones_url":"https://api.github.com/repos/drone/drone/milestones{/number}","notifications_url":"https://api.github.com/repos/drone/drone/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/drone/drone/labels{/name}","releases_url":"https://api.github.com/repos/drone/drone/releases{/id}","created_at":"2014-02-07T07:54:44Z","updated_at":"2015-07-24T09:54:10Z","pushed_at":"2015-07-23T22:25:11Z","git_url":"git://github.com/drone/drone.git","ssh_url":"git@github.com:drone/drone.git","clone_url":"https://github.com/drone/drone.git","svn_url":"https://github.com/drone/drone","homepage":"","size":25021,"stargazers_count":5167,"watchers_count":5167,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":561,"mirror_url":null,"open_issues_count":182,"forks":561,"open_issues":182,"watchers":5167,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/drone/drone/pulls/1108"},"html":{"href":"https://github.com/drone/drone/pull/1108"},"issue":{"href":"https://api.github.com/repos/drone/drone/issues/1108"},"comments":{"href":"https://api.github.com/repos/drone/drone/issues/1108/comments"},"review_comments":{"href":"https://api.github.com/repos/drone/drone/pulls/1108/comments"},"review_comment":{"href":"https://api.github.com/repos/drone/drone/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/drone/drone/pulls/1108/commits"},"statuses":{"href":"https://api.github.com/repos/drone/drone/statuses/2966d294fe7e30ba505aa36ea0942753269ae951"}}}}