{"action":"closed","number":8,"pull_request":{"url":"https://api.github.com/repos/opencontainers/ocitools/pulls/8","id":56771413,"html_url":"https://github.com/opencontainers/ocitools/pull/8","diff_url":"https://github.com/opencontainers/ocitools/pull/8.diff","patch_url":"https://github.com/opencontainers/ocitools/pull/8.patch","issue_url":"https://api.github.com/repos/opencontainers/ocitools/issues/8","number":8,"state":"closed","locked":false,"title":"get-stage3.sh: Replace non-POSIX `${FILE/${DATE}/current}` with sed","user":{"login":"wking","id":209920,"avatar_url":"https://avatars.githubusercontent.com/u/209920?v=3","gravatar_id":"","url":"https://api.github.com/users/wking","html_url":"https://github.com/wking","followers_url":"https://api.github.com/users/wking/followers","following_url":"https://api.github.com/users/wking/following{/other_user}","gists_url":"https://api.github.com/users/wking/gists{/gist_id}","starred_url":"https://api.github.com/users/wking/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wking/subscriptions","organizations_url":"https://api.github.com/users/wking/orgs","repos_url":"https://api.github.com/users/wking/repos","events_url":"https://api.github.com/users/wking/events{/privacy}","received_events_url":"https://api.github.com/users/wking/received_events","type":"User","site_admin":false},"body":"`${parameter/pattern/string}` [isn't in POSIX 2013][1], which leads to:\n\n    43: ./get-stage3.sh: Bad substitution\n\nwhen folks run a strictly-POSIX shell.  Replace it with [command\nsubstitution][2] invoking [echo][3] and [sed][4].\n\nAn alternative to #5.\n\n[1]: http://pubs.opengroup.org/onlinepubs/9699919799/utilities/V3_chap02.html#tag_18_06_02\n[2]: http://pubs.opengroup.org/onlinepubs/9699919799/utilities/V3_chap02.html#tag_18_06_03\n[3]: http://pubs.opengroup.org/onlinepubs/9699919799/utilities/echo.html\n[4]: http://pubs.opengroup.org/onlinepubs/9699919799/utilities/sed.html","created_at":"2016-01-21T16:16:30Z","updated_at":"2016-01-21T20:27:17Z","closed_at":"2016-01-21T20:27:16Z","merged_at":"2016-01-21T20:27:16Z","merge_commit_sha":"a1a4b06623b0d77eddcf0f8f85076b269dc5fb80","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/opencontainers/ocitools/pulls/8/commits","review_comments_url":"https://api.github.com/repos/opencontainers/ocitools/pulls/8/comments","review_comment_url":"https://api.github.com/repos/opencontainers/ocitools/pulls/comments{/number}","comments_url":"https://api.github.com/repos/opencontainers/ocitools/issues/8/comments","statuses_url":"https://api.github.com/repos/opencontainers/ocitools/statuses/e768d20e27350f6a26b10c43522022c140c28da3","head":{"label":"wking:get-stage3-sed-substitution","ref":"get-stage3-sed-substitution","sha":"e768d20e27350f6a26b10c43522022c140c28da3","user":{"login":"wking","id":209920,"avatar_url":"https://avatars.githubusercontent.com/u/209920?v=3","gravatar_id":"","url":"https://api.github.com/users/wking","html_url":"https://github.com/wking","followers_url":"https://api.github.com/users/wking/followers","following_url":"https://api.github.com/users/wking/following{/other_user}","gists_url":"https://api.github.com/users/wking/gists{/gist_id}","starred_url":"https://api.github.com/users/wking/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wking/subscriptions","organizations_url":"https://api.github.com/users/wking/orgs","repos_url":"https://api.github.com/users/wking/repos","events_url":"https://api.github.com/users/wking/events{/privacy}","received_events_url":"https://api.github.com/users/wking/received_events","type":"User","site_admin":false},"repo":{"id":50062899,"name":"ocitools-v2","full_name":"wking/ocitools-v2","owner":{"login":"wking","id":209920,"avatar_url":"https://avatars.githubusercontent.com/u/209920?v=3","gravatar_id":"","url":"https://api.github.com/users/wking","html_url":"https://github.com/wking","followers_url":"https://api.github.com/users/wking/followers","following_url":"https://api.github.com/users/wking/following{/other_user}","gists_url":"https://api.github.com/users/wking/gists{/gist_id}","starred_url":"https://api.github.com/users/wking/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wking/subscriptions","organizations_url":"https://api.github.com/users/wking/orgs","repos_url":"https://api.github.com/users/wking/repos","events_url":"https://api.github.com/users/wking/events{/privacy}","received_events_url":"https://api.github.com/users/wking/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/wking/ocitools-v2","description":"OCI Testing Toolset","fork":true,"url":"https://api.github.com/repos/wking/ocitools-v2","forks_url":"https://api.github.com/repos/wking/ocitools-v2/forks","keys_url":"https://api.github.com/repos/wking/ocitools-v2/keys{/key_id}","collaborators_url":"https://api.github.com/repos/wking/ocitools-v2/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/wking/ocitools-v2/teams","hooks_url":"https://api.github.com/repos/wking/ocitools-v2/hooks","issue_events_url":"https://api.github.com/repos/wking/ocitools-v2/issues/events{/number}","events_url":"https://api.github.com/repos/wking/ocitools-v2/events","assignees_url":"https://api.github.com/repos/wking/ocitools-v2/assignees{/user}","branches_url":"https://api.github.com/repos/wking/ocitools-v2/branches{/branch}","tags_url":"https://api.github.com/repos/wking/ocitools-v2/tags","blobs_url":"https://api.github.com/repos/wking/ocitools-v2/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/wking/ocitools-v2/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/wking/ocitools-v2/git/refs{/sha}","trees_url":"https://api.github.com/repos/wking/ocitools-v2/git/trees{/sha}","statuses_url":"https://api.github.com/repos/wking/ocitools-v2/statuses/{sha}","languages_url":"https://api.github.com/repos/wking/ocitools-v2/languages","stargazers_url":"https://api.github.com/repos/wking/ocitools-v2/stargazers","contributors_url":"https://api.github.com/repos/wking/ocitools-v2/contributors","subscribers_url":"https://api.github.com/repos/wking/ocitools-v2/subscribers","subscription_url":"https://api.github.com/repos/wking/ocitools-v2/subscription","commits_url":"https://api.github.com/repos/wking/ocitools-v2/commits{/sha}","git_commits_url":"https://api.github.com/repos/wking/ocitools-v2/git/commits{/sha}","comments_url":"https://api.github.com/repos/wking/ocitools-v2/comments{/number}","issue_comment_url":"https://api.github.com/repos/wking/ocitools-v2/issues/comments{/number}","contents_url":"https://api.github.com/repos/wking/ocitools-v2/contents/{+path}","compare_url":"https://api.github.com/repos/wking/ocitools-v2/compare/{base}...{head}","merges_url":"https://api.github.com/repos/wking/ocitools-v2/merges","archive_url":"https://api.github.com/repos/wking/ocitools-v2/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/wking/ocitools-v2/downloads","issues_url":"https://api.github.com/repos/wking/ocitools-v2/issues{/number}","pulls_url":"https://api.github.com/repos/wking/ocitools-v2/pulls{/number}","milestones_url":"https://api.github.com/repos/wking/ocitools-v2/milestones{/number}","notifications_url":"https://api.github.com/repos/wking/ocitools-v2/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/wking/ocitools-v2/labels{/name}","releases_url":"https://api.github.com/repos/wking/ocitools-v2/releases{/id}","created_at":"2016-01-20T21:50:54Z","updated_at":"2016-01-20T21:51:07Z","pushed_at":"2016-01-21T16:15:29Z","git_url":"git://github.com/wking/ocitools-v2.git","ssh_url":"git@github.com:wking/ocitools-v2.git","clone_url":"https://github.com/wking/ocitools-v2.git","svn_url":"https://github.com/wking/ocitools-v2","homepage":null,"size":2470,"stargazers_count":0,"watchers_count":0,"language":"Go","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":"opencontainers:master","ref":"master","sha":"9a255f7e79bb7306db15791900317d1e9bd94519","user":{"login":"opencontainers","id":12563465,"avatar_url":"https://avatars.githubusercontent.com/u/12563465?v=3","gravatar_id":"","url":"https://api.github.com/users/opencontainers","html_url":"https://github.com/opencontainers","followers_url":"https://api.github.com/users/opencontainers/followers","following_url":"https://api.github.com/users/opencontainers/following{/other_user}","gists_url":"https://api.github.com/users/opencontainers/gists{/gist_id}","starred_url":"https://api.github.com/users/opencontainers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/opencontainers/subscriptions","organizations_url":"https://api.github.com/users/opencontainers/orgs","repos_url":"https://api.github.com/users/opencontainers/repos","events_url":"https://api.github.com/users/opencontainers/events{/privacy}","received_events_url":"https://api.github.com/users/opencontainers/received_events","type":"Organization","site_admin":false},"repo":{"id":49598840,"name":"ocitools","full_name":"opencontainers/ocitools","owner":{"login":"opencontainers","id":12563465,"avatar_url":"https://avatars.githubusercontent.com/u/12563465?v=3","gravatar_id":"","url":"https://api.github.com/users/opencontainers","html_url":"https://github.com/opencontainers","followers_url":"https://api.github.com/users/opencontainers/followers","following_url":"https://api.github.com/users/opencontainers/following{/other_user}","gists_url":"https://api.github.com/users/opencontainers/gists{/gist_id}","starred_url":"https://api.github.com/users/opencontainers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/opencontainers/subscriptions","organizations_url":"https://api.github.com/users/opencontainers/orgs","repos_url":"https://api.github.com/users/opencontainers/repos","events_url":"https://api.github.com/users/opencontainers/events{/privacy}","received_events_url":"https://api.github.com/users/opencontainers/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/opencontainers/ocitools","description":"OCI Testing Toolset","fork":false,"url":"https://api.github.com/repos/opencontainers/ocitools","forks_url":"https://api.github.com/repos/opencontainers/ocitools/forks","keys_url":"https://api.github.com/repos/opencontainers/ocitools/keys{/key_id}","collaborators_url":"https://api.github.com/repos/opencontainers/ocitools/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/opencontainers/ocitools/teams","hooks_url":"https://api.github.com/repos/opencontainers/ocitools/hooks","issue_events_url":"https://api.github.com/repos/opencontainers/ocitools/issues/events{/number}","events_url":"https://api.github.com/repos/opencontainers/ocitools/events","assignees_url":"https://api.github.com/repos/opencontainers/ocitools/assignees{/user}","branches_url":"https://api.github.com/repos/opencontainers/ocitools/branches{/branch}","tags_url":"https://api.github.com/repos/opencontainers/ocitools/tags","blobs_url":"https://api.github.com/repos/opencontainers/ocitools/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/opencontainers/ocitools/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/opencontainers/ocitools/git/refs{/sha}","trees_url":"https://api.github.com/repos/opencontainers/ocitools/git/trees{/sha}","statuses_url":"https://api.github.com/repos/opencontainers/ocitools/statuses/{sha}","languages_url":"https://api.github.com/repos/opencontainers/ocitools/languages","stargazers_url":"https://api.github.com/repos/opencontainers/ocitools/stargazers","contributors_url":"https://api.github.com/repos/opencontainers/ocitools/contributors","subscribers_url":"https://api.github.com/repos/opencontainers/ocitools/subscribers","subscription_url":"https://api.github.com/repos/opencontainers/ocitools/subscription","commits_url":"https://api.github.com/repos/opencontainers/ocitools/commits{/sha}","git_commits_url":"https://api.github.com/repos/opencontainers/ocitools/git/commits{/sha}","comments_url":"https://api.github.com/repos/opencontainers/ocitools/comments{/number}","issue_comment_url":"https://api.github.com/repos/opencontainers/ocitools/issues/comments{/number}","contents_url":"https://api.github.com/repos/opencontainers/ocitools/contents/{+path}","compare_url":"https://api.github.com/repos/opencontainers/ocitools/compare/{base}...{head}","merges_url":"https://api.github.com/repos/opencontainers/ocitools/merges","archive_url":"https://api.github.com/repos/opencontainers/ocitools/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/opencontainers/ocitools/downloads","issues_url":"https://api.github.com/repos/opencontainers/ocitools/issues{/number}","pulls_url":"https://api.github.com/repos/opencontainers/ocitools/pulls{/number}","milestones_url":"https://api.github.com/repos/opencontainers/ocitools/milestones{/number}","notifications_url":"https://api.github.com/repos/opencontainers/ocitools/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/opencontainers/ocitools/labels{/name}","releases_url":"https://api.github.com/repos/opencontainers/ocitools/releases{/id}","created_at":"2016-01-13T20:10:21Z","updated_at":"2016-01-21T19:52:07Z","pushed_at":"2016-01-21T20:27:16Z","git_url":"git://github.com/opencontainers/ocitools.git","ssh_url":"git@github.com:opencontainers/ocitools.git","clone_url":"https://github.com/opencontainers/ocitools.git","svn_url":"https://github.com/opencontainers/ocitools","homepage":null,"size":2478,"stargazers_count":3,"watchers_count":3,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5,"mirror_url":null,"open_issues_count":6,"forks":5,"open_issues":6,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/opencontainers/ocitools/pulls/8"},"html":{"href":"https://github.com/opencontainers/ocitools/pull/8"},"issue":{"href":"https://api.github.com/repos/opencontainers/ocitools/issues/8"},"comments":{"href":"https://api.github.com/repos/opencontainers/ocitools/issues/8/comments"},"review_comments":{"href":"https://api.github.com/repos/opencontainers/ocitools/pulls/8/comments"},"review_comment":{"href":"https://api.github.com/repos/opencontainers/ocitools/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/opencontainers/ocitools/pulls/8/commits"},"statuses":{"href":"https://api.github.com/repos/opencontainers/ocitools/statuses/e768d20e27350f6a26b10c43522022c140c28da3"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"mrunalp","id":53798,"avatar_url":"https://avatars.githubusercontent.com/u/53798?v=3","gravatar_id":"","url":"https://api.github.com/users/mrunalp","html_url":"https://github.com/mrunalp","followers_url":"https://api.github.com/users/mrunalp/followers","following_url":"https://api.github.com/users/mrunalp/following{/other_user}","gists_url":"https://api.github.com/users/mrunalp/gists{/gist_id}","starred_url":"https://api.github.com/users/mrunalp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mrunalp/subscriptions","organizations_url":"https://api.github.com/users/mrunalp/orgs","repos_url":"https://api.github.com/users/mrunalp/repos","events_url":"https://api.github.com/users/mrunalp/events{/privacy}","received_events_url":"https://api.github.com/users/mrunalp/received_events","type":"User","site_admin":false},"comments":1,"review_comments":0,"commits":1,"additions":1,"deletions":1,"changed_files":1}}