{"action":"opened","number":9,"pull_request":{"url":"https://api.github.com/repos/Clever/gitbot/pulls/9","id":48594417,"html_url":"https://github.com/Clever/gitbot/pull/9","diff_url":"https://github.com/Clever/gitbot/pull/9.diff","patch_url":"https://github.com/Clever/gitbot/pull/9.patch","issue_url":"https://api.github.com/repos/Clever/gitbot/issues/9","number":9,"state":"open","locked":false,"title":"Add basepath option","user":{"login":"cgclever","id":13650281,"avatar_url":"https://avatars.githubusercontent.com/u/13650281?v=3","gravatar_id":"","url":"https://api.github.com/users/cgclever","html_url":"https://github.com/cgclever","followers_url":"https://api.github.com/users/cgclever/followers","following_url":"https://api.github.com/users/cgclever/following{/other_user}","gists_url":"https://api.github.com/users/cgclever/gists{/gist_id}","starred_url":"https://api.github.com/users/cgclever/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cgclever/subscriptions","organizations_url":"https://api.github.com/users/cgclever/orgs","repos_url":"https://api.github.com/users/cgclever/repos","events_url":"https://api.github.com/users/cgclever/events{/privacy}","received_events_url":"https://api.github.com/users/cgclever/received_events","type":"User","site_admin":false},"body":"In v1.0.0, when generating a temp file the prefix is simply `/home`. Here we add flexibility to prepend with a provided base_path. This is crucial for certain types of repo changes. For example, if your changes involve a `go get`, you'll get an error if you're not operating within your gopath. \r\n\r\nThis was motivated by work porting repos to go1.5 vendoring. \r\n\r\n@rgarcia ","created_at":"2015-10-23T15:31:50Z","updated_at":"2015-10-23T15:31:50Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Clever/gitbot/pulls/9/commits","review_comments_url":"https://api.github.com/repos/Clever/gitbot/pulls/9/comments","review_comment_url":"https://api.github.com/repos/Clever/gitbot/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Clever/gitbot/issues/9/comments","statuses_url":"https://api.github.com/repos/Clever/gitbot/statuses/a1fe72287c07e4ded4a1573e1413cb3f811444ae","head":{"label":"Clever:add-basepath-option","ref":"add-basepath-option","sha":"a1fe72287c07e4ded4a1573e1413cb3f811444ae","user":{"login":"Clever","id":1885509,"avatar_url":"https://avatars.githubusercontent.com/u/1885509?v=3","gravatar_id":"","url":"https://api.github.com/users/Clever","html_url":"https://github.com/Clever","followers_url":"https://api.github.com/users/Clever/followers","following_url":"https://api.github.com/users/Clever/following{/other_user}","gists_url":"https://api.github.com/users/Clever/gists{/gist_id}","starred_url":"https://api.github.com/users/Clever/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Clever/subscriptions","organizations_url":"https://api.github.com/users/Clever/orgs","repos_url":"https://api.github.com/users/Clever/repos","events_url":"https://api.github.com/users/Clever/events{/privacy}","received_events_url":"https://api.github.com/users/Clever/received_events","type":"Organization","site_admin":false},"repo":{"id":32838744,"name":"gitbot","full_name":"Clever/gitbot","owner":{"login":"Clever","id":1885509,"avatar_url":"https://avatars.githubusercontent.com/u/1885509?v=3","gravatar_id":"","url":"https://api.github.com/users/Clever","html_url":"https://github.com/Clever","followers_url":"https://api.github.com/users/Clever/followers","following_url":"https://api.github.com/users/Clever/following{/other_user}","gists_url":"https://api.github.com/users/Clever/gists{/gist_id}","starred_url":"https://api.github.com/users/Clever/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Clever/subscriptions","organizations_url":"https://api.github.com/users/Clever/orgs","repos_url":"https://api.github.com/users/Clever/repos","events_url":"https://api.github.com/users/Clever/events{/privacy}","received_events_url":"https://api.github.com/users/Clever/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Clever/gitbot","description":"programmatically make changes to many git repositories","fork":false,"url":"https://api.github.com/repos/Clever/gitbot","forks_url":"https://api.github.com/repos/Clever/gitbot/forks","keys_url":"https://api.github.com/repos/Clever/gitbot/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Clever/gitbot/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Clever/gitbot/teams","hooks_url":"https://api.github.com/repos/Clever/gitbot/hooks","issue_events_url":"https://api.github.com/repos/Clever/gitbot/issues/events{/number}","events_url":"https://api.github.com/repos/Clever/gitbot/events","assignees_url":"https://api.github.com/repos/Clever/gitbot/assignees{/user}","branches_url":"https://api.github.com/repos/Clever/gitbot/branches{/branch}","tags_url":"https://api.github.com/repos/Clever/gitbot/tags","blobs_url":"https://api.github.com/repos/Clever/gitbot/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Clever/gitbot/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Clever/gitbot/git/refs{/sha}","trees_url":"https://api.github.com/repos/Clever/gitbot/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Clever/gitbot/statuses/{sha}","languages_url":"https://api.github.com/repos/Clever/gitbot/languages","stargazers_url":"https://api.github.com/repos/Clever/gitbot/stargazers","contributors_url":"https://api.github.com/repos/Clever/gitbot/contributors","subscribers_url":"https://api.github.com/repos/Clever/gitbot/subscribers","subscription_url":"https://api.github.com/repos/Clever/gitbot/subscription","commits_url":"https://api.github.com/repos/Clever/gitbot/commits{/sha}","git_commits_url":"https://api.github.com/repos/Clever/gitbot/git/commits{/sha}","comments_url":"https://api.github.com/repos/Clever/gitbot/comments{/number}","issue_comment_url":"https://api.github.com/repos/Clever/gitbot/issues/comments{/number}","contents_url":"https://api.github.com/repos/Clever/gitbot/contents/{+path}","compare_url":"https://api.github.com/repos/Clever/gitbot/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Clever/gitbot/merges","archive_url":"https://api.github.com/repos/Clever/gitbot/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Clever/gitbot/downloads","issues_url":"https://api.github.com/repos/Clever/gitbot/issues{/number}","pulls_url":"https://api.github.com/repos/Clever/gitbot/pulls{/number}","milestones_url":"https://api.github.com/repos/Clever/gitbot/milestones{/number}","notifications_url":"https://api.github.com/repos/Clever/gitbot/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Clever/gitbot/labels{/name}","releases_url":"https://api.github.com/repos/Clever/gitbot/releases{/id}","created_at":"2015-03-25T02:50:09Z","updated_at":"2015-08-31T04:07:11Z","pushed_at":"2015-10-23T15:27:09Z","git_url":"git://github.com/Clever/gitbot.git","ssh_url":"git@github.com:Clever/gitbot.git","clone_url":"https://github.com/Clever/gitbot.git","svn_url":"https://github.com/Clever/gitbot","homepage":null,"size":324,"stargazers_count":6,"watchers_count":6,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":6,"default_branch":"master"}},"base":{"label":"Clever:master","ref":"master","sha":"224ae8797e7e19a25e611ed2b2201cb6fd7fc15e","user":{"login":"Clever","id":1885509,"avatar_url":"https://avatars.githubusercontent.com/u/1885509?v=3","gravatar_id":"","url":"https://api.github.com/users/Clever","html_url":"https://github.com/Clever","followers_url":"https://api.github.com/users/Clever/followers","following_url":"https://api.github.com/users/Clever/following{/other_user}","gists_url":"https://api.github.com/users/Clever/gists{/gist_id}","starred_url":"https://api.github.com/users/Clever/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Clever/subscriptions","organizations_url":"https://api.github.com/users/Clever/orgs","repos_url":"https://api.github.com/users/Clever/repos","events_url":"https://api.github.com/users/Clever/events{/privacy}","received_events_url":"https://api.github.com/users/Clever/received_events","type":"Organization","site_admin":false},"repo":{"id":32838744,"name":"gitbot","full_name":"Clever/gitbot","owner":{"login":"Clever","id":1885509,"avatar_url":"https://avatars.githubusercontent.com/u/1885509?v=3","gravatar_id":"","url":"https://api.github.com/users/Clever","html_url":"https://github.com/Clever","followers_url":"https://api.github.com/users/Clever/followers","following_url":"https://api.github.com/users/Clever/following{/other_user}","gists_url":"https://api.github.com/users/Clever/gists{/gist_id}","starred_url":"https://api.github.com/users/Clever/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Clever/subscriptions","organizations_url":"https://api.github.com/users/Clever/orgs","repos_url":"https://api.github.com/users/Clever/repos","events_url":"https://api.github.com/users/Clever/events{/privacy}","received_events_url":"https://api.github.com/users/Clever/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Clever/gitbot","description":"programmatically make changes to many git repositories","fork":false,"url":"https://api.github.com/repos/Clever/gitbot","forks_url":"https://api.github.com/repos/Clever/gitbot/forks","keys_url":"https://api.github.com/repos/Clever/gitbot/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Clever/gitbot/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Clever/gitbot/teams","hooks_url":"https://api.github.com/repos/Clever/gitbot/hooks","issue_events_url":"https://api.github.com/repos/Clever/gitbot/issues/events{/number}","events_url":"https://api.github.com/repos/Clever/gitbot/events","assignees_url":"https://api.github.com/repos/Clever/gitbot/assignees{/user}","branches_url":"https://api.github.com/repos/Clever/gitbot/branches{/branch}","tags_url":"https://api.github.com/repos/Clever/gitbot/tags","blobs_url":"https://api.github.com/repos/Clever/gitbot/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Clever/gitbot/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Clever/gitbot/git/refs{/sha}","trees_url":"https://api.github.com/repos/Clever/gitbot/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Clever/gitbot/statuses/{sha}","languages_url":"https://api.github.com/repos/Clever/gitbot/languages","stargazers_url":"https://api.github.com/repos/Clever/gitbot/stargazers","contributors_url":"https://api.github.com/repos/Clever/gitbot/contributors","subscribers_url":"https://api.github.com/repos/Clever/gitbot/subscribers","subscription_url":"https://api.github.com/repos/Clever/gitbot/subscription","commits_url":"https://api.github.com/repos/Clever/gitbot/commits{/sha}","git_commits_url":"https://api.github.com/repos/Clever/gitbot/git/commits{/sha}","comments_url":"https://api.github.com/repos/Clever/gitbot/comments{/number}","issue_comment_url":"https://api.github.com/repos/Clever/gitbot/issues/comments{/number}","contents_url":"https://api.github.com/repos/Clever/gitbot/contents/{+path}","compare_url":"https://api.github.com/repos/Clever/gitbot/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Clever/gitbot/merges","archive_url":"https://api.github.com/repos/Clever/gitbot/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Clever/gitbot/downloads","issues_url":"https://api.github.com/repos/Clever/gitbot/issues{/number}","pulls_url":"https://api.github.com/repos/Clever/gitbot/pulls{/number}","milestones_url":"https://api.github.com/repos/Clever/gitbot/milestones{/number}","notifications_url":"https://api.github.com/repos/Clever/gitbot/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Clever/gitbot/labels{/name}","releases_url":"https://api.github.com/repos/Clever/gitbot/releases{/id}","created_at":"2015-03-25T02:50:09Z","updated_at":"2015-08-31T04:07:11Z","pushed_at":"2015-10-23T15:27:09Z","git_url":"git://github.com/Clever/gitbot.git","ssh_url":"git@github.com:Clever/gitbot.git","clone_url":"https://github.com/Clever/gitbot.git","svn_url":"https://github.com/Clever/gitbot","homepage":null,"size":324,"stargazers_count":6,"watchers_count":6,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":6,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Clever/gitbot/pulls/9"},"html":{"href":"https://github.com/Clever/gitbot/pull/9"},"issue":{"href":"https://api.github.com/repos/Clever/gitbot/issues/9"},"comments":{"href":"https://api.github.com/repos/Clever/gitbot/issues/9/comments"},"review_comments":{"href":"https://api.github.com/repos/Clever/gitbot/pulls/9/comments"},"review_comment":{"href":"https://api.github.com/repos/Clever/gitbot/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Clever/gitbot/pulls/9/commits"},"statuses":{"href":"https://api.github.com/repos/Clever/gitbot/statuses/a1fe72287c07e4ded4a1573e1413cb3f811444ae"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":2,"additions":5,"deletions":2,"changed_files":2}}