{"action":"closed","number":509,"pull_request":{"url":"https://api.github.com/repos/github/backup-utils/pulls/509","id":307921646,"node_id":"MDExOlB1bGxSZXF1ZXN0MzA3OTIxNjQ2","html_url":"https://github.com/github/backup-utils/pull/509","diff_url":"https://github.com/github/backup-utils/pull/509.diff","patch_url":"https://github.com/github/backup-utils/pull/509.patch","issue_url":"https://api.github.com/repos/github/backup-utils/issues/509","number":509,"state":"closed","locked":false,"title":"Replace \"sed -E\" in ghe-host-check with a more portable solution","user":{"login":"taz","id":5474517,"node_id":"MDQ6VXNlcjU0NzQ1MTc=","avatar_url":"https://avatars2.githubusercontent.com/u/5474517?v=4","gravatar_id":"","url":"https://api.github.com/users/taz","html_url":"https://github.com/taz","followers_url":"https://api.github.com/users/taz/followers","following_url":"https://api.github.com/users/taz/following{/other_user}","gists_url":"https://api.github.com/users/taz/gists{/gist_id}","starred_url":"https://api.github.com/users/taz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/taz/subscriptions","organizations_url":"https://api.github.com/users/taz/orgs","repos_url":"https://api.github.com/users/taz/repos","events_url":"https://api.github.com/users/taz/events{/privacy}","received_events_url":"https://api.github.com/users/taz/received_events","type":"User","site_admin":true},"body":"On older backup hosts, `sed` doesn't include the `-E` option which results in a `ghe-host-check` failure. While replacing `sed` with a newer option would be ideal, it's not always achievable in a short timeframe.\r\n\r\nThe proposed solution requires the version string to be at the end of the first string returned—is that a valid long term assumption? It will cope with any future product name changes more gracefully however, which is what `sed -E` was added to accomodate.","created_at":"2019-08-16T02:46:36Z","updated_at":"2019-08-20T15:08:17Z","closed_at":"2019-08-20T15:08:17Z","merged_at":"2019-08-20T15:08:17Z","merge_commit_sha":"c2e1e64fe6f416aab37200089448157737ab9a73","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":112471838,"node_id":"MDU6TGFiZWwxMTI0NzE4Mzg=","url":"https://api.github.com/repos/github/backup-utils/labels/enhancement","name":"enhancement","color":"84b6eb","default":true}],"milestone":null,"commits_url":"https://api.github.com/repos/github/backup-utils/pulls/509/commits","review_comments_url":"https://api.github.com/repos/github/backup-utils/pulls/509/comments","review_comment_url":"https://api.github.com/repos/github/backup-utils/pulls/comments{/number}","comments_url":"https://api.github.com/repos/github/backup-utils/issues/509/comments","statuses_url":"https://api.github.com/repos/github/backup-utils/statuses/dba7848a82569e6e03eadc7814c903e34d324444","head":{"label":"github:taz/fix-host-check-portability","ref":"taz/fix-host-check-portability","sha":"dba7848a82569e6e03eadc7814c903e34d324444","user":{"login":"github","id":9919,"node_id":"MDEyOk9yZ2FuaXphdGlvbjk5MTk=","avatar_url":"https://avatars1.githubusercontent.com/u/9919?v=4","gravatar_id":"","url":"https://api.github.com/users/github","html_url":"https://github.com/github","followers_url":"https://api.github.com/users/github/followers","following_url":"https://api.github.com/users/github/following{/other_user}","gists_url":"https://api.github.com/users/github/gists{/gist_id}","starred_url":"https://api.github.com/users/github/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/github/subscriptions","organizations_url":"https://api.github.com/users/github/orgs","repos_url":"https://api.github.com/users/github/repos","events_url":"https://api.github.com/users/github/events{/privacy}","received_events_url":"https://api.github.com/users/github/received_events","type":"Organization","site_admin":false},"repo":{"id":21622084,"node_id":"MDEwOlJlcG9zaXRvcnkyMTYyMjA4NA==","name":"backup-utils","full_name":"github/backup-utils","private":false,"owner":{"login":"github","id":9919,"node_id":"MDEyOk9yZ2FuaXphdGlvbjk5MTk=","avatar_url":"https://avatars1.githubusercontent.com/u/9919?v=4","gravatar_id":"","url":"https://api.github.com/users/github","html_url":"https://github.com/github","followers_url":"https://api.github.com/users/github/followers","following_url":"https://api.github.com/users/github/following{/other_user}","gists_url":"https://api.github.com/users/github/gists{/gist_id}","starred_url":"https://api.github.com/users/github/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/github/subscriptions","organizations_url":"https://api.github.com/users/github/orgs","repos_url":"https://api.github.com/users/github/repos","events_url":"https://api.github.com/users/github/events{/privacy}","received_events_url":"https://api.github.com/users/github/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/github/backup-utils","description":"GitHub Enterprise Backup Utilities","fork":false,"url":"https://api.github.com/repos/github/backup-utils","forks_url":"https://api.github.com/repos/github/backup-utils/forks","keys_url":"https://api.github.com/repos/github/backup-utils/keys{/key_id}","collaborators_url":"https://api.github.com/repos/github/backup-utils/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/github/backup-utils/teams","hooks_url":"https://api.github.com/repos/github/backup-utils/hooks","issue_events_url":"https://api.github.com/repos/github/backup-utils/issues/events{/number}","events_url":"https://api.github.com/repos/github/backup-utils/events","assignees_url":"https://api.github.com/repos/github/backup-utils/assignees{/user}","branches_url":"https://api.github.com/repos/github/backup-utils/branches{/branch}","tags_url":"https://api.github.com/repos/github/backup-utils/tags","blobs_url":"https://api.github.com/repos/github/backup-utils/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/github/backup-utils/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/github/backup-utils/git/refs{/sha}","trees_url":"https://api.github.com/repos/github/backup-utils/git/trees{/sha}","statuses_url":"https://api.github.com/repos/github/backup-utils/statuses/{sha}","languages_url":"https://api.github.com/repos/github/backup-utils/languages","stargazers_url":"https://api.github.com/repos/github/backup-utils/stargazers","contributors_url":"https://api.github.com/repos/github/backup-utils/contributors","subscribers_url":"https://api.github.com/repos/github/backup-utils/subscribers","subscription_url":"https://api.github.com/repos/github/backup-utils/subscription","commits_url":"https://api.github.com/repos/github/backup-utils/commits{/sha}","git_commits_url":"https://api.github.com/repos/github/backup-utils/git/commits{/sha}","comments_url":"https://api.github.com/repos/github/backup-utils/comments{/number}","issue_comment_url":"https://api.github.com/repos/github/backup-utils/issues/comments{/number}","contents_url":"https://api.github.com/repos/github/backup-utils/contents/{+path}","compare_url":"https://api.github.com/repos/github/backup-utils/compare/{base}...{head}","merges_url":"https://api.github.com/repos/github/backup-utils/merges","archive_url":"https://api.github.com/repos/github/backup-utils/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/github/backup-utils/downloads","issues_url":"https://api.github.com/repos/github/backup-utils/issues{/number}","pulls_url":"https://api.github.com/repos/github/backup-utils/pulls{/number}","milestones_url":"https://api.github.com/repos/github/backup-utils/milestones{/number}","notifications_url":"https://api.github.com/repos/github/backup-utils/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/github/backup-utils/labels{/name}","releases_url":"https://api.github.com/repos/github/backup-utils/releases{/id}","deployments_url":"https://api.github.com/repos/github/backup-utils/deployments","created_at":"2014-07-08T17:16:02Z","updated_at":"2019-08-17T13:54:39Z","pushed_at":"2019-08-20T15:08:17Z","git_url":"git://github.com/github/backup-utils.git","ssh_url":"git@github.com:github/backup-utils.git","clone_url":"https://github.com/github/backup-utils.git","svn_url":"https://github.com/github/backup-utils","homepage":"","size":2026,"stargazers_count":534,"watchers_count":534,"language":"Shell","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":300,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":24,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":300,"open_issues":24,"watchers":534,"default_branch":"master"}},"base":{"label":"github:master","ref":"master","sha":"0b42e114d2e7d47f81f565ae1d625f3d9098fdae","user":{"login":"github","id":9919,"node_id":"MDEyOk9yZ2FuaXphdGlvbjk5MTk=","avatar_url":"https://avatars1.githubusercontent.com/u/9919?v=4","gravatar_id":"","url":"https://api.github.com/users/github","html_url":"https://github.com/github","followers_url":"https://api.github.com/users/github/followers","following_url":"https://api.github.com/users/github/following{/other_user}","gists_url":"https://api.github.com/users/github/gists{/gist_id}","starred_url":"https://api.github.com/users/github/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/github/subscriptions","organizations_url":"https://api.github.com/users/github/orgs","repos_url":"https://api.github.com/users/github/repos","events_url":"https://api.github.com/users/github/events{/privacy}","received_events_url":"https://api.github.com/users/github/received_events","type":"Organization","site_admin":false},"repo":{"id":21622084,"node_id":"MDEwOlJlcG9zaXRvcnkyMTYyMjA4NA==","name":"backup-utils","full_name":"github/backup-utils","private":false,"owner":{"login":"github","id":9919,"node_id":"MDEyOk9yZ2FuaXphdGlvbjk5MTk=","avatar_url":"https://avatars1.githubusercontent.com/u/9919?v=4","gravatar_id":"","url":"https://api.github.com/users/github","html_url":"https://github.com/github","followers_url":"https://api.github.com/users/github/followers","following_url":"https://api.github.com/users/github/following{/other_user}","gists_url":"https://api.github.com/users/github/gists{/gist_id}","starred_url":"https://api.github.com/users/github/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/github/subscriptions","organizations_url":"https://api.github.com/users/github/orgs","repos_url":"https://api.github.com/users/github/repos","events_url":"https://api.github.com/users/github/events{/privacy}","received_events_url":"https://api.github.com/users/github/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/github/backup-utils","description":"GitHub Enterprise Backup Utilities","fork":false,"url":"https://api.github.com/repos/github/backup-utils","forks_url":"https://api.github.com/repos/github/backup-utils/forks","keys_url":"https://api.github.com/repos/github/backup-utils/keys{/key_id}","collaborators_url":"https://api.github.com/repos/github/backup-utils/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/github/backup-utils/teams","hooks_url":"https://api.github.com/repos/github/backup-utils/hooks","issue_events_url":"https://api.github.com/repos/github/backup-utils/issues/events{/number}","events_url":"https://api.github.com/repos/github/backup-utils/events","assignees_url":"https://api.github.com/repos/github/backup-utils/assignees{/user}","branches_url":"https://api.github.com/repos/github/backup-utils/branches{/branch}","tags_url":"https://api.github.com/repos/github/backup-utils/tags","blobs_url":"https://api.github.com/repos/github/backup-utils/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/github/backup-utils/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/github/backup-utils/git/refs{/sha}","trees_url":"https://api.github.com/repos/github/backup-utils/git/trees{/sha}","statuses_url":"https://api.github.com/repos/github/backup-utils/statuses/{sha}","languages_url":"https://api.github.com/repos/github/backup-utils/languages","stargazers_url":"https://api.github.com/repos/github/backup-utils/stargazers","contributors_url":"https://api.github.com/repos/github/backup-utils/contributors","subscribers_url":"https://api.github.com/repos/github/backup-utils/subscribers","subscription_url":"https://api.github.com/repos/github/backup-utils/subscription","commits_url":"https://api.github.com/repos/github/backup-utils/commits{/sha}","git_commits_url":"https://api.github.com/repos/github/backup-utils/git/commits{/sha}","comments_url":"https://api.github.com/repos/github/backup-utils/comments{/number}","issue_comment_url":"https://api.github.com/repos/github/backup-utils/issues/comments{/number}","contents_url":"https://api.github.com/repos/github/backup-utils/contents/{+path}","compare_url":"https://api.github.com/repos/github/backup-utils/compare/{base}...{head}","merges_url":"https://api.github.com/repos/github/backup-utils/merges","archive_url":"https://api.github.com/repos/github/backup-utils/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/github/backup-utils/downloads","issues_url":"https://api.github.com/repos/github/backup-utils/issues{/number}","pulls_url":"https://api.github.com/repos/github/backup-utils/pulls{/number}","milestones_url":"https://api.github.com/repos/github/backup-utils/milestones{/number}","notifications_url":"https://api.github.com/repos/github/backup-utils/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/github/backup-utils/labels{/name}","releases_url":"https://api.github.com/repos/github/backup-utils/releases{/id}","deployments_url":"https://api.github.com/repos/github/backup-utils/deployments","created_at":"2014-07-08T17:16:02Z","updated_at":"2019-08-17T13:54:39Z","pushed_at":"2019-08-20T15:08:17Z","git_url":"git://github.com/github/backup-utils.git","ssh_url":"git@github.com:github/backup-utils.git","clone_url":"https://github.com/github/backup-utils.git","svn_url":"https://github.com/github/backup-utils","homepage":"","size":2026,"stargazers_count":534,"watchers_count":534,"language":"Shell","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":300,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":24,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":300,"open_issues":24,"watchers":534,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/github/backup-utils/pulls/509"},"html":{"href":"https://github.com/github/backup-utils/pull/509"},"issue":{"href":"https://api.github.com/repos/github/backup-utils/issues/509"},"comments":{"href":"https://api.github.com/repos/github/backup-utils/issues/509/comments"},"review_comments":{"href":"https://api.github.com/repos/github/backup-utils/pulls/509/comments"},"review_comment":{"href":"https://api.github.com/repos/github/backup-utils/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/github/backup-utils/pulls/509/commits"},"statuses":{"href":"https://api.github.com/repos/github/backup-utils/statuses/dba7848a82569e6e03eadc7814c903e34d324444"}},"author_association":"MEMBER","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"lildude","id":627280,"node_id":"MDQ6VXNlcjYyNzI4MA==","avatar_url":"https://avatars3.githubusercontent.com/u/627280?v=4","gravatar_id":"","url":"https://api.github.com/users/lildude","html_url":"https://github.com/lildude","followers_url":"https://api.github.com/users/lildude/followers","following_url":"https://api.github.com/users/lildude/following{/other_user}","gists_url":"https://api.github.com/users/lildude/gists{/gist_id}","starred_url":"https://api.github.com/users/lildude/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lildude/subscriptions","organizations_url":"https://api.github.com/users/lildude/orgs","repos_url":"https://api.github.com/users/lildude/repos","events_url":"https://api.github.com/users/lildude/events{/privacy}","received_events_url":"https://api.github.com/users/lildude/received_events","type":"User","site_admin":true},"comments":0,"review_comments":5,"maintainer_can_modify":false,"commits":2,"additions":1,"deletions":1,"changed_files":1}}
{"actor":{"display_login":"lildude"}}