{"action":"created","issue":{"url":"https://api.github.com/repos/npryce/adr-tools/issues/54","repository_url":"https://api.github.com/repos/npryce/adr-tools","labels_url":"https://api.github.com/repos/npryce/adr-tools/issues/54/labels{/name}","comments_url":"https://api.github.com/repos/npryce/adr-tools/issues/54/comments","events_url":"https://api.github.com/repos/npryce/adr-tools/issues/54/events","html_url":"https://github.com/npryce/adr-tools/pull/54","id":327698215,"node_id":"MDExOlB1bGxSZXF1ZXN0MTkxNDI3NzQ0","number":54,"title":"Support invocation of adr from paths that contain symlinks","user":{"login":"maxspicer","id":3259357,"node_id":"MDQ6VXNlcjMyNTkzNTc=","avatar_url":"https://avatars1.githubusercontent.com/u/3259357?v=4","gravatar_id":"","url":"https://api.github.com/users/maxspicer","html_url":"https://github.com/maxspicer","followers_url":"https://api.github.com/users/maxspicer/followers","following_url":"https://api.github.com/users/maxspicer/following{/other_user}","gists_url":"https://api.github.com/users/maxspicer/gists{/gist_id}","starred_url":"https://api.github.com/users/maxspicer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maxspicer/subscriptions","organizations_url":"https://api.github.com/users/maxspicer/orgs","repos_url":"https://api.github.com/users/maxspicer/repos","events_url":"https://api.github.com/users/maxspicer/events{/privacy}","received_events_url":"https://api.github.com/users/maxspicer/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-05-30T11:58:12Z","updated_at":"2018-07-23T16:40:09Z","closed_at":"2018-07-23T16:40:09Z","author_association":"NONE","pull_request":{"url":"https://api.github.com/repos/npryce/adr-tools/pulls/54","html_url":"https://github.com/npryce/adr-tools/pull/54","diff_url":"https://github.com/npryce/adr-tools/pull/54.diff","patch_url":"https://github.com/npryce/adr-tools/pull/54.patch"},"body":"adr fails when invoked as a symlink. For example:\r\n\r\n```\r\n# ls\r\nadr-tools-2.1.0\r\n# ln -s adr-tools-2.1.0/src/adr adr\r\n# ./adr\r\n./adr: line 3: ./adr-config: No such file or directory\r\n./adr: line 11: /adr-help: No such file or directory\r\n```\r\n\r\nThis PR adds a test for this that fails then fixes the issue."},"comment":{"url":"https://api.github.com/repos/npryce/adr-tools/issues/comments/407122350","html_url":"https://github.com/npryce/adr-tools/pull/54#issuecomment-407122350","issue_url":"https://api.github.com/repos/npryce/adr-tools/issues/54","id":407122350,"node_id":"MDEyOklzc3VlQ29tbWVudDQwNzEyMjM1MA==","user":{"login":"npryce","id":56219,"node_id":"MDQ6VXNlcjU2MjE5","avatar_url":"https://avatars3.githubusercontent.com/u/56219?v=4","gravatar_id":"","url":"https://api.github.com/users/npryce","html_url":"https://github.com/npryce","followers_url":"https://api.github.com/users/npryce/followers","following_url":"https://api.github.com/users/npryce/following{/other_user}","gists_url":"https://api.github.com/users/npryce/gists{/gist_id}","starred_url":"https://api.github.com/users/npryce/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/npryce/subscriptions","organizations_url":"https://api.github.com/users/npryce/orgs","repos_url":"https://api.github.com/users/npryce/repos","events_url":"https://api.github.com/users/npryce/events{/privacy}","received_events_url":"https://api.github.com/users/npryce/received_events","type":"User","site_admin":false},"created_at":"2018-07-23T16:40:09Z","updated_at":"2018-07-23T16:40:09Z","author_association":"OWNER","body":"There is a workaround and this PR breaks tests, so I'm closing it for now."}}
{"actor":{"display_login":"npryce"}}