{"action":"closed","number":5,"pull_request":{"url":"https://api.github.com/repos/gfontenot/xcode-cli/pulls/5","id":137995658,"html_url":"https://github.com/gfontenot/xcode-cli/pull/5","diff_url":"https://github.com/gfontenot/xcode-cli/pull/5.diff","patch_url":"https://github.com/gfontenot/xcode-cli/pull/5.patch","issue_url":"https://api.github.com/repos/gfontenot/xcode-cli/issues/5","number":5,"state":"closed","locked":false,"title":"xcode-list: Use basename instead of cut","user":{"login":"sharplet","id":147686,"avatar_url":"https://avatars3.githubusercontent.com/u/147686?v=4","gravatar_id":"","url":"https://api.github.com/users/sharplet","html_url":"https://github.com/sharplet","followers_url":"https://api.github.com/users/sharplet/followers","following_url":"https://api.github.com/users/sharplet/following{/other_user}","gists_url":"https://api.github.com/users/sharplet/gists{/gist_id}","starred_url":"https://api.github.com/users/sharplet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sharplet/subscriptions","organizations_url":"https://api.github.com/users/sharplet/orgs","repos_url":"https://api.github.com/users/sharplet/repos","events_url":"https://api.github.com/users/sharplet/events{/privacy}","received_events_url":"https://api.github.com/users/sharplet/received_events","type":"User","site_admin":false},"body":"By using `basename` instead of `echo | cut`, we no longer need to use `sh -c` to have `find` execute a pipeline. As a bonus, this also resolves the shellcheck substitution warning.","created_at":"2017-08-28T17:25:43Z","updated_at":"2017-08-28T17:34:32Z","closed_at":"2017-08-28T17:34:32Z","merged_at":"2017-08-28T17:34:32Z","merge_commit_sha":"7a7b9806ca2edb22ebb3b0f169742c4598627ddb","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/gfontenot/xcode-cli/pulls/5/commits","review_comments_url":"https://api.github.com/repos/gfontenot/xcode-cli/pulls/5/comments","review_comment_url":"https://api.github.com/repos/gfontenot/xcode-cli/pulls/comments{/number}","comments_url":"https://api.github.com/repos/gfontenot/xcode-cli/issues/5/comments","statuses_url":"https://api.github.com/repos/gfontenot/xcode-cli/statuses/7a7b9806ca2edb22ebb3b0f169742c4598627ddb","head":{"label":"sharplet:basename","ref":"basename","sha":"7a7b9806ca2edb22ebb3b0f169742c4598627ddb","user":{"login":"sharplet","id":147686,"avatar_url":"https://avatars3.githubusercontent.com/u/147686?v=4","gravatar_id":"","url":"https://api.github.com/users/sharplet","html_url":"https://github.com/sharplet","followers_url":"https://api.github.com/users/sharplet/followers","following_url":"https://api.github.com/users/sharplet/following{/other_user}","gists_url":"https://api.github.com/users/sharplet/gists{/gist_id}","starred_url":"https://api.github.com/users/sharplet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sharplet/subscriptions","organizations_url":"https://api.github.com/users/sharplet/orgs","repos_url":"https://api.github.com/users/sharplet/repos","events_url":"https://api.github.com/users/sharplet/events{/privacy}","received_events_url":"https://api.github.com/users/sharplet/received_events","type":"User","site_admin":false},"repo":{"id":101668726,"name":"xcode-cli","full_name":"sharplet/xcode-cli","owner":{"login":"sharplet","id":147686,"avatar_url":"https://avatars3.githubusercontent.com/u/147686?v=4","gravatar_id":"","url":"https://api.github.com/users/sharplet","html_url":"https://github.com/sharplet","followers_url":"https://api.github.com/users/sharplet/followers","following_url":"https://api.github.com/users/sharplet/following{/other_user}","gists_url":"https://api.github.com/users/sharplet/gists{/gist_id}","starred_url":"https://api.github.com/users/sharplet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sharplet/subscriptions","organizations_url":"https://api.github.com/users/sharplet/orgs","repos_url":"https://api.github.com/users/sharplet/repos","events_url":"https://api.github.com/users/sharplet/events{/privacy}","received_events_url":"https://api.github.com/users/sharplet/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/sharplet/xcode-cli","description":"Command line helpers for Xcode","fork":true,"url":"https://api.github.com/repos/sharplet/xcode-cli","forks_url":"https://api.github.com/repos/sharplet/xcode-cli/forks","keys_url":"https://api.github.com/repos/sharplet/xcode-cli/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sharplet/xcode-cli/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sharplet/xcode-cli/teams","hooks_url":"https://api.github.com/repos/sharplet/xcode-cli/hooks","issue_events_url":"https://api.github.com/repos/sharplet/xcode-cli/issues/events{/number}","events_url":"https://api.github.com/repos/sharplet/xcode-cli/events","assignees_url":"https://api.github.com/repos/sharplet/xcode-cli/assignees{/user}","branches_url":"https://api.github.com/repos/sharplet/xcode-cli/branches{/branch}","tags_url":"https://api.github.com/repos/sharplet/xcode-cli/tags","blobs_url":"https://api.github.com/repos/sharplet/xcode-cli/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sharplet/xcode-cli/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sharplet/xcode-cli/git/refs{/sha}","trees_url":"https://api.github.com/repos/sharplet/xcode-cli/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sharplet/xcode-cli/statuses/{sha}","languages_url":"https://api.github.com/repos/sharplet/xcode-cli/languages","stargazers_url":"https://api.github.com/repos/sharplet/xcode-cli/stargazers","contributors_url":"https://api.github.com/repos/sharplet/xcode-cli/contributors","subscribers_url":"https://api.github.com/repos/sharplet/xcode-cli/subscribers","subscription_url":"https://api.github.com/repos/sharplet/xcode-cli/subscription","commits_url":"https://api.github.com/repos/sharplet/xcode-cli/commits{/sha}","git_commits_url":"https://api.github.com/repos/sharplet/xcode-cli/git/commits{/sha}","comments_url":"https://api.github.com/repos/sharplet/xcode-cli/comments{/number}","issue_comment_url":"https://api.github.com/repos/sharplet/xcode-cli/issues/comments{/number}","contents_url":"https://api.github.com/repos/sharplet/xcode-cli/contents/{+path}","compare_url":"https://api.github.com/repos/sharplet/xcode-cli/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sharplet/xcode-cli/merges","archive_url":"https://api.github.com/repos/sharplet/xcode-cli/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sharplet/xcode-cli/downloads","issues_url":"https://api.github.com/repos/sharplet/xcode-cli/issues{/number}","pulls_url":"https://api.github.com/repos/sharplet/xcode-cli/pulls{/number}","milestones_url":"https://api.github.com/repos/sharplet/xcode-cli/milestones{/number}","notifications_url":"https://api.github.com/repos/sharplet/xcode-cli/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sharplet/xcode-cli/labels{/name}","releases_url":"https://api.github.com/repos/sharplet/xcode-cli/releases{/id}","deployments_url":"https://api.github.com/repos/sharplet/xcode-cli/deployments","created_at":"2017-08-28T17:25:18Z","updated_at":"2017-08-28T17:25:19Z","pushed_at":"2017-08-28T17:25:32Z","git_url":"git://github.com/sharplet/xcode-cli.git","ssh_url":"git@github.com:sharplet/xcode-cli.git","clone_url":"https://github.com/sharplet/xcode-cli.git","svn_url":"https://github.com/sharplet/xcode-cli","homepage":"","size":11,"stargazers_count":0,"watchers_count":0,"language":"Shell","has_issues":false,"has_projects":true,"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":"gfontenot:master","ref":"master","sha":"ea9e592d53ed44e541a3317fb4b05144a2402256","user":{"login":"gfontenot","id":124499,"avatar_url":"https://avatars3.githubusercontent.com/u/124499?v=4","gravatar_id":"","url":"https://api.github.com/users/gfontenot","html_url":"https://github.com/gfontenot","followers_url":"https://api.github.com/users/gfontenot/followers","following_url":"https://api.github.com/users/gfontenot/following{/other_user}","gists_url":"https://api.github.com/users/gfontenot/gists{/gist_id}","starred_url":"https://api.github.com/users/gfontenot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gfontenot/subscriptions","organizations_url":"https://api.github.com/users/gfontenot/orgs","repos_url":"https://api.github.com/users/gfontenot/repos","events_url":"https://api.github.com/users/gfontenot/events{/privacy}","received_events_url":"https://api.github.com/users/gfontenot/received_events","type":"User","site_admin":false},"repo":{"id":101104662,"name":"xcode-cli","full_name":"gfontenot/xcode-cli","owner":{"login":"gfontenot","id":124499,"avatar_url":"https://avatars3.githubusercontent.com/u/124499?v=4","gravatar_id":"","url":"https://api.github.com/users/gfontenot","html_url":"https://github.com/gfontenot","followers_url":"https://api.github.com/users/gfontenot/followers","following_url":"https://api.github.com/users/gfontenot/following{/other_user}","gists_url":"https://api.github.com/users/gfontenot/gists{/gist_id}","starred_url":"https://api.github.com/users/gfontenot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gfontenot/subscriptions","organizations_url":"https://api.github.com/users/gfontenot/orgs","repos_url":"https://api.github.com/users/gfontenot/repos","events_url":"https://api.github.com/users/gfontenot/events{/privacy}","received_events_url":"https://api.github.com/users/gfontenot/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/gfontenot/xcode-cli","description":"Command line helpers for Xcode","fork":false,"url":"https://api.github.com/repos/gfontenot/xcode-cli","forks_url":"https://api.github.com/repos/gfontenot/xcode-cli/forks","keys_url":"https://api.github.com/repos/gfontenot/xcode-cli/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gfontenot/xcode-cli/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gfontenot/xcode-cli/teams","hooks_url":"https://api.github.com/repos/gfontenot/xcode-cli/hooks","issue_events_url":"https://api.github.com/repos/gfontenot/xcode-cli/issues/events{/number}","events_url":"https://api.github.com/repos/gfontenot/xcode-cli/events","assignees_url":"https://api.github.com/repos/gfontenot/xcode-cli/assignees{/user}","branches_url":"https://api.github.com/repos/gfontenot/xcode-cli/branches{/branch}","tags_url":"https://api.github.com/repos/gfontenot/xcode-cli/tags","blobs_url":"https://api.github.com/repos/gfontenot/xcode-cli/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gfontenot/xcode-cli/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gfontenot/xcode-cli/git/refs{/sha}","trees_url":"https://api.github.com/repos/gfontenot/xcode-cli/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gfontenot/xcode-cli/statuses/{sha}","languages_url":"https://api.github.com/repos/gfontenot/xcode-cli/languages","stargazers_url":"https://api.github.com/repos/gfontenot/xcode-cli/stargazers","contributors_url":"https://api.github.com/repos/gfontenot/xcode-cli/contributors","subscribers_url":"https://api.github.com/repos/gfontenot/xcode-cli/subscribers","subscription_url":"https://api.github.com/repos/gfontenot/xcode-cli/subscription","commits_url":"https://api.github.com/repos/gfontenot/xcode-cli/commits{/sha}","git_commits_url":"https://api.github.com/repos/gfontenot/xcode-cli/git/commits{/sha}","comments_url":"https://api.github.com/repos/gfontenot/xcode-cli/comments{/number}","issue_comment_url":"https://api.github.com/repos/gfontenot/xcode-cli/issues/comments{/number}","contents_url":"https://api.github.com/repos/gfontenot/xcode-cli/contents/{+path}","compare_url":"https://api.github.com/repos/gfontenot/xcode-cli/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gfontenot/xcode-cli/merges","archive_url":"https://api.github.com/repos/gfontenot/xcode-cli/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gfontenot/xcode-cli/downloads","issues_url":"https://api.github.com/repos/gfontenot/xcode-cli/issues{/number}","pulls_url":"https://api.github.com/repos/gfontenot/xcode-cli/pulls{/number}","milestones_url":"https://api.github.com/repos/gfontenot/xcode-cli/milestones{/number}","notifications_url":"https://api.github.com/repos/gfontenot/xcode-cli/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gfontenot/xcode-cli/labels{/name}","releases_url":"https://api.github.com/repos/gfontenot/xcode-cli/releases{/id}","deployments_url":"https://api.github.com/repos/gfontenot/xcode-cli/deployments","created_at":"2017-08-22T20:29:39Z","updated_at":"2017-08-28T13:37:11Z","pushed_at":"2017-08-28T17:34:32Z","git_url":"git://github.com/gfontenot/xcode-cli.git","ssh_url":"git@github.com:gfontenot/xcode-cli.git","clone_url":"https://github.com/gfontenot/xcode-cli.git","svn_url":"https://github.com/gfontenot/xcode-cli","homepage":"","size":11,"stargazers_count":6,"watchers_count":6,"language":"Shell","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":2,"forks":1,"open_issues":2,"watchers":6,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/gfontenot/xcode-cli/pulls/5"},"html":{"href":"https://github.com/gfontenot/xcode-cli/pull/5"},"issue":{"href":"https://api.github.com/repos/gfontenot/xcode-cli/issues/5"},"comments":{"href":"https://api.github.com/repos/gfontenot/xcode-cli/issues/5/comments"},"review_comments":{"href":"https://api.github.com/repos/gfontenot/xcode-cli/pulls/5/comments"},"review_comment":{"href":"https://api.github.com/repos/gfontenot/xcode-cli/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/gfontenot/xcode-cli/pulls/5/commits"},"statuses":{"href":"https://api.github.com/repos/gfontenot/xcode-cli/statuses/7a7b9806ca2edb22ebb3b0f169742c4598627ddb"}},"merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"gfontenot","id":124499,"avatar_url":"https://avatars3.githubusercontent.com/u/124499?v=4","gravatar_id":"","url":"https://api.github.com/users/gfontenot","html_url":"https://github.com/gfontenot","followers_url":"https://api.github.com/users/gfontenot/followers","following_url":"https://api.github.com/users/gfontenot/following{/other_user}","gists_url":"https://api.github.com/users/gfontenot/gists{/gist_id}","starred_url":"https://api.github.com/users/gfontenot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gfontenot/subscriptions","organizations_url":"https://api.github.com/users/gfontenot/orgs","repos_url":"https://api.github.com/users/gfontenot/repos","events_url":"https://api.github.com/users/gfontenot/events{/privacy}","received_events_url":"https://api.github.com/users/gfontenot/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":1,"deletions":4,"changed_files":1}}
{"actor":{"display_login":"gfontenot"}}