{"action":"opened","number":5,"pull_request":{"url":"https://api.github.com/repos/EvanKrall/cronsul/pulls/5","id":46909547,"html_url":"https://github.com/EvanKrall/cronsul/pull/5","diff_url":"https://github.com/EvanKrall/cronsul/pull/5.diff","patch_url":"https://github.com/EvanKrall/cronsul/pull/5.patch","issue_url":"https://api.github.com/repos/EvanKrall/cronsul/issues/5","number":5,"state":"open","locked":false,"title":"exit with failed code on lock","user":{"login":"sstarcher","id":3778974,"avatar_url":"https://avatars.githubusercontent.com/u/3778974?v=3","gravatar_id":"","url":"https://api.github.com/users/sstarcher","html_url":"https://github.com/sstarcher","followers_url":"https://api.github.com/users/sstarcher/followers","following_url":"https://api.github.com/users/sstarcher/following{/other_user}","gists_url":"https://api.github.com/users/sstarcher/gists{/gist_id}","starred_url":"https://api.github.com/users/sstarcher/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sstarcher/subscriptions","organizations_url":"https://api.github.com/users/sstarcher/orgs","repos_url":"https://api.github.com/users/sstarcher/repos","events_url":"https://api.github.com/users/sstarcher/events{/privacy}","received_events_url":"https://api.github.com/users/sstarcher/received_events","type":"User","site_admin":false},"body":"We rely on the exit code from cronsul to determinate logic after the fact.  Changing the exit code when a lock already exists will help us to determine resultant logic.","created_at":"2015-10-06T14:26:40Z","updated_at":"2015-10-06T14:26:40Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/EvanKrall/cronsul/pulls/5/commits","review_comments_url":"https://api.github.com/repos/EvanKrall/cronsul/pulls/5/comments","review_comment_url":"https://api.github.com/repos/EvanKrall/cronsul/pulls/comments{/number}","comments_url":"https://api.github.com/repos/EvanKrall/cronsul/issues/5/comments","statuses_url":"https://api.github.com/repos/EvanKrall/cronsul/statuses/91368e1748fdf9174e050443aad5f8645c709c0c","head":{"label":"sstarcher:master","ref":"master","sha":"91368e1748fdf9174e050443aad5f8645c709c0c","user":{"login":"sstarcher","id":3778974,"avatar_url":"https://avatars.githubusercontent.com/u/3778974?v=3","gravatar_id":"","url":"https://api.github.com/users/sstarcher","html_url":"https://github.com/sstarcher","followers_url":"https://api.github.com/users/sstarcher/followers","following_url":"https://api.github.com/users/sstarcher/following{/other_user}","gists_url":"https://api.github.com/users/sstarcher/gists{/gist_id}","starred_url":"https://api.github.com/users/sstarcher/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sstarcher/subscriptions","organizations_url":"https://api.github.com/users/sstarcher/orgs","repos_url":"https://api.github.com/users/sstarcher/repos","events_url":"https://api.github.com/users/sstarcher/events{/privacy}","received_events_url":"https://api.github.com/users/sstarcher/received_events","type":"User","site_admin":false},"repo":{"id":42140119,"name":"cronsul","full_name":"sstarcher/cronsul","owner":{"login":"sstarcher","id":3778974,"avatar_url":"https://avatars.githubusercontent.com/u/3778974?v=3","gravatar_id":"","url":"https://api.github.com/users/sstarcher","html_url":"https://github.com/sstarcher","followers_url":"https://api.github.com/users/sstarcher/followers","following_url":"https://api.github.com/users/sstarcher/following{/other_user}","gists_url":"https://api.github.com/users/sstarcher/gists{/gist_id}","starred_url":"https://api.github.com/users/sstarcher/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sstarcher/subscriptions","organizations_url":"https://api.github.com/users/sstarcher/orgs","repos_url":"https://api.github.com/users/sstarcher/repos","events_url":"https://api.github.com/users/sstarcher/events{/privacy}","received_events_url":"https://api.github.com/users/sstarcher/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/sstarcher/cronsul","description":"Runs periodic jobs somewhere on a cluster... sorta","fork":true,"url":"https://api.github.com/repos/sstarcher/cronsul","forks_url":"https://api.github.com/repos/sstarcher/cronsul/forks","keys_url":"https://api.github.com/repos/sstarcher/cronsul/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sstarcher/cronsul/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sstarcher/cronsul/teams","hooks_url":"https://api.github.com/repos/sstarcher/cronsul/hooks","issue_events_url":"https://api.github.com/repos/sstarcher/cronsul/issues/events{/number}","events_url":"https://api.github.com/repos/sstarcher/cronsul/events","assignees_url":"https://api.github.com/repos/sstarcher/cronsul/assignees{/user}","branches_url":"https://api.github.com/repos/sstarcher/cronsul/branches{/branch}","tags_url":"https://api.github.com/repos/sstarcher/cronsul/tags","blobs_url":"https://api.github.com/repos/sstarcher/cronsul/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sstarcher/cronsul/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sstarcher/cronsul/git/refs{/sha}","trees_url":"https://api.github.com/repos/sstarcher/cronsul/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sstarcher/cronsul/statuses/{sha}","languages_url":"https://api.github.com/repos/sstarcher/cronsul/languages","stargazers_url":"https://api.github.com/repos/sstarcher/cronsul/stargazers","contributors_url":"https://api.github.com/repos/sstarcher/cronsul/contributors","subscribers_url":"https://api.github.com/repos/sstarcher/cronsul/subscribers","subscription_url":"https://api.github.com/repos/sstarcher/cronsul/subscription","commits_url":"https://api.github.com/repos/sstarcher/cronsul/commits{/sha}","git_commits_url":"https://api.github.com/repos/sstarcher/cronsul/git/commits{/sha}","comments_url":"https://api.github.com/repos/sstarcher/cronsul/comments{/number}","issue_comment_url":"https://api.github.com/repos/sstarcher/cronsul/issues/comments{/number}","contents_url":"https://api.github.com/repos/sstarcher/cronsul/contents/{+path}","compare_url":"https://api.github.com/repos/sstarcher/cronsul/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sstarcher/cronsul/merges","archive_url":"https://api.github.com/repos/sstarcher/cronsul/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sstarcher/cronsul/downloads","issues_url":"https://api.github.com/repos/sstarcher/cronsul/issues{/number}","pulls_url":"https://api.github.com/repos/sstarcher/cronsul/pulls{/number}","milestones_url":"https://api.github.com/repos/sstarcher/cronsul/milestones{/number}","notifications_url":"https://api.github.com/repos/sstarcher/cronsul/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sstarcher/cronsul/labels{/name}","releases_url":"https://api.github.com/repos/sstarcher/cronsul/releases{/id}","created_at":"2015-09-08T21:31:13Z","updated_at":"2015-09-08T21:31:14Z","pushed_at":"2015-10-06T14:12:47Z","git_url":"git://github.com/sstarcher/cronsul.git","ssh_url":"git@github.com:sstarcher/cronsul.git","clone_url":"https://github.com/sstarcher/cronsul.git","svn_url":"https://github.com/sstarcher/cronsul","homepage":"","size":86,"stargazers_count":0,"watchers_count":0,"language":"Shell","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":"EvanKrall:master","ref":"master","sha":"89a4d67a265fce5a51b1125e1d11d5bc38dbce2b","user":{"login":"EvanKrall","id":233961,"avatar_url":"https://avatars.githubusercontent.com/u/233961?v=3","gravatar_id":"","url":"https://api.github.com/users/EvanKrall","html_url":"https://github.com/EvanKrall","followers_url":"https://api.github.com/users/EvanKrall/followers","following_url":"https://api.github.com/users/EvanKrall/following{/other_user}","gists_url":"https://api.github.com/users/EvanKrall/gists{/gist_id}","starred_url":"https://api.github.com/users/EvanKrall/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EvanKrall/subscriptions","organizations_url":"https://api.github.com/users/EvanKrall/orgs","repos_url":"https://api.github.com/users/EvanKrall/repos","events_url":"https://api.github.com/users/EvanKrall/events{/privacy}","received_events_url":"https://api.github.com/users/EvanKrall/received_events","type":"User","site_admin":false},"repo":{"id":28609735,"name":"cronsul","full_name":"EvanKrall/cronsul","owner":{"login":"EvanKrall","id":233961,"avatar_url":"https://avatars.githubusercontent.com/u/233961?v=3","gravatar_id":"","url":"https://api.github.com/users/EvanKrall","html_url":"https://github.com/EvanKrall","followers_url":"https://api.github.com/users/EvanKrall/followers","following_url":"https://api.github.com/users/EvanKrall/following{/other_user}","gists_url":"https://api.github.com/users/EvanKrall/gists{/gist_id}","starred_url":"https://api.github.com/users/EvanKrall/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EvanKrall/subscriptions","organizations_url":"https://api.github.com/users/EvanKrall/orgs","repos_url":"https://api.github.com/users/EvanKrall/repos","events_url":"https://api.github.com/users/EvanKrall/events{/privacy}","received_events_url":"https://api.github.com/users/EvanKrall/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/EvanKrall/cronsul","description":"Runs periodic jobs somewhere on a cluster... sorta","fork":false,"url":"https://api.github.com/repos/EvanKrall/cronsul","forks_url":"https://api.github.com/repos/EvanKrall/cronsul/forks","keys_url":"https://api.github.com/repos/EvanKrall/cronsul/keys{/key_id}","collaborators_url":"https://api.github.com/repos/EvanKrall/cronsul/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/EvanKrall/cronsul/teams","hooks_url":"https://api.github.com/repos/EvanKrall/cronsul/hooks","issue_events_url":"https://api.github.com/repos/EvanKrall/cronsul/issues/events{/number}","events_url":"https://api.github.com/repos/EvanKrall/cronsul/events","assignees_url":"https://api.github.com/repos/EvanKrall/cronsul/assignees{/user}","branches_url":"https://api.github.com/repos/EvanKrall/cronsul/branches{/branch}","tags_url":"https://api.github.com/repos/EvanKrall/cronsul/tags","blobs_url":"https://api.github.com/repos/EvanKrall/cronsul/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/EvanKrall/cronsul/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/EvanKrall/cronsul/git/refs{/sha}","trees_url":"https://api.github.com/repos/EvanKrall/cronsul/git/trees{/sha}","statuses_url":"https://api.github.com/repos/EvanKrall/cronsul/statuses/{sha}","languages_url":"https://api.github.com/repos/EvanKrall/cronsul/languages","stargazers_url":"https://api.github.com/repos/EvanKrall/cronsul/stargazers","contributors_url":"https://api.github.com/repos/EvanKrall/cronsul/contributors","subscribers_url":"https://api.github.com/repos/EvanKrall/cronsul/subscribers","subscription_url":"https://api.github.com/repos/EvanKrall/cronsul/subscription","commits_url":"https://api.github.com/repos/EvanKrall/cronsul/commits{/sha}","git_commits_url":"https://api.github.com/repos/EvanKrall/cronsul/git/commits{/sha}","comments_url":"https://api.github.com/repos/EvanKrall/cronsul/comments{/number}","issue_comment_url":"https://api.github.com/repos/EvanKrall/cronsul/issues/comments{/number}","contents_url":"https://api.github.com/repos/EvanKrall/cronsul/contents/{+path}","compare_url":"https://api.github.com/repos/EvanKrall/cronsul/compare/{base}...{head}","merges_url":"https://api.github.com/repos/EvanKrall/cronsul/merges","archive_url":"https://api.github.com/repos/EvanKrall/cronsul/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/EvanKrall/cronsul/downloads","issues_url":"https://api.github.com/repos/EvanKrall/cronsul/issues{/number}","pulls_url":"https://api.github.com/repos/EvanKrall/cronsul/pulls{/number}","milestones_url":"https://api.github.com/repos/EvanKrall/cronsul/milestones{/number}","notifications_url":"https://api.github.com/repos/EvanKrall/cronsul/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/EvanKrall/cronsul/labels{/name}","releases_url":"https://api.github.com/repos/EvanKrall/cronsul/releases{/id}","created_at":"2014-12-29T23:08:00Z","updated_at":"2015-09-17T23:24:55Z","pushed_at":"2015-09-25T20:08:56Z","git_url":"git://github.com/EvanKrall/cronsul.git","ssh_url":"git@github.com:EvanKrall/cronsul.git","clone_url":"https://github.com/EvanKrall/cronsul.git","svn_url":"https://github.com/EvanKrall/cronsul","homepage":"","size":190,"stargazers_count":9,"watchers_count":9,"language":"Shell","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":2,"forks":2,"open_issues":2,"watchers":9,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/EvanKrall/cronsul/pulls/5"},"html":{"href":"https://github.com/EvanKrall/cronsul/pull/5"},"issue":{"href":"https://api.github.com/repos/EvanKrall/cronsul/issues/5"},"comments":{"href":"https://api.github.com/repos/EvanKrall/cronsul/issues/5/comments"},"review_comments":{"href":"https://api.github.com/repos/EvanKrall/cronsul/pulls/5/comments"},"review_comment":{"href":"https://api.github.com/repos/EvanKrall/cronsul/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/EvanKrall/cronsul/pulls/5/commits"},"statuses":{"href":"https://api.github.com/repos/EvanKrall/cronsul/statuses/91368e1748fdf9174e050443aad5f8645c709c0c"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":1,"deletions":1,"changed_files":1}}