{"action":"closed","number":1654,"pull_request":{"url":"https://api.github.com/repos/i3/i3/pulls/1654","id":33111498,"html_url":"https://github.com/i3/i3/pull/1654","diff_url":"https://github.com/i3/i3/pull/1654.diff","patch_url":"https://github.com/i3/i3/pull/1654.patch","issue_url":"https://api.github.com/repos/i3/i3/issues/1654","number":1654,"state":"closed","locked":false,"title":"Allow complete-run.pl to be run from any directory","user":{"login":"Deiz","id":84350,"avatar_url":"https://avatars.githubusercontent.com/u/84350?v=3","gravatar_id":"","url":"https://api.github.com/users/Deiz","html_url":"https://github.com/Deiz","followers_url":"https://api.github.com/users/Deiz/followers","following_url":"https://api.github.com/users/Deiz/following{/other_user}","gists_url":"https://api.github.com/users/Deiz/gists{/gist_id}","starred_url":"https://api.github.com/users/Deiz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Deiz/subscriptions","organizations_url":"https://api.github.com/users/Deiz/orgs","repos_url":"https://api.github.com/users/Deiz/repos","events_url":"https://api.github.com/users/Deiz/events{/privacy}","received_events_url":"https://api.github.com/users/Deiz/received_events","type":"User","site_admin":false},"body":"More or less a Perl equivalent to `cd \"$(dirname $0)\"`.\r\n\r\nThe BEGIN block is needed to ensure $dirname is defined before `use lib $dirname . '/lib';` is evaluated.","created_at":"2015-04-11T23:00:48Z","updated_at":"2015-04-12T17:46:54Z","closed_at":"2015-04-12T17:46:54Z","merged_at":"2015-04-12T17:46:54Z","merge_commit_sha":"adb5cdde850371e11a7e7a70d73af520d6ef4a91","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/i3/i3/pulls/1654/commits","review_comments_url":"https://api.github.com/repos/i3/i3/pulls/1654/comments","review_comment_url":"https://api.github.com/repos/i3/i3/pulls/comments{/number}","comments_url":"https://api.github.com/repos/i3/i3/issues/1654/comments","statuses_url":"https://api.github.com/repos/i3/i3/statuses/e2e949f331fd7ac55d7e1b76eafb0521559bcd5d","head":{"label":"Deiz:complete-run-chdir","ref":"complete-run-chdir","sha":"e2e949f331fd7ac55d7e1b76eafb0521559bcd5d","user":{"login":"Deiz","id":84350,"avatar_url":"https://avatars.githubusercontent.com/u/84350?v=3","gravatar_id":"","url":"https://api.github.com/users/Deiz","html_url":"https://github.com/Deiz","followers_url":"https://api.github.com/users/Deiz/followers","following_url":"https://api.github.com/users/Deiz/following{/other_user}","gists_url":"https://api.github.com/users/Deiz/gists{/gist_id}","starred_url":"https://api.github.com/users/Deiz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Deiz/subscriptions","organizations_url":"https://api.github.com/users/Deiz/orgs","repos_url":"https://api.github.com/users/Deiz/repos","events_url":"https://api.github.com/users/Deiz/events{/privacy}","received_events_url":"https://api.github.com/users/Deiz/received_events","type":"User","site_admin":false},"repo":{"id":32891205,"name":"i3","full_name":"Deiz/i3","owner":{"login":"Deiz","id":84350,"avatar_url":"https://avatars.githubusercontent.com/u/84350?v=3","gravatar_id":"","url":"https://api.github.com/users/Deiz","html_url":"https://github.com/Deiz","followers_url":"https://api.github.com/users/Deiz/followers","following_url":"https://api.github.com/users/Deiz/following{/other_user}","gists_url":"https://api.github.com/users/Deiz/gists{/gist_id}","starred_url":"https://api.github.com/users/Deiz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Deiz/subscriptions","organizations_url":"https://api.github.com/users/Deiz/orgs","repos_url":"https://api.github.com/users/Deiz/repos","events_url":"https://api.github.com/users/Deiz/events{/privacy}","received_events_url":"https://api.github.com/users/Deiz/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Deiz/i3","description":"A better tiling and dynamic window manager","fork":true,"url":"https://api.github.com/repos/Deiz/i3","forks_url":"https://api.github.com/repos/Deiz/i3/forks","keys_url":"https://api.github.com/repos/Deiz/i3/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Deiz/i3/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Deiz/i3/teams","hooks_url":"https://api.github.com/repos/Deiz/i3/hooks","issue_events_url":"https://api.github.com/repos/Deiz/i3/issues/events{/number}","events_url":"https://api.github.com/repos/Deiz/i3/events","assignees_url":"https://api.github.com/repos/Deiz/i3/assignees{/user}","branches_url":"https://api.github.com/repos/Deiz/i3/branches{/branch}","tags_url":"https://api.github.com/repos/Deiz/i3/tags","blobs_url":"https://api.github.com/repos/Deiz/i3/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Deiz/i3/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Deiz/i3/git/refs{/sha}","trees_url":"https://api.github.com/repos/Deiz/i3/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Deiz/i3/statuses/{sha}","languages_url":"https://api.github.com/repos/Deiz/i3/languages","stargazers_url":"https://api.github.com/repos/Deiz/i3/stargazers","contributors_url":"https://api.github.com/repos/Deiz/i3/contributors","subscribers_url":"https://api.github.com/repos/Deiz/i3/subscribers","subscription_url":"https://api.github.com/repos/Deiz/i3/subscription","commits_url":"https://api.github.com/repos/Deiz/i3/commits{/sha}","git_commits_url":"https://api.github.com/repos/Deiz/i3/git/commits{/sha}","comments_url":"https://api.github.com/repos/Deiz/i3/comments{/number}","issue_comment_url":"https://api.github.com/repos/Deiz/i3/issues/comments{/number}","contents_url":"https://api.github.com/repos/Deiz/i3/contents/{+path}","compare_url":"https://api.github.com/repos/Deiz/i3/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Deiz/i3/merges","archive_url":"https://api.github.com/repos/Deiz/i3/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Deiz/i3/downloads","issues_url":"https://api.github.com/repos/Deiz/i3/issues{/number}","pulls_url":"https://api.github.com/repos/Deiz/i3/pulls{/number}","milestones_url":"https://api.github.com/repos/Deiz/i3/milestones{/number}","notifications_url":"https://api.github.com/repos/Deiz/i3/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Deiz/i3/labels{/name}","releases_url":"https://api.github.com/repos/Deiz/i3/releases{/id}","created_at":"2015-03-25T21:14:55Z","updated_at":"2015-04-02T20:16:01Z","pushed_at":"2015-04-12T17:23:38Z","git_url":"git://github.com/Deiz/i3.git","ssh_url":"git@github.com:Deiz/i3.git","clone_url":"https://github.com/Deiz/i3.git","svn_url":"https://github.com/Deiz/i3","homepage":"http://i3wm.org/","size":7473,"stargazers_count":0,"watchers_count":0,"language":"C","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":"next"}},"base":{"label":"i3:next","ref":"next","sha":"5e7339d8f0ebc6536f14a4ffa5d7dcdb7b3f8390","user":{"login":"i3","id":7904352,"avatar_url":"https://avatars.githubusercontent.com/u/7904352?v=3","gravatar_id":"","url":"https://api.github.com/users/i3","html_url":"https://github.com/i3","followers_url":"https://api.github.com/users/i3/followers","following_url":"https://api.github.com/users/i3/following{/other_user}","gists_url":"https://api.github.com/users/i3/gists{/gist_id}","starred_url":"https://api.github.com/users/i3/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/i3/subscriptions","organizations_url":"https://api.github.com/users/i3/orgs","repos_url":"https://api.github.com/users/i3/repos","events_url":"https://api.github.com/users/i3/events{/privacy}","received_events_url":"https://api.github.com/users/i3/received_events","type":"Organization","site_admin":false},"repo":{"id":30291090,"name":"i3","full_name":"i3/i3","owner":{"login":"i3","id":7904352,"avatar_url":"https://avatars.githubusercontent.com/u/7904352?v=3","gravatar_id":"","url":"https://api.github.com/users/i3","html_url":"https://github.com/i3","followers_url":"https://api.github.com/users/i3/followers","following_url":"https://api.github.com/users/i3/following{/other_user}","gists_url":"https://api.github.com/users/i3/gists{/gist_id}","starred_url":"https://api.github.com/users/i3/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/i3/subscriptions","organizations_url":"https://api.github.com/users/i3/orgs","repos_url":"https://api.github.com/users/i3/repos","events_url":"https://api.github.com/users/i3/events{/privacy}","received_events_url":"https://api.github.com/users/i3/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/i3/i3","description":"A better tiling and dynamic window manager","fork":false,"url":"https://api.github.com/repos/i3/i3","forks_url":"https://api.github.com/repos/i3/i3/forks","keys_url":"https://api.github.com/repos/i3/i3/keys{/key_id}","collaborators_url":"https://api.github.com/repos/i3/i3/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/i3/i3/teams","hooks_url":"https://api.github.com/repos/i3/i3/hooks","issue_events_url":"https://api.github.com/repos/i3/i3/issues/events{/number}","events_url":"https://api.github.com/repos/i3/i3/events","assignees_url":"https://api.github.com/repos/i3/i3/assignees{/user}","branches_url":"https://api.github.com/repos/i3/i3/branches{/branch}","tags_url":"https://api.github.com/repos/i3/i3/tags","blobs_url":"https://api.github.com/repos/i3/i3/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/i3/i3/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/i3/i3/git/refs{/sha}","trees_url":"https://api.github.com/repos/i3/i3/git/trees{/sha}","statuses_url":"https://api.github.com/repos/i3/i3/statuses/{sha}","languages_url":"https://api.github.com/repos/i3/i3/languages","stargazers_url":"https://api.github.com/repos/i3/i3/stargazers","contributors_url":"https://api.github.com/repos/i3/i3/contributors","subscribers_url":"https://api.github.com/repos/i3/i3/subscribers","subscription_url":"https://api.github.com/repos/i3/i3/subscription","commits_url":"https://api.github.com/repos/i3/i3/commits{/sha}","git_commits_url":"https://api.github.com/repos/i3/i3/git/commits{/sha}","comments_url":"https://api.github.com/repos/i3/i3/comments{/number}","issue_comment_url":"https://api.github.com/repos/i3/i3/issues/comments{/number}","contents_url":"https://api.github.com/repos/i3/i3/contents/{+path}","compare_url":"https://api.github.com/repos/i3/i3/compare/{base}...{head}","merges_url":"https://api.github.com/repos/i3/i3/merges","archive_url":"https://api.github.com/repos/i3/i3/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/i3/i3/downloads","issues_url":"https://api.github.com/repos/i3/i3/issues{/number}","pulls_url":"https://api.github.com/repos/i3/i3/pulls{/number}","milestones_url":"https://api.github.com/repos/i3/i3/milestones{/number}","notifications_url":"https://api.github.com/repos/i3/i3/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/i3/i3/labels{/name}","releases_url":"https://api.github.com/repos/i3/i3/releases{/id}","created_at":"2015-02-04T09:23:51Z","updated_at":"2015-04-12T17:08:45Z","pushed_at":"2015-04-12T17:46:54Z","git_url":"git://github.com/i3/i3.git","ssh_url":"git@github.com:i3/i3.git","clone_url":"https://github.com/i3/i3.git","svn_url":"https://github.com/i3/i3","homepage":"http://i3wm.org/","size":10252,"stargazers_count":309,"watchers_count":309,"language":"C","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":36,"mirror_url":null,"open_issues_count":78,"forks":36,"open_issues":78,"watchers":309,"default_branch":"next"}},"_links":{"self":{"href":"https://api.github.com/repos/i3/i3/pulls/1654"},"html":{"href":"https://github.com/i3/i3/pull/1654"},"issue":{"href":"https://api.github.com/repos/i3/i3/issues/1654"},"comments":{"href":"https://api.github.com/repos/i3/i3/issues/1654/comments"},"review_comments":{"href":"https://api.github.com/repos/i3/i3/pulls/1654/comments"},"review_comment":{"href":"https://api.github.com/repos/i3/i3/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/i3/i3/pulls/1654/commits"},"statuses":{"href":"https://api.github.com/repos/i3/i3/statuses/e2e949f331fd7ac55d7e1b76eafb0521559bcd5d"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"stapelberg","id":55506,"avatar_url":"https://avatars.githubusercontent.com/u/55506?v=3","gravatar_id":"","url":"https://api.github.com/users/stapelberg","html_url":"https://github.com/stapelberg","followers_url":"https://api.github.com/users/stapelberg/followers","following_url":"https://api.github.com/users/stapelberg/following{/other_user}","gists_url":"https://api.github.com/users/stapelberg/gists{/gist_id}","starred_url":"https://api.github.com/users/stapelberg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stapelberg/subscriptions","organizations_url":"https://api.github.com/users/stapelberg/orgs","repos_url":"https://api.github.com/users/stapelberg/repos","events_url":"https://api.github.com/users/stapelberg/events{/privacy}","received_events_url":"https://api.github.com/users/stapelberg/received_events","type":"User","site_admin":false},"comments":1,"review_comments":4,"commits":1,"additions":15,"deletions":2,"changed_files":1}}