{"action":"opened","number":92,"pull_request":{"url":"https://api.github.com/repos/macports/macports-base/pulls/92","id":192193538,"node_id":"MDExOlB1bGxSZXF1ZXN0MTkyMTkzNTM4","html_url":"https://github.com/macports/macports-base/pull/92","diff_url":"https://github.com/macports/macports-base/pull/92.diff","patch_url":"https://github.com/macports/macports-base/pull/92.patch","issue_url":"https://api.github.com/repos/macports/macports-base/issues/92","number":92,"state":"open","locked":false,"title":"Make port-tclsh a relative symlink, not absolute","user":{"login":"ryandesign","id":429209,"node_id":"MDQ6VXNlcjQyOTIwOQ==","avatar_url":"https://avatars0.githubusercontent.com/u/429209?v=4","gravatar_id":"","url":"https://api.github.com/users/ryandesign","html_url":"https://github.com/ryandesign","followers_url":"https://api.github.com/users/ryandesign/followers","following_url":"https://api.github.com/users/ryandesign/following{/other_user}","gists_url":"https://api.github.com/users/ryandesign/gists{/gist_id}","starred_url":"https://api.github.com/users/ryandesign/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ryandesign/subscriptions","organizations_url":"https://api.github.com/users/ryandesign/orgs","repos_url":"https://api.github.com/users/ryandesign/repos","events_url":"https://api.github.com/users/ryandesign/events{/privacy}","received_events_url":"https://api.github.com/users/ryandesign/received_events","type":"User","site_admin":false},"body":"This is a step toward allowing the MacPorts installer package to install to any prefix.\r\n\r\nUsing Perl is the most straightforward and most compatible way I found to compute a relative path from two absolute paths.\r\n\r\nI wrote the Perl command inline because this is the only place where it's needed right now. But it could be broken out into a custom Makefile function to make it reusable.\r\n\r\nIs it ok to just use `perl`, since it is so widely available, or do we need to do autoconf stuff to find it and set a variable with its path? We already use `sed` in the same Makefile without checking for it.","created_at":"2018-06-02T11:31:47Z","updated_at":"2018-06-02T11:31:47Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/macports/macports-base/pulls/92/commits","review_comments_url":"https://api.github.com/repos/macports/macports-base/pulls/92/comments","review_comment_url":"https://api.github.com/repos/macports/macports-base/pulls/comments{/number}","comments_url":"https://api.github.com/repos/macports/macports-base/issues/92/comments","statuses_url":"https://api.github.com/repos/macports/macports-base/statuses/8bf33ed392e95c4fd3e6066940798437515ef58a","head":{"label":"ryandesign:port-tclsh-relative-symlink","ref":"port-tclsh-relative-symlink","sha":"8bf33ed392e95c4fd3e6066940798437515ef58a","user":{"login":"ryandesign","id":429209,"node_id":"MDQ6VXNlcjQyOTIwOQ==","avatar_url":"https://avatars0.githubusercontent.com/u/429209?v=4","gravatar_id":"","url":"https://api.github.com/users/ryandesign","html_url":"https://github.com/ryandesign","followers_url":"https://api.github.com/users/ryandesign/followers","following_url":"https://api.github.com/users/ryandesign/following{/other_user}","gists_url":"https://api.github.com/users/ryandesign/gists{/gist_id}","starred_url":"https://api.github.com/users/ryandesign/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ryandesign/subscriptions","organizations_url":"https://api.github.com/users/ryandesign/orgs","repos_url":"https://api.github.com/users/ryandesign/repos","events_url":"https://api.github.com/users/ryandesign/events{/privacy}","received_events_url":"https://api.github.com/users/ryandesign/received_events","type":"User","site_admin":false},"repo":{"id":127576890,"node_id":"MDEwOlJlcG9zaXRvcnkxMjc1NzY4OTA=","name":"macports-base","full_name":"ryandesign/macports-base","owner":{"login":"ryandesign","id":429209,"node_id":"MDQ6VXNlcjQyOTIwOQ==","avatar_url":"https://avatars0.githubusercontent.com/u/429209?v=4","gravatar_id":"","url":"https://api.github.com/users/ryandesign","html_url":"https://github.com/ryandesign","followers_url":"https://api.github.com/users/ryandesign/followers","following_url":"https://api.github.com/users/ryandesign/following{/other_user}","gists_url":"https://api.github.com/users/ryandesign/gists{/gist_id}","starred_url":"https://api.github.com/users/ryandesign/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ryandesign/subscriptions","organizations_url":"https://api.github.com/users/ryandesign/orgs","repos_url":"https://api.github.com/users/ryandesign/repos","events_url":"https://api.github.com/users/ryandesign/events{/privacy}","received_events_url":"https://api.github.com/users/ryandesign/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ryandesign/macports-base","description":"The MacPorts command-line client","fork":true,"url":"https://api.github.com/repos/ryandesign/macports-base","forks_url":"https://api.github.com/repos/ryandesign/macports-base/forks","keys_url":"https://api.github.com/repos/ryandesign/macports-base/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ryandesign/macports-base/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ryandesign/macports-base/teams","hooks_url":"https://api.github.com/repos/ryandesign/macports-base/hooks","issue_events_url":"https://api.github.com/repos/ryandesign/macports-base/issues/events{/number}","events_url":"https://api.github.com/repos/ryandesign/macports-base/events","assignees_url":"https://api.github.com/repos/ryandesign/macports-base/assignees{/user}","branches_url":"https://api.github.com/repos/ryandesign/macports-base/branches{/branch}","tags_url":"https://api.github.com/repos/ryandesign/macports-base/tags","blobs_url":"https://api.github.com/repos/ryandesign/macports-base/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ryandesign/macports-base/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ryandesign/macports-base/git/refs{/sha}","trees_url":"https://api.github.com/repos/ryandesign/macports-base/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ryandesign/macports-base/statuses/{sha}","languages_url":"https://api.github.com/repos/ryandesign/macports-base/languages","stargazers_url":"https://api.github.com/repos/ryandesign/macports-base/stargazers","contributors_url":"https://api.github.com/repos/ryandesign/macports-base/contributors","subscribers_url":"https://api.github.com/repos/ryandesign/macports-base/subscribers","subscription_url":"https://api.github.com/repos/ryandesign/macports-base/subscription","commits_url":"https://api.github.com/repos/ryandesign/macports-base/commits{/sha}","git_commits_url":"https://api.github.com/repos/ryandesign/macports-base/git/commits{/sha}","comments_url":"https://api.github.com/repos/ryandesign/macports-base/comments{/number}","issue_comment_url":"https://api.github.com/repos/ryandesign/macports-base/issues/comments{/number}","contents_url":"https://api.github.com/repos/ryandesign/macports-base/contents/{+path}","compare_url":"https://api.github.com/repos/ryandesign/macports-base/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ryandesign/macports-base/merges","archive_url":"https://api.github.com/repos/ryandesign/macports-base/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ryandesign/macports-base/downloads","issues_url":"https://api.github.com/repos/ryandesign/macports-base/issues{/number}","pulls_url":"https://api.github.com/repos/ryandesign/macports-base/pulls{/number}","milestones_url":"https://api.github.com/repos/ryandesign/macports-base/milestones{/number}","notifications_url":"https://api.github.com/repos/ryandesign/macports-base/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ryandesign/macports-base/labels{/name}","releases_url":"https://api.github.com/repos/ryandesign/macports-base/releases{/id}","deployments_url":"https://api.github.com/repos/ryandesign/macports-base/deployments","created_at":"2018-03-31T22:38:23Z","updated_at":"2018-04-06T07:59:18Z","pushed_at":"2018-06-02T11:18:34Z","git_url":"git://github.com/ryandesign/macports-base.git","ssh_url":"git@github.com:ryandesign/macports-base.git","clone_url":"https://github.com/ryandesign/macports-base.git","svn_url":"https://github.com/ryandesign/macports-base","homepage":"https://trac.macports.org","size":93697,"stargazers_count":0,"watchers_count":0,"language":"Tcl","has_issues":false,"has_projects":true,"has_downloads":false,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"other","name":"Other","spdx_id":null,"url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"macports:master","ref":"master","sha":"b5eaf4f1ef8d8f2d4c643a93c0541703555a2053","user":{"login":"macports","id":4225322,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQyMjUzMjI=","avatar_url":"https://avatars0.githubusercontent.com/u/4225322?v=4","gravatar_id":"","url":"https://api.github.com/users/macports","html_url":"https://github.com/macports","followers_url":"https://api.github.com/users/macports/followers","following_url":"https://api.github.com/users/macports/following{/other_user}","gists_url":"https://api.github.com/users/macports/gists{/gist_id}","starred_url":"https://api.github.com/users/macports/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/macports/subscriptions","organizations_url":"https://api.github.com/users/macports/orgs","repos_url":"https://api.github.com/users/macports/repos","events_url":"https://api.github.com/users/macports/events{/privacy}","received_events_url":"https://api.github.com/users/macports/received_events","type":"Organization","site_admin":false},"repo":{"id":70365092,"node_id":"MDEwOlJlcG9zaXRvcnk3MDM2NTA5Mg==","name":"macports-base","full_name":"macports/macports-base","owner":{"login":"macports","id":4225322,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQyMjUzMjI=","avatar_url":"https://avatars0.githubusercontent.com/u/4225322?v=4","gravatar_id":"","url":"https://api.github.com/users/macports","html_url":"https://github.com/macports","followers_url":"https://api.github.com/users/macports/followers","following_url":"https://api.github.com/users/macports/following{/other_user}","gists_url":"https://api.github.com/users/macports/gists{/gist_id}","starred_url":"https://api.github.com/users/macports/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/macports/subscriptions","organizations_url":"https://api.github.com/users/macports/orgs","repos_url":"https://api.github.com/users/macports/repos","events_url":"https://api.github.com/users/macports/events{/privacy}","received_events_url":"https://api.github.com/users/macports/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/macports/macports-base","description":"The MacPorts command-line client","fork":false,"url":"https://api.github.com/repos/macports/macports-base","forks_url":"https://api.github.com/repos/macports/macports-base/forks","keys_url":"https://api.github.com/repos/macports/macports-base/keys{/key_id}","collaborators_url":"https://api.github.com/repos/macports/macports-base/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/macports/macports-base/teams","hooks_url":"https://api.github.com/repos/macports/macports-base/hooks","issue_events_url":"https://api.github.com/repos/macports/macports-base/issues/events{/number}","events_url":"https://api.github.com/repos/macports/macports-base/events","assignees_url":"https://api.github.com/repos/macports/macports-base/assignees{/user}","branches_url":"https://api.github.com/repos/macports/macports-base/branches{/branch}","tags_url":"https://api.github.com/repos/macports/macports-base/tags","blobs_url":"https://api.github.com/repos/macports/macports-base/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/macports/macports-base/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/macports/macports-base/git/refs{/sha}","trees_url":"https://api.github.com/repos/macports/macports-base/git/trees{/sha}","statuses_url":"https://api.github.com/repos/macports/macports-base/statuses/{sha}","languages_url":"https://api.github.com/repos/macports/macports-base/languages","stargazers_url":"https://api.github.com/repos/macports/macports-base/stargazers","contributors_url":"https://api.github.com/repos/macports/macports-base/contributors","subscribers_url":"https://api.github.com/repos/macports/macports-base/subscribers","subscription_url":"https://api.github.com/repos/macports/macports-base/subscription","commits_url":"https://api.github.com/repos/macports/macports-base/commits{/sha}","git_commits_url":"https://api.github.com/repos/macports/macports-base/git/commits{/sha}","comments_url":"https://api.github.com/repos/macports/macports-base/comments{/number}","issue_comment_url":"https://api.github.com/repos/macports/macports-base/issues/comments{/number}","contents_url":"https://api.github.com/repos/macports/macports-base/contents/{+path}","compare_url":"https://api.github.com/repos/macports/macports-base/compare/{base}...{head}","merges_url":"https://api.github.com/repos/macports/macports-base/merges","archive_url":"https://api.github.com/repos/macports/macports-base/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/macports/macports-base/downloads","issues_url":"https://api.github.com/repos/macports/macports-base/issues{/number}","pulls_url":"https://api.github.com/repos/macports/macports-base/pulls{/number}","milestones_url":"https://api.github.com/repos/macports/macports-base/milestones{/number}","notifications_url":"https://api.github.com/repos/macports/macports-base/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/macports/macports-base/labels{/name}","releases_url":"https://api.github.com/repos/macports/macports-base/releases{/id}","deployments_url":"https://api.github.com/repos/macports/macports-base/deployments","created_at":"2016-10-09T00:31:41Z","updated_at":"2018-06-02T10:33:56Z","pushed_at":"2018-06-02T10:33:53Z","git_url":"git://github.com/macports/macports-base.git","ssh_url":"git@github.com:macports/macports-base.git","clone_url":"https://github.com/macports/macports-base.git","svn_url":"https://github.com/macports/macports-base","homepage":"https://trac.macports.org","size":93879,"stargazers_count":151,"watchers_count":151,"language":"Tcl","has_issues":false,"has_projects":false,"has_downloads":false,"has_wiki":false,"has_pages":false,"forks_count":60,"mirror_url":null,"archived":false,"open_issues_count":9,"license":{"key":"other","name":"Other","spdx_id":null,"url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":60,"open_issues":9,"watchers":151,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/macports/macports-base/pulls/92"},"html":{"href":"https://github.com/macports/macports-base/pull/92"},"issue":{"href":"https://api.github.com/repos/macports/macports-base/issues/92"},"comments":{"href":"https://api.github.com/repos/macports/macports-base/issues/92/comments"},"review_comments":{"href":"https://api.github.com/repos/macports/macports-base/pulls/92/comments"},"review_comment":{"href":"https://api.github.com/repos/macports/macports-base/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/macports/macports-base/pulls/92/commits"},"statuses":{"href":"https://api.github.com/repos/macports/macports-base/statuses/8bf33ed392e95c4fd3e6066940798437515ef58a"}},"author_association":"CONTRIBUTOR","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":1,"deletions":1,"changed_files":1}}
{"actor":{"display_login":"ryandesign"}}