{"action":"created","issue":{"url":"https://api.github.com/repos/rust-lang/cargo/issues/1332","labels_url":"https://api.github.com/repos/rust-lang/cargo/issues/1332/labels{/name}","comments_url":"https://api.github.com/repos/rust-lang/cargo/issues/1332/comments","events_url":"https://api.github.com/repos/rust-lang/cargo/issues/1332/events","html_url":"https://github.com/rust-lang/cargo/issues/1332","id":58504601,"number":1332,"title":"add --dry-run to `cargo publish`","user":{"login":"shepmaster","id":174509,"avatar_url":"https://avatars.githubusercontent.com/u/174509?v=3","gravatar_id":"","url":"https://api.github.com/users/shepmaster","html_url":"https://github.com/shepmaster","followers_url":"https://api.github.com/users/shepmaster/followers","following_url":"https://api.github.com/users/shepmaster/following{/other_user}","gists_url":"https://api.github.com/users/shepmaster/gists{/gist_id}","starred_url":"https://api.github.com/users/shepmaster/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shepmaster/subscriptions","organizations_url":"https://api.github.com/users/shepmaster/orgs","repos_url":"https://api.github.com/users/shepmaster/repos","events_url":"https://api.github.com/users/shepmaster/events{/privacy}","received_events_url":"https://api.github.com/users/shepmaster/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/rust-lang/cargo/labels/C-publish","name":"C-publish","color":"5319e7"},{"url":"https://api.github.com/repos/rust-lang/cargo/labels/E-easy","name":"E-easy","color":"02e10c"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-02-22T14:39:07Z","updated_at":"2015-06-07T17:11:08Z","closed_at":null,"body":"Running `cargo package` reported no errors, but running `cargo publish` warns:\r\n\r\n> all dependencies must come from the same source\r\n\r\nThe docs seems to indicate that `cargo package` is to be used as a \"pre-flight\" check of the package. I would have expected `cargo publish` to only be able to fail for reasons that involve communicating with crates.io proper."},"comment":{"url":"https://api.github.com/repos/rust-lang/cargo/issues/comments/109776153","html_url":"https://github.com/rust-lang/cargo/issues/1332#issuecomment-109776153","issue_url":"https://api.github.com/repos/rust-lang/cargo/issues/1332","id":109776153,"user":{"login":"alexcrichton","id":64996,"avatar_url":"https://avatars.githubusercontent.com/u/64996?v=3","gravatar_id":"","url":"https://api.github.com/users/alexcrichton","html_url":"https://github.com/alexcrichton","followers_url":"https://api.github.com/users/alexcrichton/followers","following_url":"https://api.github.com/users/alexcrichton/following{/other_user}","gists_url":"https://api.github.com/users/alexcrichton/gists{/gist_id}","starred_url":"https://api.github.com/users/alexcrichton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexcrichton/subscriptions","organizations_url":"https://api.github.com/users/alexcrichton/orgs","repos_url":"https://api.github.com/users/alexcrichton/repos","events_url":"https://api.github.com/users/alexcrichton/events{/privacy}","received_events_url":"https://api.github.com/users/alexcrichton/received_events","type":"User","site_admin":false},"created_at":"2015-06-07T17:11:08Z","updated_at":"2015-06-07T17:11:08Z","body":"@JustAPerson that looks pretty good to me! Perhaps it could actually print \"Uploading\"... as usual but just print a warning status right after saying \"Aborting upload due to dry run\" or something like that."}}