{"action":"closed","number":3968,"pull_request":{"url":"https://api.github.com/repos/coreos/etcd/pulls/3968","id":52936168,"html_url":"https://github.com/coreos/etcd/pull/3968","diff_url":"https://github.com/coreos/etcd/pull/3968.diff","patch_url":"https://github.com/coreos/etcd/pull/3968.patch","issue_url":"https://api.github.com/repos/coreos/etcd/issues/3968","number":3968,"state":"closed","locked":false,"title":"remove bash'ism","user":{"login":"sjpotter","id":1659735,"avatar_url":"https://avatars.githubusercontent.com/u/1659735?v=3","gravatar_id":"","url":"https://api.github.com/users/sjpotter","html_url":"https://github.com/sjpotter","followers_url":"https://api.github.com/users/sjpotter/followers","following_url":"https://api.github.com/users/sjpotter/following{/other_user}","gists_url":"https://api.github.com/users/sjpotter/gists{/gist_id}","starred_url":"https://api.github.com/users/sjpotter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sjpotter/subscriptions","organizations_url":"https://api.github.com/users/sjpotter/orgs","repos_url":"https://api.github.com/users/sjpotter/repos","events_url":"https://api.github.com/users/sjpotter/events{/privacy}","received_events_url":"https://api.github.com/users/sjpotter/received_events","type":"User","site_admin":false},"body":"[[ ]] testing is a bash'ism, using a substring match that is posix compliant and doesn't fail with debian's sh","created_at":"2015-12-08T04:05:33Z","updated_at":"2015-12-08T05:17:01Z","closed_at":"2015-12-08T05:17:01Z","merged_at":"2015-12-08T05:17:01Z","merge_commit_sha":"7d47bb950f1869af7aee7cfb0314ba196dd9dcfd","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/coreos/etcd/pulls/3968/commits","review_comments_url":"https://api.github.com/repos/coreos/etcd/pulls/3968/comments","review_comment_url":"https://api.github.com/repos/coreos/etcd/pulls/comments{/number}","comments_url":"https://api.github.com/repos/coreos/etcd/issues/3968/comments","statuses_url":"https://api.github.com/repos/coreos/etcd/statuses/2c2fe7ee8eb6bb1d0baf88ef5ad424a8829326f2","head":{"label":"sjpotter:fix-build","ref":"fix-build","sha":"2c2fe7ee8eb6bb1d0baf88ef5ad424a8829326f2","user":{"login":"sjpotter","id":1659735,"avatar_url":"https://avatars.githubusercontent.com/u/1659735?v=3","gravatar_id":"","url":"https://api.github.com/users/sjpotter","html_url":"https://github.com/sjpotter","followers_url":"https://api.github.com/users/sjpotter/followers","following_url":"https://api.github.com/users/sjpotter/following{/other_user}","gists_url":"https://api.github.com/users/sjpotter/gists{/gist_id}","starred_url":"https://api.github.com/users/sjpotter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sjpotter/subscriptions","organizations_url":"https://api.github.com/users/sjpotter/orgs","repos_url":"https://api.github.com/users/sjpotter/repos","events_url":"https://api.github.com/users/sjpotter/events{/privacy}","received_events_url":"https://api.github.com/users/sjpotter/received_events","type":"User","site_admin":false},"repo":{"id":47595849,"name":"etcd","full_name":"sjpotter/etcd","owner":{"login":"sjpotter","id":1659735,"avatar_url":"https://avatars.githubusercontent.com/u/1659735?v=3","gravatar_id":"","url":"https://api.github.com/users/sjpotter","html_url":"https://github.com/sjpotter","followers_url":"https://api.github.com/users/sjpotter/followers","following_url":"https://api.github.com/users/sjpotter/following{/other_user}","gists_url":"https://api.github.com/users/sjpotter/gists{/gist_id}","starred_url":"https://api.github.com/users/sjpotter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sjpotter/subscriptions","organizations_url":"https://api.github.com/users/sjpotter/orgs","repos_url":"https://api.github.com/users/sjpotter/repos","events_url":"https://api.github.com/users/sjpotter/events{/privacy}","received_events_url":"https://api.github.com/users/sjpotter/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/sjpotter/etcd","description":"Distributed reliable key-value store for the most critical data of a distributed system","fork":true,"url":"https://api.github.com/repos/sjpotter/etcd","forks_url":"https://api.github.com/repos/sjpotter/etcd/forks","keys_url":"https://api.github.com/repos/sjpotter/etcd/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sjpotter/etcd/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sjpotter/etcd/teams","hooks_url":"https://api.github.com/repos/sjpotter/etcd/hooks","issue_events_url":"https://api.github.com/repos/sjpotter/etcd/issues/events{/number}","events_url":"https://api.github.com/repos/sjpotter/etcd/events","assignees_url":"https://api.github.com/repos/sjpotter/etcd/assignees{/user}","branches_url":"https://api.github.com/repos/sjpotter/etcd/branches{/branch}","tags_url":"https://api.github.com/repos/sjpotter/etcd/tags","blobs_url":"https://api.github.com/repos/sjpotter/etcd/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sjpotter/etcd/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sjpotter/etcd/git/refs{/sha}","trees_url":"https://api.github.com/repos/sjpotter/etcd/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sjpotter/etcd/statuses/{sha}","languages_url":"https://api.github.com/repos/sjpotter/etcd/languages","stargazers_url":"https://api.github.com/repos/sjpotter/etcd/stargazers","contributors_url":"https://api.github.com/repos/sjpotter/etcd/contributors","subscribers_url":"https://api.github.com/repos/sjpotter/etcd/subscribers","subscription_url":"https://api.github.com/repos/sjpotter/etcd/subscription","commits_url":"https://api.github.com/repos/sjpotter/etcd/commits{/sha}","git_commits_url":"https://api.github.com/repos/sjpotter/etcd/git/commits{/sha}","comments_url":"https://api.github.com/repos/sjpotter/etcd/comments{/number}","issue_comment_url":"https://api.github.com/repos/sjpotter/etcd/issues/comments{/number}","contents_url":"https://api.github.com/repos/sjpotter/etcd/contents/{+path}","compare_url":"https://api.github.com/repos/sjpotter/etcd/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sjpotter/etcd/merges","archive_url":"https://api.github.com/repos/sjpotter/etcd/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sjpotter/etcd/downloads","issues_url":"https://api.github.com/repos/sjpotter/etcd/issues{/number}","pulls_url":"https://api.github.com/repos/sjpotter/etcd/pulls{/number}","milestones_url":"https://api.github.com/repos/sjpotter/etcd/milestones{/number}","notifications_url":"https://api.github.com/repos/sjpotter/etcd/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sjpotter/etcd/labels{/name}","releases_url":"https://api.github.com/repos/sjpotter/etcd/releases{/id}","created_at":"2015-12-08T03:23:43Z","updated_at":"2015-12-08T03:23:45Z","pushed_at":"2015-12-08T05:06:29Z","git_url":"git://github.com/sjpotter/etcd.git","ssh_url":"git@github.com:sjpotter/etcd.git","clone_url":"https://github.com/sjpotter/etcd.git","svn_url":"https://github.com/sjpotter/etcd","homepage":"https://coreos.com/etcd/docs/latest/","size":19371,"stargazers_count":0,"watchers_count":0,"language":"Go","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":"coreos:master","ref":"master","sha":"977d3615f79d420c839f9b10ec994c82bc18a00d","user":{"login":"coreos","id":3730757,"avatar_url":"https://avatars.githubusercontent.com/u/3730757?v=3","gravatar_id":"","url":"https://api.github.com/users/coreos","html_url":"https://github.com/coreos","followers_url":"https://api.github.com/users/coreos/followers","following_url":"https://api.github.com/users/coreos/following{/other_user}","gists_url":"https://api.github.com/users/coreos/gists{/gist_id}","starred_url":"https://api.github.com/users/coreos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coreos/subscriptions","organizations_url":"https://api.github.com/users/coreos/orgs","repos_url":"https://api.github.com/users/coreos/repos","events_url":"https://api.github.com/users/coreos/events{/privacy}","received_events_url":"https://api.github.com/users/coreos/received_events","type":"Organization","site_admin":false},"repo":{"id":11225014,"name":"etcd","full_name":"coreos/etcd","owner":{"login":"coreos","id":3730757,"avatar_url":"https://avatars.githubusercontent.com/u/3730757?v=3","gravatar_id":"","url":"https://api.github.com/users/coreos","html_url":"https://github.com/coreos","followers_url":"https://api.github.com/users/coreos/followers","following_url":"https://api.github.com/users/coreos/following{/other_user}","gists_url":"https://api.github.com/users/coreos/gists{/gist_id}","starred_url":"https://api.github.com/users/coreos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coreos/subscriptions","organizations_url":"https://api.github.com/users/coreos/orgs","repos_url":"https://api.github.com/users/coreos/repos","events_url":"https://api.github.com/users/coreos/events{/privacy}","received_events_url":"https://api.github.com/users/coreos/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/coreos/etcd","description":"Distributed reliable key-value store for the most critical data of a distributed system","fork":false,"url":"https://api.github.com/repos/coreos/etcd","forks_url":"https://api.github.com/repos/coreos/etcd/forks","keys_url":"https://api.github.com/repos/coreos/etcd/keys{/key_id}","collaborators_url":"https://api.github.com/repos/coreos/etcd/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/coreos/etcd/teams","hooks_url":"https://api.github.com/repos/coreos/etcd/hooks","issue_events_url":"https://api.github.com/repos/coreos/etcd/issues/events{/number}","events_url":"https://api.github.com/repos/coreos/etcd/events","assignees_url":"https://api.github.com/repos/coreos/etcd/assignees{/user}","branches_url":"https://api.github.com/repos/coreos/etcd/branches{/branch}","tags_url":"https://api.github.com/repos/coreos/etcd/tags","blobs_url":"https://api.github.com/repos/coreos/etcd/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/coreos/etcd/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/coreos/etcd/git/refs{/sha}","trees_url":"https://api.github.com/repos/coreos/etcd/git/trees{/sha}","statuses_url":"https://api.github.com/repos/coreos/etcd/statuses/{sha}","languages_url":"https://api.github.com/repos/coreos/etcd/languages","stargazers_url":"https://api.github.com/repos/coreos/etcd/stargazers","contributors_url":"https://api.github.com/repos/coreos/etcd/contributors","subscribers_url":"https://api.github.com/repos/coreos/etcd/subscribers","subscription_url":"https://api.github.com/repos/coreos/etcd/subscription","commits_url":"https://api.github.com/repos/coreos/etcd/commits{/sha}","git_commits_url":"https://api.github.com/repos/coreos/etcd/git/commits{/sha}","comments_url":"https://api.github.com/repos/coreos/etcd/comments{/number}","issue_comment_url":"https://api.github.com/repos/coreos/etcd/issues/comments{/number}","contents_url":"https://api.github.com/repos/coreos/etcd/contents/{+path}","compare_url":"https://api.github.com/repos/coreos/etcd/compare/{base}...{head}","merges_url":"https://api.github.com/repos/coreos/etcd/merges","archive_url":"https://api.github.com/repos/coreos/etcd/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/coreos/etcd/downloads","issues_url":"https://api.github.com/repos/coreos/etcd/issues{/number}","pulls_url":"https://api.github.com/repos/coreos/etcd/pulls{/number}","milestones_url":"https://api.github.com/repos/coreos/etcd/milestones{/number}","notifications_url":"https://api.github.com/repos/coreos/etcd/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/coreos/etcd/labels{/name}","releases_url":"https://api.github.com/repos/coreos/etcd/releases{/id}","created_at":"2013-07-06T21:57:21Z","updated_at":"2015-12-08T01:41:52Z","pushed_at":"2015-12-08T05:17:01Z","git_url":"git://github.com/coreos/etcd.git","ssh_url":"git@github.com:coreos/etcd.git","clone_url":"https://github.com/coreos/etcd.git","svn_url":"https://github.com/coreos/etcd","homepage":"https://coreos.com/etcd/docs/latest/","size":21711,"stargazers_count":8183,"watchers_count":8183,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":1274,"mirror_url":null,"open_issues_count":163,"forks":1274,"open_issues":163,"watchers":8183,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/coreos/etcd/pulls/3968"},"html":{"href":"https://github.com/coreos/etcd/pull/3968"},"issue":{"href":"https://api.github.com/repos/coreos/etcd/issues/3968"},"comments":{"href":"https://api.github.com/repos/coreos/etcd/issues/3968/comments"},"review_comments":{"href":"https://api.github.com/repos/coreos/etcd/pulls/3968/comments"},"review_comment":{"href":"https://api.github.com/repos/coreos/etcd/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/coreos/etcd/pulls/3968/commits"},"statuses":{"href":"https://api.github.com/repos/coreos/etcd/statuses/2c2fe7ee8eb6bb1d0baf88ef5ad424a8829326f2"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"xiang90","id":4479947,"avatar_url":"https://avatars.githubusercontent.com/u/4479947?v=3","gravatar_id":"","url":"https://api.github.com/users/xiang90","html_url":"https://github.com/xiang90","followers_url":"https://api.github.com/users/xiang90/followers","following_url":"https://api.github.com/users/xiang90/following{/other_user}","gists_url":"https://api.github.com/users/xiang90/gists{/gist_id}","starred_url":"https://api.github.com/users/xiang90/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xiang90/subscriptions","organizations_url":"https://api.github.com/users/xiang90/orgs","repos_url":"https://api.github.com/users/xiang90/repos","events_url":"https://api.github.com/users/xiang90/events{/privacy}","received_events_url":"https://api.github.com/users/xiang90/received_events","type":"User","site_admin":false},"comments":2,"review_comments":1,"commits":1,"additions":1,"deletions":1,"changed_files":1}}