{"action":"created","comment":{"url":"https://api.github.com/repos/evansde77/cirrus/pulls/comments/58070740","id":58070740,"diff_hunk":"@@ -11,11 +11,19 @@\n import unittest\n import tempfile\n import mock\n+import subprocess\n import ConfigParser\n \n from cirrus.configuration import Configuration\n \n \n+def _repo_directory():","path":"tests/unit/cirrus/harnesses.py","position":10,"original_position":10,"commit_id":"a3dbc5ebe752b2cd8ef1c745aee0bd23b0c1cc32","original_commit_id":"a3dbc5ebe752b2cd8ef1c745aee0bd23b0c1cc32","user":{"login":"shudgston","id":1087548,"avatar_url":"https://avatars.githubusercontent.com/u/1087548?v=3","gravatar_id":"","url":"https://api.github.com/users/shudgston","html_url":"https://github.com/shudgston","followers_url":"https://api.github.com/users/shudgston/followers","following_url":"https://api.github.com/users/shudgston/following{/other_user}","gists_url":"https://api.github.com/users/shudgston/gists{/gist_id}","starred_url":"https://api.github.com/users/shudgston/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shudgston/subscriptions","organizations_url":"https://api.github.com/users/shudgston/orgs","repos_url":"https://api.github.com/users/shudgston/repos","events_url":"https://api.github.com/users/shudgston/events{/privacy}","received_events_url":"https://api.github.com/users/shudgston/received_events","type":"User","site_admin":false},"body":"I would remove the private-implying `_` prefix if this is going to be imported and used by other modules.","created_at":"2016-03-31T15:09:35Z","updated_at":"2016-03-31T15:09:35Z","html_url":"https://github.com/evansde77/cirrus/pull/104#discussion_r58070740","pull_request_url":"https://api.github.com/repos/evansde77/cirrus/pulls/104","_links":{"self":{"href":"https://api.github.com/repos/evansde77/cirrus/pulls/comments/58070740"},"html":{"href":"https://github.com/evansde77/cirrus/pull/104#discussion_r58070740"},"pull_request":{"href":"https://api.github.com/repos/evansde77/cirrus/pulls/104"}}},"pull_request":{"url":"https://api.github.com/repos/evansde77/cirrus/pulls/104","id":64698482,"html_url":"https://github.com/evansde77/cirrus/pull/104","diff_url":"https://github.com/evansde77/cirrus/pull/104.diff","patch_url":"https://github.com/evansde77/cirrus/pull/104.patch","issue_url":"https://api.github.com/repos/evansde77/cirrus/issues/104","number":104,"state":"open","locked":false,"title":"Feature/update gitpython","user":{"login":"evansde77","id":342380,"avatar_url":"https://avatars.githubusercontent.com/u/342380?v=3","gravatar_id":"","url":"https://api.github.com/users/evansde77","html_url":"https://github.com/evansde77","followers_url":"https://api.github.com/users/evansde77/followers","following_url":"https://api.github.com/users/evansde77/following{/other_user}","gists_url":"https://api.github.com/users/evansde77/gists{/gist_id}","starred_url":"https://api.github.com/users/evansde77/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/evansde77/subscriptions","organizations_url":"https://api.github.com/users/evansde77/orgs","repos_url":"https://api.github.com/users/evansde77/repos","events_url":"https://api.github.com/users/evansde77/events{/privacy}","received_events_url":"https://api.github.com/users/evansde77/received_events","type":"User","site_admin":false},"body":"\r\nBased on some research it seems \r\nhttps://github.com/evansde77/cirrus/issues/32\r\nmay be caused by an outdated GitPython, so this PR updates GitPython to 3.5 and as a result a couple \r\nof tests needed tweaked to use the actual git repo dir during tests as well. \r\nThis also exposed an issue with the release command where it defaulted to pwd instead of the repo dir, so that got fixed here as well. \r\n\r\n@jcounts @petevg @ksnavely \r\n","created_at":"2016-03-30T21:15:37Z","updated_at":"2016-03-31T15:09:35Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ca4ea54d58d8910d280a7e93b1ee7ce404e31a71","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/evansde77/cirrus/pulls/104/commits","review_comments_url":"https://api.github.com/repos/evansde77/cirrus/pulls/104/comments","review_comment_url":"https://api.github.com/repos/evansde77/cirrus/pulls/comments{/number}","comments_url":"https://api.github.com/repos/evansde77/cirrus/issues/104/comments","statuses_url":"https://api.github.com/repos/evansde77/cirrus/statuses/a3dbc5ebe752b2cd8ef1c745aee0bd23b0c1cc32","head":{"label":"evansde77:feature/update-gitpython","ref":"feature/update-gitpython","sha":"a3dbc5ebe752b2cd8ef1c745aee0bd23b0c1cc32","user":{"login":"evansde77","id":342380,"avatar_url":"https://avatars.githubusercontent.com/u/342380?v=3","gravatar_id":"","url":"https://api.github.com/users/evansde77","html_url":"https://github.com/evansde77","followers_url":"https://api.github.com/users/evansde77/followers","following_url":"https://api.github.com/users/evansde77/following{/other_user}","gists_url":"https://api.github.com/users/evansde77/gists{/gist_id}","starred_url":"https://api.github.com/users/evansde77/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/evansde77/subscriptions","organizations_url":"https://api.github.com/users/evansde77/orgs","repos_url":"https://api.github.com/users/evansde77/repos","events_url":"https://api.github.com/users/evansde77/events{/privacy}","received_events_url":"https://api.github.com/users/evansde77/received_events","type":"User","site_admin":false},"repo":{"id":17570751,"name":"cirrus","full_name":"evansde77/cirrus","owner":{"login":"evansde77","id":342380,"avatar_url":"https://avatars.githubusercontent.com/u/342380?v=3","gravatar_id":"","url":"https://api.github.com/users/evansde77","html_url":"https://github.com/evansde77","followers_url":"https://api.github.com/users/evansde77/followers","following_url":"https://api.github.com/users/evansde77/following{/other_user}","gists_url":"https://api.github.com/users/evansde77/gists{/gist_id}","starred_url":"https://api.github.com/users/evansde77/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/evansde77/subscriptions","organizations_url":"https://api.github.com/users/evansde77/orgs","repos_url":"https://api.github.com/users/evansde77/repos","events_url":"https://api.github.com/users/evansde77/events{/privacy}","received_events_url":"https://api.github.com/users/evansde77/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/evansde77/cirrus","description":"python library build, test and devop like things assistant","fork":false,"url":"https://api.github.com/repos/evansde77/cirrus","forks_url":"https://api.github.com/repos/evansde77/cirrus/forks","keys_url":"https://api.github.com/repos/evansde77/cirrus/keys{/key_id}","collaborators_url":"https://api.github.com/repos/evansde77/cirrus/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/evansde77/cirrus/teams","hooks_url":"https://api.github.com/repos/evansde77/cirrus/hooks","issue_events_url":"https://api.github.com/repos/evansde77/cirrus/issues/events{/number}","events_url":"https://api.github.com/repos/evansde77/cirrus/events","assignees_url":"https://api.github.com/repos/evansde77/cirrus/assignees{/user}","branches_url":"https://api.github.com/repos/evansde77/cirrus/branches{/branch}","tags_url":"https://api.github.com/repos/evansde77/cirrus/tags","blobs_url":"https://api.github.com/repos/evansde77/cirrus/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/evansde77/cirrus/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/evansde77/cirrus/git/refs{/sha}","trees_url":"https://api.github.com/repos/evansde77/cirrus/git/trees{/sha}","statuses_url":"https://api.github.com/repos/evansde77/cirrus/statuses/{sha}","languages_url":"https://api.github.com/repos/evansde77/cirrus/languages","stargazers_url":"https://api.github.com/repos/evansde77/cirrus/stargazers","contributors_url":"https://api.github.com/repos/evansde77/cirrus/contributors","subscribers_url":"https://api.github.com/repos/evansde77/cirrus/subscribers","subscription_url":"https://api.github.com/repos/evansde77/cirrus/subscription","commits_url":"https://api.github.com/repos/evansde77/cirrus/commits{/sha}","git_commits_url":"https://api.github.com/repos/evansde77/cirrus/git/commits{/sha}","comments_url":"https://api.github.com/repos/evansde77/cirrus/comments{/number}","issue_comment_url":"https://api.github.com/repos/evansde77/cirrus/issues/comments{/number}","contents_url":"https://api.github.com/repos/evansde77/cirrus/contents/{+path}","compare_url":"https://api.github.com/repos/evansde77/cirrus/compare/{base}...{head}","merges_url":"https://api.github.com/repos/evansde77/cirrus/merges","archive_url":"https://api.github.com/repos/evansde77/cirrus/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/evansde77/cirrus/downloads","issues_url":"https://api.github.com/repos/evansde77/cirrus/issues{/number}","pulls_url":"https://api.github.com/repos/evansde77/cirrus/pulls{/number}","milestones_url":"https://api.github.com/repos/evansde77/cirrus/milestones{/number}","notifications_url":"https://api.github.com/repos/evansde77/cirrus/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/evansde77/cirrus/labels{/name}","releases_url":"https://api.github.com/repos/evansde77/cirrus/releases{/id}","deployments_url":"https://api.github.com/repos/evansde77/cirrus/deployments","created_at":"2014-03-09T18:35:33Z","updated_at":"2016-01-12T15:17:18Z","pushed_at":"2016-03-30T21:15:37Z","git_url":"git://github.com/evansde77/cirrus.git","ssh_url":"git@github.com:evansde77/cirrus.git","clone_url":"https://github.com/evansde77/cirrus.git","svn_url":"https://github.com/evansde77/cirrus","homepage":null,"size":3321,"stargazers_count":1,"watchers_count":1,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":7,"forks":0,"open_issues":7,"watchers":1,"default_branch":"develop"}},"base":{"label":"evansde77:develop","ref":"develop","sha":"2ef758bda3a8bc4ffedb81b5727dbab9996dbe49","user":{"login":"evansde77","id":342380,"avatar_url":"https://avatars.githubusercontent.com/u/342380?v=3","gravatar_id":"","url":"https://api.github.com/users/evansde77","html_url":"https://github.com/evansde77","followers_url":"https://api.github.com/users/evansde77/followers","following_url":"https://api.github.com/users/evansde77/following{/other_user}","gists_url":"https://api.github.com/users/evansde77/gists{/gist_id}","starred_url":"https://api.github.com/users/evansde77/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/evansde77/subscriptions","organizations_url":"https://api.github.com/users/evansde77/orgs","repos_url":"https://api.github.com/users/evansde77/repos","events_url":"https://api.github.com/users/evansde77/events{/privacy}","received_events_url":"https://api.github.com/users/evansde77/received_events","type":"User","site_admin":false},"repo":{"id":17570751,"name":"cirrus","full_name":"evansde77/cirrus","owner":{"login":"evansde77","id":342380,"avatar_url":"https://avatars.githubusercontent.com/u/342380?v=3","gravatar_id":"","url":"https://api.github.com/users/evansde77","html_url":"https://github.com/evansde77","followers_url":"https://api.github.com/users/evansde77/followers","following_url":"https://api.github.com/users/evansde77/following{/other_user}","gists_url":"https://api.github.com/users/evansde77/gists{/gist_id}","starred_url":"https://api.github.com/users/evansde77/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/evansde77/subscriptions","organizations_url":"https://api.github.com/users/evansde77/orgs","repos_url":"https://api.github.com/users/evansde77/repos","events_url":"https://api.github.com/users/evansde77/events{/privacy}","received_events_url":"https://api.github.com/users/evansde77/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/evansde77/cirrus","description":"python library build, test and devop like things assistant","fork":false,"url":"https://api.github.com/repos/evansde77/cirrus","forks_url":"https://api.github.com/repos/evansde77/cirrus/forks","keys_url":"https://api.github.com/repos/evansde77/cirrus/keys{/key_id}","collaborators_url":"https://api.github.com/repos/evansde77/cirrus/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/evansde77/cirrus/teams","hooks_url":"https://api.github.com/repos/evansde77/cirrus/hooks","issue_events_url":"https://api.github.com/repos/evansde77/cirrus/issues/events{/number}","events_url":"https://api.github.com/repos/evansde77/cirrus/events","assignees_url":"https://api.github.com/repos/evansde77/cirrus/assignees{/user}","branches_url":"https://api.github.com/repos/evansde77/cirrus/branches{/branch}","tags_url":"https://api.github.com/repos/evansde77/cirrus/tags","blobs_url":"https://api.github.com/repos/evansde77/cirrus/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/evansde77/cirrus/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/evansde77/cirrus/git/refs{/sha}","trees_url":"https://api.github.com/repos/evansde77/cirrus/git/trees{/sha}","statuses_url":"https://api.github.com/repos/evansde77/cirrus/statuses/{sha}","languages_url":"https://api.github.com/repos/evansde77/cirrus/languages","stargazers_url":"https://api.github.com/repos/evansde77/cirrus/stargazers","contributors_url":"https://api.github.com/repos/evansde77/cirrus/contributors","subscribers_url":"https://api.github.com/repos/evansde77/cirrus/subscribers","subscription_url":"https://api.github.com/repos/evansde77/cirrus/subscription","commits_url":"https://api.github.com/repos/evansde77/cirrus/commits{/sha}","git_commits_url":"https://api.github.com/repos/evansde77/cirrus/git/commits{/sha}","comments_url":"https://api.github.com/repos/evansde77/cirrus/comments{/number}","issue_comment_url":"https://api.github.com/repos/evansde77/cirrus/issues/comments{/number}","contents_url":"https://api.github.com/repos/evansde77/cirrus/contents/{+path}","compare_url":"https://api.github.com/repos/evansde77/cirrus/compare/{base}...{head}","merges_url":"https://api.github.com/repos/evansde77/cirrus/merges","archive_url":"https://api.github.com/repos/evansde77/cirrus/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/evansde77/cirrus/downloads","issues_url":"https://api.github.com/repos/evansde77/cirrus/issues{/number}","pulls_url":"https://api.github.com/repos/evansde77/cirrus/pulls{/number}","milestones_url":"https://api.github.com/repos/evansde77/cirrus/milestones{/number}","notifications_url":"https://api.github.com/repos/evansde77/cirrus/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/evansde77/cirrus/labels{/name}","releases_url":"https://api.github.com/repos/evansde77/cirrus/releases{/id}","deployments_url":"https://api.github.com/repos/evansde77/cirrus/deployments","created_at":"2014-03-09T18:35:33Z","updated_at":"2016-01-12T15:17:18Z","pushed_at":"2016-03-30T21:15:37Z","git_url":"git://github.com/evansde77/cirrus.git","ssh_url":"git@github.com:evansde77/cirrus.git","clone_url":"https://github.com/evansde77/cirrus.git","svn_url":"https://github.com/evansde77/cirrus","homepage":null,"size":3321,"stargazers_count":1,"watchers_count":1,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":7,"forks":0,"open_issues":7,"watchers":1,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/evansde77/cirrus/pulls/104"},"html":{"href":"https://github.com/evansde77/cirrus/pull/104"},"issue":{"href":"https://api.github.com/repos/evansde77/cirrus/issues/104"},"comments":{"href":"https://api.github.com/repos/evansde77/cirrus/issues/104/comments"},"review_comments":{"href":"https://api.github.com/repos/evansde77/cirrus/pulls/104/comments"},"review_comment":{"href":"https://api.github.com/repos/evansde77/cirrus/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/evansde77/cirrus/pulls/104/commits"},"statuses":{"href":"https://api.github.com/repos/evansde77/cirrus/statuses/a3dbc5ebe752b2cd8ef1c745aee0bd23b0c1cc32"}}}}