{"action":"created","issue":{"url":"https://api.github.com/repos/rust-lang/cargo/issues/2212","labels_url":"https://api.github.com/repos/rust-lang/cargo/issues/2212/labels{/name}","comments_url":"https://api.github.com/repos/rust-lang/cargo/issues/2212/comments","events_url":"https://api.github.com/repos/rust-lang/cargo/issues/2212/events","html_url":"https://github.com/rust-lang/cargo/issues/2212","id":122397695,"number":2212,"title":"Add a local filesystem registry type","user":{"login":"brson","id":147214,"avatar_url":"https://avatars.githubusercontent.com/u/147214?v=3","gravatar_id":"","url":"https://api.github.com/users/brson","html_url":"https://github.com/brson","followers_url":"https://api.github.com/users/brson/followers","following_url":"https://api.github.com/users/brson/following{/other_user}","gists_url":"https://api.github.com/users/brson/gists{/gist_id}","starred_url":"https://api.github.com/users/brson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brson/subscriptions","organizations_url":"https://api.github.com/users/brson/orgs","repos_url":"https://api.github.com/users/brson/repos","events_url":"https://api.github.com/users/brson/events{/privacy}","received_events_url":"https://api.github.com/users/brson/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-12-16T00:10:58Z","updated_at":"2015-12-28T11:50:33Z","closed_at":null,"body":"For the purpose of packaging Rust applications, Debian (and likely other distros) wants to also package all of the application's dependencies. They have tried doing this be rewriting registry dependencies into path dependencies and found it burdensome. What we want them to be able to do is construct a directory tree on the local filesystem that cargo understands as a new type of registry, and override cargo to use it instead of crates.io\r\n\r\nThe layout of this directory structure needs to be easily reproduced through scripting."},"comment":{"url":"https://api.github.com/repos/rust-lang/cargo/issues/comments/167550949","html_url":"https://github.com/rust-lang/cargo/issues/2212#issuecomment-167550949","issue_url":"https://api.github.com/repos/rust-lang/cargo/issues/2212","id":167550949,"user":{"login":"marcbowes","id":15209,"avatar_url":"https://avatars.githubusercontent.com/u/15209?v=3","gravatar_id":"","url":"https://api.github.com/users/marcbowes","html_url":"https://github.com/marcbowes","followers_url":"https://api.github.com/users/marcbowes/followers","following_url":"https://api.github.com/users/marcbowes/following{/other_user}","gists_url":"https://api.github.com/users/marcbowes/gists{/gist_id}","starred_url":"https://api.github.com/users/marcbowes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marcbowes/subscriptions","organizations_url":"https://api.github.com/users/marcbowes/orgs","repos_url":"https://api.github.com/users/marcbowes/repos","events_url":"https://api.github.com/users/marcbowes/events{/privacy}","received_events_url":"https://api.github.com/users/marcbowes/received_events","type":"User","site_admin":false},"created_at":"2015-12-28T11:50:33Z","updated_at":"2015-12-28T11:50:33Z","body":"Isn't this already supported (poorly)? You can set `registry.index` to the filesystem by using `file://`. The only niggle is that you have to do a `git commit` in the filesystem registry."}}