{"action":"created","comment":{"url":"https://api.github.com/repos/StackStorm/st2contrib/pulls/comments/55640679","id":55640679,"diff_hunk":"@@ -8,19 +8,20 @@\n     'BaseGithubAction'\n ]\n \n-BASE_URL = 'https://github.com'\n-\n \n class BaseGithubAction(Action):\n     def __init__(self, config):\n         super(BaseGithubAction, self).__init__(config=config)\n         token = self.config.get('token', None)\n         token = token or None\n-        self._client = Github(token)\n+        base_url = self.config.get('BASE_URL', None)","path":"packs/github/actions/lib/base.py","position":13,"original_position":13,"commit_id":"d64193a6abe74e1c2fce38ac977f80fc4c77fd6c","original_commit_id":"d64193a6abe74e1c2fce38ac977f80fc4c77fd6c","user":{"login":"emedvedev","id":145218,"avatar_url":"https://avatars.githubusercontent.com/u/145218?v=3","gravatar_id":"","url":"https://api.github.com/users/emedvedev","html_url":"https://github.com/emedvedev","followers_url":"https://api.github.com/users/emedvedev/followers","following_url":"https://api.github.com/users/emedvedev/following{/other_user}","gists_url":"https://api.github.com/users/emedvedev/gists{/gist_id}","starred_url":"https://api.github.com/users/emedvedev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/emedvedev/subscriptions","organizations_url":"https://api.github.com/users/emedvedev/orgs","repos_url":"https://api.github.com/users/emedvedev/repos","events_url":"https://api.github.com/users/emedvedev/events{/privacy}","received_events_url":"https://api.github.com/users/emedvedev/received_events","type":"User","site_admin":false},"body":"Lowercase here as well.","created_at":"2016-03-10T07:02:34Z","updated_at":"2016-03-10T07:02:34Z","html_url":"https://github.com/StackStorm/st2contrib/pull/440#discussion_r55640679","pull_request_url":"https://api.github.com/repos/StackStorm/st2contrib/pulls/440","_links":{"self":{"href":"https://api.github.com/repos/StackStorm/st2contrib/pulls/comments/55640679"},"html":{"href":"https://github.com/StackStorm/st2contrib/pull/440#discussion_r55640679"},"pull_request":{"href":"https://api.github.com/repos/StackStorm/st2contrib/pulls/440"}}},"pull_request":{"url":"https://api.github.com/repos/StackStorm/st2contrib/pulls/440","id":62334091,"html_url":"https://github.com/StackStorm/st2contrib/pull/440","diff_url":"https://github.com/StackStorm/st2contrib/pull/440.diff","patch_url":"https://github.com/StackStorm/st2contrib/pull/440.patch","issue_url":"https://api.github.com/repos/StackStorm/st2contrib/issues/440","number":440,"state":"open","locked":false,"title":"Add GitHub Enterprise support, bump pack to 0.4","user":{"login":"kevinSuttle","id":95672,"avatar_url":"https://avatars.githubusercontent.com/u/95672?v=3","gravatar_id":"","url":"https://api.github.com/users/kevinSuttle","html_url":"https://github.com/kevinSuttle","followers_url":"https://api.github.com/users/kevinSuttle/followers","following_url":"https://api.github.com/users/kevinSuttle/following{/other_user}","gists_url":"https://api.github.com/users/kevinSuttle/gists{/gist_id}","starred_url":"https://api.github.com/users/kevinSuttle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kevinSuttle/subscriptions","organizations_url":"https://api.github.com/users/kevinSuttle/orgs","repos_url":"https://api.github.com/users/kevinSuttle/repos","events_url":"https://api.github.com/users/kevinSuttle/events{/privacy}","received_events_url":"https://api.github.com/users/kevinSuttle/received_events","type":"User","site_admin":false},"body":"## GitHub\r\n\r\n### Status \r\n- pack extension\r\n- local errors during `make all` (see https://github.com/StackStorm/st2contrib/issues/439#issuecomment-194639378—could be a local env. issue)\r\n\r\n### Description\r\nAdd GitHub Enterprise support to github pack\r\n### Checklist (tick everything that applies)\r\n\r\n- [x] Metadata: pack.yaml, (icon, and structure not changed)\r\n- [x] Version bump (0.3 -> 0.4 in both README and pack.yml)\r\n- [x] Code linting (not changed)\r\n- [x] Tests (not changed)","created_at":"2016-03-10T03:21:53Z","updated_at":"2016-03-10T07:02:34Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f775848e6436b16a9a131d7b167fab79491b82bc","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/StackStorm/st2contrib/pulls/440/commits","review_comments_url":"https://api.github.com/repos/StackStorm/st2contrib/pulls/440/comments","review_comment_url":"https://api.github.com/repos/StackStorm/st2contrib/pulls/comments{/number}","comments_url":"https://api.github.com/repos/StackStorm/st2contrib/issues/440/comments","statuses_url":"https://api.github.com/repos/StackStorm/st2contrib/statuses/d64193a6abe74e1c2fce38ac977f80fc4c77fd6c","head":{"label":"kevinSuttle:ghe-support","ref":"ghe-support","sha":"d64193a6abe74e1c2fce38ac977f80fc4c77fd6c","user":{"login":"kevinSuttle","id":95672,"avatar_url":"https://avatars.githubusercontent.com/u/95672?v=3","gravatar_id":"","url":"https://api.github.com/users/kevinSuttle","html_url":"https://github.com/kevinSuttle","followers_url":"https://api.github.com/users/kevinSuttle/followers","following_url":"https://api.github.com/users/kevinSuttle/following{/other_user}","gists_url":"https://api.github.com/users/kevinSuttle/gists{/gist_id}","starred_url":"https://api.github.com/users/kevinSuttle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kevinSuttle/subscriptions","organizations_url":"https://api.github.com/users/kevinSuttle/orgs","repos_url":"https://api.github.com/users/kevinSuttle/repos","events_url":"https://api.github.com/users/kevinSuttle/events{/privacy}","received_events_url":"https://api.github.com/users/kevinSuttle/received_events","type":"User","site_admin":false},"repo":{"id":53547463,"name":"st2contrib","full_name":"kevinSuttle/st2contrib","owner":{"login":"kevinSuttle","id":95672,"avatar_url":"https://avatars.githubusercontent.com/u/95672?v=3","gravatar_id":"","url":"https://api.github.com/users/kevinSuttle","html_url":"https://github.com/kevinSuttle","followers_url":"https://api.github.com/users/kevinSuttle/followers","following_url":"https://api.github.com/users/kevinSuttle/following{/other_user}","gists_url":"https://api.github.com/users/kevinSuttle/gists{/gist_id}","starred_url":"https://api.github.com/users/kevinSuttle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kevinSuttle/subscriptions","organizations_url":"https://api.github.com/users/kevinSuttle/orgs","repos_url":"https://api.github.com/users/kevinSuttle/repos","events_url":"https://api.github.com/users/kevinSuttle/events{/privacy}","received_events_url":"https://api.github.com/users/kevinSuttle/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/kevinSuttle/st2contrib","description":"StackStorm integration packs for many common tools and also helpful tools to build integrations and automations with StackStorm.","fork":true,"url":"https://api.github.com/repos/kevinSuttle/st2contrib","forks_url":"https://api.github.com/repos/kevinSuttle/st2contrib/forks","keys_url":"https://api.github.com/repos/kevinSuttle/st2contrib/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kevinSuttle/st2contrib/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kevinSuttle/st2contrib/teams","hooks_url":"https://api.github.com/repos/kevinSuttle/st2contrib/hooks","issue_events_url":"https://api.github.com/repos/kevinSuttle/st2contrib/issues/events{/number}","events_url":"https://api.github.com/repos/kevinSuttle/st2contrib/events","assignees_url":"https://api.github.com/repos/kevinSuttle/st2contrib/assignees{/user}","branches_url":"https://api.github.com/repos/kevinSuttle/st2contrib/branches{/branch}","tags_url":"https://api.github.com/repos/kevinSuttle/st2contrib/tags","blobs_url":"https://api.github.com/repos/kevinSuttle/st2contrib/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kevinSuttle/st2contrib/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kevinSuttle/st2contrib/git/refs{/sha}","trees_url":"https://api.github.com/repos/kevinSuttle/st2contrib/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kevinSuttle/st2contrib/statuses/{sha}","languages_url":"https://api.github.com/repos/kevinSuttle/st2contrib/languages","stargazers_url":"https://api.github.com/repos/kevinSuttle/st2contrib/stargazers","contributors_url":"https://api.github.com/repos/kevinSuttle/st2contrib/contributors","subscribers_url":"https://api.github.com/repos/kevinSuttle/st2contrib/subscribers","subscription_url":"https://api.github.com/repos/kevinSuttle/st2contrib/subscription","commits_url":"https://api.github.com/repos/kevinSuttle/st2contrib/commits{/sha}","git_commits_url":"https://api.github.com/repos/kevinSuttle/st2contrib/git/commits{/sha}","comments_url":"https://api.github.com/repos/kevinSuttle/st2contrib/comments{/number}","issue_comment_url":"https://api.github.com/repos/kevinSuttle/st2contrib/issues/comments{/number}","contents_url":"https://api.github.com/repos/kevinSuttle/st2contrib/contents/{+path}","compare_url":"https://api.github.com/repos/kevinSuttle/st2contrib/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kevinSuttle/st2contrib/merges","archive_url":"https://api.github.com/repos/kevinSuttle/st2contrib/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kevinSuttle/st2contrib/downloads","issues_url":"https://api.github.com/repos/kevinSuttle/st2contrib/issues{/number}","pulls_url":"https://api.github.com/repos/kevinSuttle/st2contrib/pulls{/number}","milestones_url":"https://api.github.com/repos/kevinSuttle/st2contrib/milestones{/number}","notifications_url":"https://api.github.com/repos/kevinSuttle/st2contrib/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kevinSuttle/st2contrib/labels{/name}","releases_url":"https://api.github.com/repos/kevinSuttle/st2contrib/releases{/id}","deployments_url":"https://api.github.com/repos/kevinSuttle/st2contrib/deployments","created_at":"2016-03-10T02:12:53Z","updated_at":"2016-03-10T02:12:56Z","pushed_at":"2016-03-10T03:16:01Z","git_url":"git://github.com/kevinSuttle/st2contrib.git","ssh_url":"git@github.com:kevinSuttle/st2contrib.git","clone_url":"https://github.com/kevinSuttle/st2contrib.git","svn_url":"https://github.com/kevinSuttle/st2contrib","homepage":"http://www.stackstorm.com/community","size":4771,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":false,"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":"StackStorm:master","ref":"master","sha":"12d1316dfc5c3a9ec03454f3be4785cbfe41a39d","user":{"login":"StackStorm","id":4969009,"avatar_url":"https://avatars.githubusercontent.com/u/4969009?v=3","gravatar_id":"","url":"https://api.github.com/users/StackStorm","html_url":"https://github.com/StackStorm","followers_url":"https://api.github.com/users/StackStorm/followers","following_url":"https://api.github.com/users/StackStorm/following{/other_user}","gists_url":"https://api.github.com/users/StackStorm/gists{/gist_id}","starred_url":"https://api.github.com/users/StackStorm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/StackStorm/subscriptions","organizations_url":"https://api.github.com/users/StackStorm/orgs","repos_url":"https://api.github.com/users/StackStorm/repos","events_url":"https://api.github.com/users/StackStorm/events{/privacy}","received_events_url":"https://api.github.com/users/StackStorm/received_events","type":"Organization","site_admin":false},"repo":{"id":24968227,"name":"st2contrib","full_name":"StackStorm/st2contrib","owner":{"login":"StackStorm","id":4969009,"avatar_url":"https://avatars.githubusercontent.com/u/4969009?v=3","gravatar_id":"","url":"https://api.github.com/users/StackStorm","html_url":"https://github.com/StackStorm","followers_url":"https://api.github.com/users/StackStorm/followers","following_url":"https://api.github.com/users/StackStorm/following{/other_user}","gists_url":"https://api.github.com/users/StackStorm/gists{/gist_id}","starred_url":"https://api.github.com/users/StackStorm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/StackStorm/subscriptions","organizations_url":"https://api.github.com/users/StackStorm/orgs","repos_url":"https://api.github.com/users/StackStorm/repos","events_url":"https://api.github.com/users/StackStorm/events{/privacy}","received_events_url":"https://api.github.com/users/StackStorm/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/StackStorm/st2contrib","description":"StackStorm integration packs for many common tools and also helpful tools to build integrations and automations with StackStorm.","fork":false,"url":"https://api.github.com/repos/StackStorm/st2contrib","forks_url":"https://api.github.com/repos/StackStorm/st2contrib/forks","keys_url":"https://api.github.com/repos/StackStorm/st2contrib/keys{/key_id}","collaborators_url":"https://api.github.com/repos/StackStorm/st2contrib/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/StackStorm/st2contrib/teams","hooks_url":"https://api.github.com/repos/StackStorm/st2contrib/hooks","issue_events_url":"https://api.github.com/repos/StackStorm/st2contrib/issues/events{/number}","events_url":"https://api.github.com/repos/StackStorm/st2contrib/events","assignees_url":"https://api.github.com/repos/StackStorm/st2contrib/assignees{/user}","branches_url":"https://api.github.com/repos/StackStorm/st2contrib/branches{/branch}","tags_url":"https://api.github.com/repos/StackStorm/st2contrib/tags","blobs_url":"https://api.github.com/repos/StackStorm/st2contrib/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/StackStorm/st2contrib/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/StackStorm/st2contrib/git/refs{/sha}","trees_url":"https://api.github.com/repos/StackStorm/st2contrib/git/trees{/sha}","statuses_url":"https://api.github.com/repos/StackStorm/st2contrib/statuses/{sha}","languages_url":"https://api.github.com/repos/StackStorm/st2contrib/languages","stargazers_url":"https://api.github.com/repos/StackStorm/st2contrib/stargazers","contributors_url":"https://api.github.com/repos/StackStorm/st2contrib/contributors","subscribers_url":"https://api.github.com/repos/StackStorm/st2contrib/subscribers","subscription_url":"https://api.github.com/repos/StackStorm/st2contrib/subscription","commits_url":"https://api.github.com/repos/StackStorm/st2contrib/commits{/sha}","git_commits_url":"https://api.github.com/repos/StackStorm/st2contrib/git/commits{/sha}","comments_url":"https://api.github.com/repos/StackStorm/st2contrib/comments{/number}","issue_comment_url":"https://api.github.com/repos/StackStorm/st2contrib/issues/comments{/number}","contents_url":"https://api.github.com/repos/StackStorm/st2contrib/contents/{+path}","compare_url":"https://api.github.com/repos/StackStorm/st2contrib/compare/{base}...{head}","merges_url":"https://api.github.com/repos/StackStorm/st2contrib/merges","archive_url":"https://api.github.com/repos/StackStorm/st2contrib/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/StackStorm/st2contrib/downloads","issues_url":"https://api.github.com/repos/StackStorm/st2contrib/issues{/number}","pulls_url":"https://api.github.com/repos/StackStorm/st2contrib/pulls{/number}","milestones_url":"https://api.github.com/repos/StackStorm/st2contrib/milestones{/number}","notifications_url":"https://api.github.com/repos/StackStorm/st2contrib/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/StackStorm/st2contrib/labels{/name}","releases_url":"https://api.github.com/repos/StackStorm/st2contrib/releases{/id}","deployments_url":"https://api.github.com/repos/StackStorm/st2contrib/deployments","created_at":"2014-10-09T01:19:56Z","updated_at":"2016-03-02T10:40:32Z","pushed_at":"2016-03-10T03:21:54Z","git_url":"git://github.com/StackStorm/st2contrib.git","ssh_url":"git@github.com:StackStorm/st2contrib.git","clone_url":"https://github.com/StackStorm/st2contrib.git","svn_url":"https://github.com/StackStorm/st2contrib","homepage":"http://www.stackstorm.com/community","size":5840,"stargazers_count":72,"watchers_count":72,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":77,"mirror_url":null,"open_issues_count":28,"forks":77,"open_issues":28,"watchers":72,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/StackStorm/st2contrib/pulls/440"},"html":{"href":"https://github.com/StackStorm/st2contrib/pull/440"},"issue":{"href":"https://api.github.com/repos/StackStorm/st2contrib/issues/440"},"comments":{"href":"https://api.github.com/repos/StackStorm/st2contrib/issues/440/comments"},"review_comments":{"href":"https://api.github.com/repos/StackStorm/st2contrib/pulls/440/comments"},"review_comment":{"href":"https://api.github.com/repos/StackStorm/st2contrib/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/StackStorm/st2contrib/pulls/440/commits"},"statuses":{"href":"https://api.github.com/repos/StackStorm/st2contrib/statuses/d64193a6abe74e1c2fce38ac977f80fc4c77fd6c"}}}}