{"action":"opened","number":18,"pull_request":{"url":"https://api.github.com/repos/xp-forge/dolly/pulls/18","id":47314703,"html_url":"https://github.com/xp-forge/dolly/pull/18","diff_url":"https://github.com/xp-forge/dolly/pull/18.diff","patch_url":"https://github.com/xp-forge/dolly/pull/18.patch","issue_url":"https://api.github.com/repos/xp-forge/dolly/issues/18","number":18,"state":"open","locked":false,"title":"Run post_update command only in certain conditions","user":{"login":"kiesel","id":127769,"avatar_url":"https://avatars.githubusercontent.com/u/127769?v=3","gravatar_id":"","url":"https://api.github.com/users/kiesel","html_url":"https://github.com/kiesel","followers_url":"https://api.github.com/users/kiesel/followers","following_url":"https://api.github.com/users/kiesel/following{/other_user}","gists_url":"https://api.github.com/users/kiesel/gists{/gist_id}","starred_url":"https://api.github.com/users/kiesel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kiesel/subscriptions","organizations_url":"https://api.github.com/users/kiesel/orgs","repos_url":"https://api.github.com/users/kiesel/repos","events_url":"https://api.github.com/users/kiesel/events{/privacy}","received_events_url":"https://api.github.com/users/kiesel/received_events","type":"User","site_admin":false},"body":"Only run `post_update` when checking out fresh or changes are available. This is a fix for issue #17.","created_at":"2015-10-09T20:11:53Z","updated_at":"2015-10-09T20:11:53Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/xp-forge/dolly/pulls/18/commits","review_comments_url":"https://api.github.com/repos/xp-forge/dolly/pulls/18/comments","review_comment_url":"https://api.github.com/repos/xp-forge/dolly/pulls/comments{/number}","comments_url":"https://api.github.com/repos/xp-forge/dolly/issues/18/comments","statuses_url":"https://api.github.com/repos/xp-forge/dolly/statuses/d58679d44fd62f6f4da043be53bc00a35ca60f7e","head":{"label":"xp-forge:feature/run-post-update-on-changed","ref":"feature/run-post-update-on-changed","sha":"d58679d44fd62f6f4da043be53bc00a35ca60f7e","user":{"login":"xp-forge","id":1721237,"avatar_url":"https://avatars.githubusercontent.com/u/1721237?v=3","gravatar_id":"","url":"https://api.github.com/users/xp-forge","html_url":"https://github.com/xp-forge","followers_url":"https://api.github.com/users/xp-forge/followers","following_url":"https://api.github.com/users/xp-forge/following{/other_user}","gists_url":"https://api.github.com/users/xp-forge/gists{/gist_id}","starred_url":"https://api.github.com/users/xp-forge/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xp-forge/subscriptions","organizations_url":"https://api.github.com/users/xp-forge/orgs","repos_url":"https://api.github.com/users/xp-forge/repos","events_url":"https://api.github.com/users/xp-forge/events{/privacy}","received_events_url":"https://api.github.com/users/xp-forge/received_events","type":"Organization","site_admin":false},"repo":{"id":22908552,"name":"dolly","full_name":"xp-forge/dolly","owner":{"login":"xp-forge","id":1721237,"avatar_url":"https://avatars.githubusercontent.com/u/1721237?v=3","gravatar_id":"","url":"https://api.github.com/users/xp-forge","html_url":"https://github.com/xp-forge","followers_url":"https://api.github.com/users/xp-forge/followers","following_url":"https://api.github.com/users/xp-forge/following{/other_user}","gists_url":"https://api.github.com/users/xp-forge/gists{/gist_id}","starred_url":"https://api.github.com/users/xp-forge/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xp-forge/subscriptions","organizations_url":"https://api.github.com/users/xp-forge/orgs","repos_url":"https://api.github.com/users/xp-forge/repos","events_url":"https://api.github.com/users/xp-forge/events{/privacy}","received_events_url":"https://api.github.com/users/xp-forge/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/xp-forge/dolly","description":"","fork":false,"url":"https://api.github.com/repos/xp-forge/dolly","forks_url":"https://api.github.com/repos/xp-forge/dolly/forks","keys_url":"https://api.github.com/repos/xp-forge/dolly/keys{/key_id}","collaborators_url":"https://api.github.com/repos/xp-forge/dolly/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/xp-forge/dolly/teams","hooks_url":"https://api.github.com/repos/xp-forge/dolly/hooks","issue_events_url":"https://api.github.com/repos/xp-forge/dolly/issues/events{/number}","events_url":"https://api.github.com/repos/xp-forge/dolly/events","assignees_url":"https://api.github.com/repos/xp-forge/dolly/assignees{/user}","branches_url":"https://api.github.com/repos/xp-forge/dolly/branches{/branch}","tags_url":"https://api.github.com/repos/xp-forge/dolly/tags","blobs_url":"https://api.github.com/repos/xp-forge/dolly/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/xp-forge/dolly/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/xp-forge/dolly/git/refs{/sha}","trees_url":"https://api.github.com/repos/xp-forge/dolly/git/trees{/sha}","statuses_url":"https://api.github.com/repos/xp-forge/dolly/statuses/{sha}","languages_url":"https://api.github.com/repos/xp-forge/dolly/languages","stargazers_url":"https://api.github.com/repos/xp-forge/dolly/stargazers","contributors_url":"https://api.github.com/repos/xp-forge/dolly/contributors","subscribers_url":"https://api.github.com/repos/xp-forge/dolly/subscribers","subscription_url":"https://api.github.com/repos/xp-forge/dolly/subscription","commits_url":"https://api.github.com/repos/xp-forge/dolly/commits{/sha}","git_commits_url":"https://api.github.com/repos/xp-forge/dolly/git/commits{/sha}","comments_url":"https://api.github.com/repos/xp-forge/dolly/comments{/number}","issue_comment_url":"https://api.github.com/repos/xp-forge/dolly/issues/comments{/number}","contents_url":"https://api.github.com/repos/xp-forge/dolly/contents/{+path}","compare_url":"https://api.github.com/repos/xp-forge/dolly/compare/{base}...{head}","merges_url":"https://api.github.com/repos/xp-forge/dolly/merges","archive_url":"https://api.github.com/repos/xp-forge/dolly/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/xp-forge/dolly/downloads","issues_url":"https://api.github.com/repos/xp-forge/dolly/issues{/number}","pulls_url":"https://api.github.com/repos/xp-forge/dolly/pulls{/number}","milestones_url":"https://api.github.com/repos/xp-forge/dolly/milestones{/number}","notifications_url":"https://api.github.com/repos/xp-forge/dolly/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/xp-forge/dolly/labels{/name}","releases_url":"https://api.github.com/repos/xp-forge/dolly/releases{/id}","created_at":"2014-08-13T08:32:44Z","updated_at":"2015-06-03T12:29:24Z","pushed_at":"2015-10-09T20:10:16Z","git_url":"git://github.com/xp-forge/dolly.git","ssh_url":"git@github.com:xp-forge/dolly.git","clone_url":"https://github.com/xp-forge/dolly.git","svn_url":"https://github.com/xp-forge/dolly","homepage":null,"size":308,"stargazers_count":3,"watchers_count":3,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":3,"forks":2,"open_issues":3,"watchers":3,"default_branch":"master"}},"base":{"label":"xp-forge:master","ref":"master","sha":"7b395f28958c57a16a1dae8d1d988dc92ff06c3a","user":{"login":"xp-forge","id":1721237,"avatar_url":"https://avatars.githubusercontent.com/u/1721237?v=3","gravatar_id":"","url":"https://api.github.com/users/xp-forge","html_url":"https://github.com/xp-forge","followers_url":"https://api.github.com/users/xp-forge/followers","following_url":"https://api.github.com/users/xp-forge/following{/other_user}","gists_url":"https://api.github.com/users/xp-forge/gists{/gist_id}","starred_url":"https://api.github.com/users/xp-forge/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xp-forge/subscriptions","organizations_url":"https://api.github.com/users/xp-forge/orgs","repos_url":"https://api.github.com/users/xp-forge/repos","events_url":"https://api.github.com/users/xp-forge/events{/privacy}","received_events_url":"https://api.github.com/users/xp-forge/received_events","type":"Organization","site_admin":false},"repo":{"id":22908552,"name":"dolly","full_name":"xp-forge/dolly","owner":{"login":"xp-forge","id":1721237,"avatar_url":"https://avatars.githubusercontent.com/u/1721237?v=3","gravatar_id":"","url":"https://api.github.com/users/xp-forge","html_url":"https://github.com/xp-forge","followers_url":"https://api.github.com/users/xp-forge/followers","following_url":"https://api.github.com/users/xp-forge/following{/other_user}","gists_url":"https://api.github.com/users/xp-forge/gists{/gist_id}","starred_url":"https://api.github.com/users/xp-forge/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xp-forge/subscriptions","organizations_url":"https://api.github.com/users/xp-forge/orgs","repos_url":"https://api.github.com/users/xp-forge/repos","events_url":"https://api.github.com/users/xp-forge/events{/privacy}","received_events_url":"https://api.github.com/users/xp-forge/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/xp-forge/dolly","description":"","fork":false,"url":"https://api.github.com/repos/xp-forge/dolly","forks_url":"https://api.github.com/repos/xp-forge/dolly/forks","keys_url":"https://api.github.com/repos/xp-forge/dolly/keys{/key_id}","collaborators_url":"https://api.github.com/repos/xp-forge/dolly/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/xp-forge/dolly/teams","hooks_url":"https://api.github.com/repos/xp-forge/dolly/hooks","issue_events_url":"https://api.github.com/repos/xp-forge/dolly/issues/events{/number}","events_url":"https://api.github.com/repos/xp-forge/dolly/events","assignees_url":"https://api.github.com/repos/xp-forge/dolly/assignees{/user}","branches_url":"https://api.github.com/repos/xp-forge/dolly/branches{/branch}","tags_url":"https://api.github.com/repos/xp-forge/dolly/tags","blobs_url":"https://api.github.com/repos/xp-forge/dolly/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/xp-forge/dolly/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/xp-forge/dolly/git/refs{/sha}","trees_url":"https://api.github.com/repos/xp-forge/dolly/git/trees{/sha}","statuses_url":"https://api.github.com/repos/xp-forge/dolly/statuses/{sha}","languages_url":"https://api.github.com/repos/xp-forge/dolly/languages","stargazers_url":"https://api.github.com/repos/xp-forge/dolly/stargazers","contributors_url":"https://api.github.com/repos/xp-forge/dolly/contributors","subscribers_url":"https://api.github.com/repos/xp-forge/dolly/subscribers","subscription_url":"https://api.github.com/repos/xp-forge/dolly/subscription","commits_url":"https://api.github.com/repos/xp-forge/dolly/commits{/sha}","git_commits_url":"https://api.github.com/repos/xp-forge/dolly/git/commits{/sha}","comments_url":"https://api.github.com/repos/xp-forge/dolly/comments{/number}","issue_comment_url":"https://api.github.com/repos/xp-forge/dolly/issues/comments{/number}","contents_url":"https://api.github.com/repos/xp-forge/dolly/contents/{+path}","compare_url":"https://api.github.com/repos/xp-forge/dolly/compare/{base}...{head}","merges_url":"https://api.github.com/repos/xp-forge/dolly/merges","archive_url":"https://api.github.com/repos/xp-forge/dolly/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/xp-forge/dolly/downloads","issues_url":"https://api.github.com/repos/xp-forge/dolly/issues{/number}","pulls_url":"https://api.github.com/repos/xp-forge/dolly/pulls{/number}","milestones_url":"https://api.github.com/repos/xp-forge/dolly/milestones{/number}","notifications_url":"https://api.github.com/repos/xp-forge/dolly/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/xp-forge/dolly/labels{/name}","releases_url":"https://api.github.com/repos/xp-forge/dolly/releases{/id}","created_at":"2014-08-13T08:32:44Z","updated_at":"2015-06-03T12:29:24Z","pushed_at":"2015-10-09T20:10:16Z","git_url":"git://github.com/xp-forge/dolly.git","ssh_url":"git@github.com:xp-forge/dolly.git","clone_url":"https://github.com/xp-forge/dolly.git","svn_url":"https://github.com/xp-forge/dolly","homepage":null,"size":308,"stargazers_count":3,"watchers_count":3,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":3,"forks":2,"open_issues":3,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/xp-forge/dolly/pulls/18"},"html":{"href":"https://github.com/xp-forge/dolly/pull/18"},"issue":{"href":"https://api.github.com/repos/xp-forge/dolly/issues/18"},"comments":{"href":"https://api.github.com/repos/xp-forge/dolly/issues/18/comments"},"review_comments":{"href":"https://api.github.com/repos/xp-forge/dolly/pulls/18/comments"},"review_comment":{"href":"https://api.github.com/repos/xp-forge/dolly/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/xp-forge/dolly/pulls/18/commits"},"statuses":{"href":"https://api.github.com/repos/xp-forge/dolly/statuses/d58679d44fd62f6f4da043be53bc00a35ca60f7e"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":2,"additions":17,"deletions":7,"changed_files":1}}