{"action":"created","issue":{"url":"https://api.github.com/repos/rust-lang/cargo/issues/2527","repository_url":"https://api.github.com/repos/rust-lang/cargo","labels_url":"https://api.github.com/repos/rust-lang/cargo/issues/2527/labels{/name}","comments_url":"https://api.github.com/repos/rust-lang/cargo/issues/2527/comments","events_url":"https://api.github.com/repos/rust-lang/cargo/issues/2527/events","html_url":"https://github.com/rust-lang/cargo/issues/2527","id":144392974,"number":2527,"title":"[Feature Request] Support mercurial repositories as dependencies","user":{"login":"troplin","id":13793075,"avatar_url":"https://avatars3.githubusercontent.com/u/13793075?v=4","gravatar_id":"","url":"https://api.github.com/users/troplin","html_url":"https://github.com/troplin","followers_url":"https://api.github.com/users/troplin/followers","following_url":"https://api.github.com/users/troplin/following{/other_user}","gists_url":"https://api.github.com/users/troplin/gists{/gist_id}","starred_url":"https://api.github.com/users/troplin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/troplin/subscriptions","organizations_url":"https://api.github.com/users/troplin/orgs","repos_url":"https://api.github.com/users/troplin/repos","events_url":"https://api.github.com/users/troplin/events{/privacy}","received_events_url":"https://api.github.com/users/troplin/received_events","type":"User","site_admin":false},"labels":[{"id":139456835,"url":"https://api.github.com/repos/rust-lang/cargo/labels/E-hard","name":"E-hard","color":"02e10c","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-03-29T21:26:14Z","updated_at":"2018-05-28T15:17:20Z","closed_at":null,"author_association":"NONE","body":"It would be great if I could specify dependencies as mercurial repositories, similar to how git dependencies already work:\n\n``` toml\n[dependencies]\nmydependency = { hg = \"https://bitbucket.org/troplin/mydependency\" }\n```\n"},"comment":{"url":"https://api.github.com/repos/rust-lang/cargo/issues/comments/392552719","html_url":"https://github.com/rust-lang/cargo/issues/2527#issuecomment-392552719","issue_url":"https://api.github.com/repos/rust-lang/cargo/issues/2527","id":392552719,"user":{"login":"Ppjet6","id":138302,"avatar_url":"https://avatars0.githubusercontent.com/u/138302?v=4","gravatar_id":"","url":"https://api.github.com/users/Ppjet6","html_url":"https://github.com/Ppjet6","followers_url":"https://api.github.com/users/Ppjet6/followers","following_url":"https://api.github.com/users/Ppjet6/following{/other_user}","gists_url":"https://api.github.com/users/Ppjet6/gists{/gist_id}","starred_url":"https://api.github.com/users/Ppjet6/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ppjet6/subscriptions","organizations_url":"https://api.github.com/users/Ppjet6/orgs","repos_url":"https://api.github.com/users/Ppjet6/repos","events_url":"https://api.github.com/users/Ppjet6/events{/privacy}","received_events_url":"https://api.github.com/users/Ppjet6/received_events","type":"User","site_admin":false},"created_at":"2018-05-28T15:17:20Z","updated_at":"2018-05-28T15:17:20Z","author_association":"NONE","body":"Started looking into this as part of the impl days in Paris.\r\n\r\nLocally I defined a new `Kind::Hg(HgReference)` in `src/cargo/core/source/source_id.rs`, and also created a (almost empty, for now) `hg` module in `src/cargo/sources` as suggested.\r\nBefore this gets merged (if ever), I'd prefer to use the same struct for the `reference`.\r\n\r\nAlso there seem to be quite a few mentions of `git2` in `src/cargo/sources/remote` and I still need to figure out the relation with `src/cargo/sources/git`.\r\n\r\nThere are also a few things that can be abstracted away from this git module."}}
{"actor":{"display_login":"Ppjet6"}}