{"action":"created","issue":{"url":"https://api.github.com/repos/nexB/scancode-toolkit/issues/746","repository_url":"https://api.github.com/repos/nexB/scancode-toolkit","labels_url":"https://api.github.com/repos/nexB/scancode-toolkit/issues/746/labels{/name}","comments_url":"https://api.github.com/repos/nexB/scancode-toolkit/issues/746/comments","events_url":"https://api.github.com/repos/nexB/scancode-toolkit/issues/746/events","html_url":"https://github.com/nexB/scancode-toolkit/issues/746","id":254642237,"number":746,"title":"path issue","user":{"login":"armijnhemel","id":10587952,"avatar_url":"https://avatars2.githubusercontent.com/u/10587952?v=4","gravatar_id":"","url":"https://api.github.com/users/armijnhemel","html_url":"https://github.com/armijnhemel","followers_url":"https://api.github.com/users/armijnhemel/followers","following_url":"https://api.github.com/users/armijnhemel/following{/other_user}","gists_url":"https://api.github.com/users/armijnhemel/gists{/gist_id}","starred_url":"https://api.github.com/users/armijnhemel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/armijnhemel/subscriptions","organizations_url":"https://api.github.com/users/armijnhemel/orgs","repos_url":"https://api.github.com/users/armijnhemel/repos","events_url":"https://api.github.com/users/armijnhemel/events{/privacy}","received_events_url":"https://api.github.com/users/armijnhemel/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-09-01T13:33:49Z","updated_at":"2017-09-01T19:31:26Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"$ ./scancode --full-root -f json-pp -n 4 ~/tmp/linux-4.10.1/fs/dcookies.c\r\n\r\ngives me the following in the JSON output:\r\n\r\n\"path\": \"/home/armijn/tmp/linux-4.10.1/fs/dcookies.c/dcookies.c\"\r\n\r\nwhich is wrong, as it should be:\r\n\r\n\"path\": \"/home/armijn/tmp/linux-4.10.1/fs/dcookies.c\"\r\n\r\n$ git log | head -n 1\r\ncommit b80257d022fa95c281266a1a96b7edde1f83aa72"},"comment":{"url":"https://api.github.com/repos/nexB/scancode-toolkit/issues/comments/326665751","html_url":"https://github.com/nexB/scancode-toolkit/issues/746#issuecomment-326665751","issue_url":"https://api.github.com/repos/nexB/scancode-toolkit/issues/746","id":326665751,"user":{"login":"pombredanne","id":675997,"avatar_url":"https://avatars2.githubusercontent.com/u/675997?v=4","gravatar_id":"","url":"https://api.github.com/users/pombredanne","html_url":"https://github.com/pombredanne","followers_url":"https://api.github.com/users/pombredanne/followers","following_url":"https://api.github.com/users/pombredanne/following{/other_user}","gists_url":"https://api.github.com/users/pombredanne/gists{/gist_id}","starred_url":"https://api.github.com/users/pombredanne/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pombredanne/subscriptions","organizations_url":"https://api.github.com/users/pombredanne/orgs","repos_url":"https://api.github.com/users/pombredanne/repos","events_url":"https://api.github.com/users/pombredanne/events{/privacy}","received_events_url":"https://api.github.com/users/pombredanne/received_events","type":"User","site_admin":false},"created_at":"2017-09-01T19:31:26Z","updated_at":"2017-09-01T19:31:26Z","author_association":"OWNER","body":"Thanks! Good catch.."}}
{"actor":{"display_login":"pombredanne"}}