{"action":"created","issue":{"url":"https://api.github.com/repos/ashleygwilliams/cargo-generate/issues/128","repository_url":"https://api.github.com/repos/ashleygwilliams/cargo-generate","labels_url":"https://api.github.com/repos/ashleygwilliams/cargo-generate/issues/128/labels{/name}","comments_url":"https://api.github.com/repos/ashleygwilliams/cargo-generate/issues/128/comments","events_url":"https://api.github.com/repos/ashleygwilliams/cargo-generate/issues/128/events","html_url":"https://github.com/ashleygwilliams/cargo-generate/issues/128","id":385864867,"node_id":"MDU6SXNzdWUzODU4NjQ4Njc=","number":128,"title":"`cargo generate --git .` no longer works","user":{"login":"fitzgen","id":74571,"node_id":"MDQ6VXNlcjc0NTcx","avatar_url":"https://avatars2.githubusercontent.com/u/74571?v=4","gravatar_id":"","url":"https://api.github.com/users/fitzgen","html_url":"https://github.com/fitzgen","followers_url":"https://api.github.com/users/fitzgen/followers","following_url":"https://api.github.com/users/fitzgen/following{/other_user}","gists_url":"https://api.github.com/users/fitzgen/gists{/gist_id}","starred_url":"https://api.github.com/users/fitzgen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fitzgen/subscriptions","organizations_url":"https://api.github.com/users/fitzgen/orgs","repos_url":"https://api.github.com/users/fitzgen/repos","events_url":"https://api.github.com/users/fitzgen/events{/privacy}","received_events_url":"https://api.github.com/users/fitzgen/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-11-29T18:20:45Z","updated_at":"2018-11-29T23:14:47Z","closed_at":null,"author_association":"NONE","body":"This [broke the CI](https://travis-ci.org/rustwasm/wasm-pack-template/jobs/461137846#L871) for `rustwasm/wasm-pack-template`:\r\n\r\n```\r\n$ cargo generate --git . --name testing\r\n Creating project called `testing`...\r\nwarning: spurious network error (2 tries remaining): failed to resolve path 'file://./': No such file or directory; class=Os (2)\r\nwarning: spurious network error (1 tries remaining): failed to resolve path 'file://./': No such file or directory; class=Os (2)\r\nerror: failed to clone into: /home/travis/build/rustwasm/wasm-pack-template/testingTXqqxj\r\ncaused by: failed to resolve path 'file://./': No such file or directory; class=Os (2)\r\nThe command \"cargo generate --git . --name testing\" exited with 1.\r\n```\r\n\r\n-----------\r\n\r\n\r\n### Steps to Reproduce\r\n\r\n```\r\ngit clone https://github.com/rustwasm/wasm-pack-template.git\r\ncd wasm-pack-template\r\ncargo generate --git . --name testing\r\n```\r\n\r\n### Expected Results\r\n\r\nGenerates a `testing` project\r\n\r\n### Actual Results\r\n\r\n`cargo generate` does not exit successfully"},"comment":{"url":"https://api.github.com/repos/ashleygwilliams/cargo-generate/issues/comments/443029537","html_url":"https://github.com/ashleygwilliams/cargo-generate/issues/128#issuecomment-443029537","issue_url":"https://api.github.com/repos/ashleygwilliams/cargo-generate/issues/128","id":443029537,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0MzAyOTUzNw==","user":{"login":"DD5HT","id":7716993,"node_id":"MDQ6VXNlcjc3MTY5OTM=","avatar_url":"https://avatars2.githubusercontent.com/u/7716993?v=4","gravatar_id":"","url":"https://api.github.com/users/DD5HT","html_url":"https://github.com/DD5HT","followers_url":"https://api.github.com/users/DD5HT/followers","following_url":"https://api.github.com/users/DD5HT/following{/other_user}","gists_url":"https://api.github.com/users/DD5HT/gists{/gist_id}","starred_url":"https://api.github.com/users/DD5HT/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DD5HT/subscriptions","organizations_url":"https://api.github.com/users/DD5HT/orgs","repos_url":"https://api.github.com/users/DD5HT/repos","events_url":"https://api.github.com/users/DD5HT/events{/privacy}","received_events_url":"https://api.github.com/users/DD5HT/received_events","type":"User","site_admin":false},"created_at":"2018-11-29T23:14:47Z","updated_at":"2018-11-29T23:14:47Z","author_association":"CONTRIBUTOR","body":"The problem is in `git.rs` `GitConfig::new` does not like relative paths. It works with an absolute path. I can write a fix for this tomorrow @ashleygwilliams "}}
{"actor":{"display_login":"DD5HT"}}