{"push_id":1353965364,"size":71,"distinct_size":71,"ref":"refs/heads/fix-pkgid-cmd","head":"1e7893c402b3a3de49012dedd00f86d6847aeddd","before":"7187d2178b76805dafbc07b46cd624f1792f6354","commits":[{"sha":"fc0e64262a3c3b461f004d6fa75732ca656e73bd","author":{"name":"Alex Crichton","email":"af52d3065b8b78750f844012b8e34dbc454a5a0a@alexcrichton.com"},"message":"Warn about path overrides that won't work\n\nCargo has a long-standing [bug] in path overrides where they will cause spurious\nrebuilds of crates in the crate graph. This can be very difficult to diagnose\nand be incredibly frustrating as well. Unfortunately, though, it's behavior that\nfundamentally can't be fixed in Cargo.\n\nThe crux of the problem happens when a `path` replacement changes something\nabout the list of dependencies of the crate that it's replacing. This alteration\nto the list of dependencies *cannot be tracked by Cargo* as the lock file was\npreviously emitted. In the best case this ends up causing random recompiles. In\nthe worst case it cause infinite registry updates that always result in\nrecompiles.\n\nA solution to this intention, changing the dependency graph of an overridden\ndependency, was [implemented] with the `[replace]` feature in Cargo awhile back.\nWith that in mind, this commit implements a *warning* whenever a bad dependency\nreplacement is detected. The message here is pretty wordy, but it's intended to\nconvey that you should switch to using `[replace]` for a more robust\nimpelmentation, and it can also give security to anyone using `path` overrides\nthat if they get past this warning everything should work as intended.\n\n[bug]: https://github.com/rust-lang/cargo/issues/2041\n[implemented]: http://doc.crates.io/specifying-dependencies.html#overriding-dependencies\n\nCloses #2041","distinct":true,"url":"https://api.github.com/repos/cardoe/cargo/commits/fc0e64262a3c3b461f004d6fa75732ca656e73bd"},{"sha":"035236020c0b43042eff391b19a99a7852fd411f","author":{"name":"Alex Crichton","email":"af52d3065b8b78750f844012b8e34dbc454a5a0a@alexcrichton.com"},"message":"Update curl to track more error info","distinct":true,"url":"https://api.github.com/repos/cardoe/cargo/commits/035236020c0b43042eff391b19a99a7852fd411f"},{"sha":"b43e6dd2d6d9965cae17698b40201ca4b5143b06","author":{"name":"Juan Hernández","email":"b6a520a795ee449dfce15cda83d6e93799d130f7@gmail.com"},"message":"Show an error messager for invalid semver spec for packages in the [replace] section.\n\nThe [replace] section in the Cargo.toml file doesn't allow invalid semver specs\nfor packages, so something like this:\n\n    [dependencies]\n    foo = \"*\"\n\n    [replace]\n    \"foo:*\" = { git = 'https://example.com' }\n\nIt's not valid. In this case we will display an error message like this:\n\n    error: failed to parse manifest at `Cargo.toml`\n\n    Caused by:\n      replacements must specify a valid semver version to replace, but `foo:*` does not","distinct":true,"url":"https://api.github.com/repos/cardoe/cargo/commits/b43e6dd2d6d9965cae17698b40201ca4b5143b06"},{"sha":"c0306a8abf6b1722ab3c8ea53cc211a3e1906f17","author":{"name":"Alex Crichton","email":"af52d3065b8b78750f844012b8e34dbc454a5a0a@alexcrichton.com"},"message":"Avoid updating registry when adding existing deps\n\nCargo previously erroneously updated the registry whenever a new dependency was\nadded on a crate which already exists in the DAG. This commit fixes this\nbehavior by ensuring that if the new dependency matches a previously locked\nversion it uses that instead.\n\nThis commit involved a bit of refactoring around this logic to be a bit more\nclear how the locking and \"falling back to the registry\" is happening.\n\nCloses #2895\nCloses #2931","distinct":true,"url":"https://api.github.com/repos/cardoe/cargo/commits/c0306a8abf6b1722ab3c8ea53cc211a3e1906f17"},{"sha":"9f1203fa13b2df3157cf650801a796f972b368fb","author":{"name":"Alex Crichton","email":"af52d3065b8b78750f844012b8e34dbc454a5a0a@alexcrichton.com"},"message":"Test requested --target from source of truth\n\nWe skip doc tests for any cross compiles (as they don't work) but to detect a\ncross compile we checked `--target` but forgot to check other locations like\n`CARGO_BUILD_TARGET` or `[build.target]`. This alters the check to ensure that\nit verifies from the source of truth whether a cross compilation happened or\nnot.\n\nCloses #3143","distinct":true,"url":"https://api.github.com/repos/cardoe/cargo/commits/9f1203fa13b2df3157cf650801a796f972b368fb"},{"sha":"7400f24601d58855537915d9137dbc709af4bb31","author":{"name":"Alex Crichton","email":"af52d3065b8b78750f844012b8e34dbc454a5a0a@alexcrichton.com"},"message":"Use workspaces during `cargo install`\n\nPrevent lock files from oscillating.\n\nCloses #3133","distinct":true,"url":"https://api.github.com/repos/cardoe/cargo/commits/7400f24601d58855537915d9137dbc709af4bb31"},{"sha":"c41a680e734f7d64c3b53fb88a061ae849200dd2","author":{"name":"Carol (Nichols || Goulding)","email":"f4a62c81ffb8190dc4cd177d07d7690e37f1e34f@gmail.com"},"message":"Add information about Cargo releases going with Rust releases","distinct":true,"url":"https://api.github.com/repos/cardoe/cargo/commits/c41a680e734f7d64c3b53fb88a061ae849200dd2"},{"sha":"fdbca1cdcc000fd6810ef16c0afcc85de3b1877b","author":{"name":"Aleksey Kladov","email":"856288be0fcd275a8d63ef799292eb44a691c49c@gmail.com"},"message":"Document that read_manifest command is deprecated","distinct":true,"url":"https://api.github.com/repos/cardoe/cargo/commits/fdbca1cdcc000fd6810ef16c0afcc85de3b1877b"},{"sha":"9f98208d5e42c6d832fc0f309b02f157f4453973","author":{"name":"Aleksey Kladov","email":"856288be0fcd275a8d63ef799292eb44a691c49c@gmail.com"},"message":"Add --message-format flag.","distinct":true,"url":"https://api.github.com/repos/cardoe/cargo/commits/9f98208d5e42c6d832fc0f309b02f157f4453973"},{"sha":"e4643b52b18f0ff2e091de1226dd052e82ae7a63","author":{"name":"Aleksey Kladov","email":"856288be0fcd275a8d63ef799292eb44a691c49c@gmail.com"},"message":"Don't panic while streaming compiler output","distinct":true,"url":"https://api.github.com/repos/cardoe/cargo/commits/e4643b52b18f0ff2e091de1226dd052e82ae7a63"},{"sha":"ef94f4679633451c2f372cbab6a66a5179d19ed6","author":{"name":"Aleksey Kladov","email":"856288be0fcd275a8d63ef799292eb44a691c49c@gmail.com"},"message":"Create a centralized machine_message module","distinct":true,"url":"https://api.github.com/repos/cardoe/cargo/commits/ef94f4679633451c2f372cbab6a66a5179d19ed6"},{"sha":"a58f6bb65cb5329c49f0f5b75dc43d32f12ad6a5","author":{"name":"Aleksey Kladov","email":"856288be0fcd275a8d63ef799292eb44a691c49c@gmail.com"},"message":"Rename message-format flag to json","distinct":true,"url":"https://api.github.com/repos/cardoe/cargo/commits/a58f6bb65cb5329c49f0f5b75dc43d32f12ad6a5"},{"sha":"1e15d0af59a2a1db9d974e1a47b98ad3d6d08431","author":{"name":"Aleksey Kladov","email":"856288be0fcd275a8d63ef799292eb44a691c49c@gmail.com"},"message":"Store CargoError inside the ProcessError","distinct":true,"url":"https://api.github.com/repos/cardoe/cargo/commits/1e15d0af59a2a1db9d974e1a47b98ad3d6d08431"},{"sha":"26301ea1668ece05103efea57f4a9cce07c2f22c","author":{"name":"bors","email":"f85d84007542459f7a0e8d187f971eeac8d04314@rust-lang.org"},"message":"Auto merge of #3147 - carols10cents:versions-in-readme, r=alexcrichton\n\nAdd information about Cargo releases going with Rust releases\n\nCloses #3101.\n\nThis just adds a table of rust release numbers to cargo release numbers, and some text that clarifies that they happen together.\n\nI put the table behind a details tag, which Chrome renders really nicely with a little toggle triangle... Firefox will do the toggling *functionality* but doesn't have much of an indication that you can click on the text, but I think they're working on it. Servo has a little triangle but nothing happens when you click on it ;)","distinct":true,"url":"https://api.github.com/repos/cardoe/cargo/commits/26301ea1668ece05103efea57f4a9cce07c2f22c"},{"sha":"642853783da66d19efe5b4d3305cb424218f49ee","author":{"name":"bors","email":"f85d84007542459f7a0e8d187f971eeac8d04314@rust-lang.org"},"message":"Auto merge of #3150 - matklad:deprecate-read-manifest, r=alexcrichton\n\nDocument that read_manifest command is deprecated\n\nI believe we intended to deprecate read_manifest command. I am not sure what a deprecation process for Cargo commands should be, but I guess it should involve mentioning somewhere that the command is deprecated :)","distinct":true,"url":"https://api.github.com/repos/cardoe/cargo/commits/642853783da66d19efe5b4d3305cb424218f49ee"},{"sha":"89b2d267244b244776aa12bbae9bd0441a350ef6","author":{"name":"Juan Hernández","email":"b6a520a795ee449dfce15cda83d6e93799d130f7@gmail.com"},"message":"Use chain_error in TomlManifest.replace when checking valid semver.\n\nDon't throw away previous error messages, they might be useful\nfor the user.","distinct":true,"url":"https://api.github.com/repos/cardoe/cargo/commits/89b2d267244b244776aa12bbae9bd0441a350ef6"},{"sha":"ebcf0a8f41759717876bca5871137ab48e06f790","author":{"name":"bors","email":"f85d84007542459f7a0e8d187f971eeac8d04314@rust-lang.org"},"message":"Auto merge of #3139 - jhbabon:improve-replace-parsing-error-msg, r=alexcrichton\n\nShow an error messager for invalid semver spec for packages in the [replace] section.\n\nThe `[replace]` section in the `Cargo.toml` file doesn't allow invalid semver specsfor packages, so something like this:\n\n```toml\n[dependencies]\nfoo = \"*\"\n\n[replace]\n\"foo:*\" = { git = 'https://example.com' }\n```\n\nIt's not valid. In this case we will display an error message like this:\n\n```\nerror: failed to parse manifest at `Cargo.toml`\n\nCaused by:\n  replacements must specify a valid semver version to replace, but `foo:*` does not\n\nCaused by:\n  Parse error\n```\n\ncloses #3129","distinct":true,"url":"https://api.github.com/repos/cardoe/cargo/commits/ebcf0a8f41759717876bca5871137ab48e06f790"},{"sha":"e9a5fb14b011a0d93586d098701dfa2d493494e7","author":{"name":"Jorge Aparicio","email":"a0c70401e2508eaf807565e155d7d3b8eff08194@gmail.com"},"message":"add support for per-target rustflags in .cargo/config\n\nyou can now specify rustflags on a per-target basis in .cargo/config:\n\n``` toml\n[target.x86_64-unknown-linux-gnu]\nrustflags = [\"x86\", \"specific\", \"flags\"]\n\n[target.arm-unknown-linux-gnueabi]\nrustflags = [\"arm\", \"specific\", \"flags\"]\n```\n\nIf both build.rustflags and target.*.rustflags are specified, the\ntarget.* ones will be used.\n\nAs before RUSTFLAGS overrides either set.\n\ncloses #3153","distinct":true,"url":"https://api.github.com/repos/cardoe/cargo/commits/e9a5fb14b011a0d93586d098701dfa2d493494e7"},{"sha":"5ede71e5393e8c5f74c20d48ec578ec3a1714352","author":{"name":"Alex Crichton","email":"af52d3065b8b78750f844012b8e34dbc454a5a0a@alexcrichton.com"},"message":"Leak mspdbsrv.exe processes on Windows\n\nInstead of having our job object tear them down, instead leak them intentionally\nif everything succeeded.\n\nCloses #3161","distinct":true,"url":"https://api.github.com/repos/cardoe/cargo/commits/5ede71e5393e8c5f74c20d48ec578ec3a1714352"},{"sha":"9bd1e5668d4292aff2d8e505c13336075ee7b934","author":{"name":"Brian Anderson","email":"8c3473ac7364c5ba1a6fb9c24a1c89be7f35042e@mozilla.com"},"message":"Update rust-installer","distinct":true,"url":"https://api.github.com/repos/cardoe/cargo/commits/9bd1e5668d4292aff2d8e505c13336075ee7b934"}]}
{"actor":{"display_login":"cardoe"}}