{"action":"created","issue":{"url":"https://api.github.com/repos/ajoberstar/gradle-git/issues/192","repository_url":"https://api.github.com/repos/ajoberstar/gradle-git","labels_url":"https://api.github.com/repos/ajoberstar/gradle-git/issues/192/labels{/name}","comments_url":"https://api.github.com/repos/ajoberstar/gradle-git/issues/192/comments","events_url":"https://api.github.com/repos/ajoberstar/gradle-git/issues/192/events","html_url":"https://github.com/ajoberstar/gradle-git/issues/192","id":163084806,"number":192,"title":"Relative destination directory on CopySpec is not relative","user":{"login":"mojavelinux","id":79351,"avatar_url":"https://avatars.githubusercontent.com/u/79351?v=3","gravatar_id":"","url":"https://api.github.com/users/mojavelinux","html_url":"https://github.com/mojavelinux","followers_url":"https://api.github.com/users/mojavelinux/followers","following_url":"https://api.github.com/users/mojavelinux/following{/other_user}","gists_url":"https://api.github.com/users/mojavelinux/gists{/gist_id}","starred_url":"https://api.github.com/users/mojavelinux/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mojavelinux/subscriptions","organizations_url":"https://api.github.com/users/mojavelinux/orgs","repos_url":"https://api.github.com/users/mojavelinux/repos","events_url":"https://api.github.com/users/mojavelinux/events{/privacy}","received_events_url":"https://api.github.com/users/mojavelinux/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-06-30T05:38:22Z","updated_at":"2016-06-30T05:38:26Z","closed_at":null,"body":"The relative destination directory on CopySpec is not relative, as documented. Instead, the absolute path is being concatenated to the absolute path of the working directory, leading to unexpected results.\r\n\r\nThis can be seen by using the following configuration:\r\n\r\n```groovy\r\ngithubPages {\r\n  // ...\r\n  pages {\r\n    from 'build/generated-site'\r\n    into '.'\r\n  }\r\n}\r\n```\r\n\r\nThe targetDir used to locate files to wipe out should match the workingDir. Instead, it is matching workingDir + workingDir."},"comment":{"url":"https://api.github.com/repos/ajoberstar/gradle-git/issues/comments/229564035","html_url":"https://github.com/ajoberstar/gradle-git/issues/192#issuecomment-229564035","issue_url":"https://api.github.com/repos/ajoberstar/gradle-git/issues/192","id":229564035,"user":{"login":"mojavelinux","id":79351,"avatar_url":"https://avatars.githubusercontent.com/u/79351?v=3","gravatar_id":"","url":"https://api.github.com/users/mojavelinux","html_url":"https://github.com/mojavelinux","followers_url":"https://api.github.com/users/mojavelinux/followers","following_url":"https://api.github.com/users/mojavelinux/following{/other_user}","gists_url":"https://api.github.com/users/mojavelinux/gists{/gist_id}","starred_url":"https://api.github.com/users/mojavelinux/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mojavelinux/subscriptions","organizations_url":"https://api.github.com/users/mojavelinux/orgs","repos_url":"https://api.github.com/users/mojavelinux/repos","events_url":"https://api.github.com/users/mojavelinux/events{/privacy}","received_events_url":"https://api.github.com/users/mojavelinux/received_events","type":"User","site_admin":false},"created_at":"2016-06-30T05:38:26Z","updated_at":"2016-06-30T05:38:26Z","body":"This bug manifests because of a lack of test. I will send a PR with a fix and a test."}}
{"actor":{"display_login":"mojavelinux"}}