{"action":"created","issue":{"url":"https://api.github.com/repos/rust-lang/cargo/issues/2048","labels_url":"https://api.github.com/repos/rust-lang/cargo/issues/2048/labels{/name}","comments_url":"https://api.github.com/repos/rust-lang/cargo/issues/2048/comments","events_url":"https://api.github.com/repos/rust-lang/cargo/issues/2048/events","html_url":"https://github.com/rust-lang/cargo/pull/2048","id":110738196,"number":2048,"title":"Fix recompiles where overrides changed","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},"labels":[],"state":"open","locked":false,"assignee":{"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},"milestone":null,"comments":9,"created_at":"2015-10-09T21:23:28Z","updated_at":"2015-10-10T01:29:27Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/rust-lang/cargo/pulls/2048","html_url":"https://github.com/rust-lang/cargo/pull/2048","diff_url":"https://github.com/rust-lang/cargo/pull/2048.diff","patch_url":"https://github.com/rust-lang/cargo/pull/2048.patch"},"body":"This commit causes a recompile to be triggered if the overridden version of a\r\nbuild script changed since it was last run. Previously this wasn't tracked very\r\nwell due to fingerprints not accounting for the right data.\r\n\r\nThere are a few architectural changes here which were made to prepare for this:\r\n\r\n* The unit of work for \"running a build script\" is now emitted as dependency\r\n  regardless of whether a build script is overridden or not. Previously it was\r\n  omitted if overridden.\r\n* This unit of work has 0 dependencies if it is overridden (as we know the\r\n  output) and otherwise has the normal set of dependencies.\r\n* The fingerprint calculation was updated to recognize when a build script\r\n  execution is overridden and instead consider the overridden value as input to\r\n  the fingerprint. This means that if the overridden values change they will\r\n  trigger a recompile.\r\n* The \"prepare a build script to run\" step now emits a noop if the execution of\r\n  the build script is overridden.\r\n\r\nAfter putting all that together, this commit ...\r\n\r\nCloses #2042"},"comment":{"url":"https://api.github.com/repos/rust-lang/cargo/issues/comments/147020598","html_url":"https://github.com/rust-lang/cargo/pull/2048#issuecomment-147020598","issue_url":"https://api.github.com/repos/rust-lang/cargo/issues/2048","id":147020598,"user":{"login":"bors","id":3372342,"avatar_url":"https://avatars.githubusercontent.com/u/3372342?v=3","gravatar_id":"","url":"https://api.github.com/users/bors","html_url":"https://github.com/bors","followers_url":"https://api.github.com/users/bors/followers","following_url":"https://api.github.com/users/bors/following{/other_user}","gists_url":"https://api.github.com/users/bors/gists{/gist_id}","starred_url":"https://api.github.com/users/bors/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bors/subscriptions","organizations_url":"https://api.github.com/users/bors/orgs","repos_url":"https://api.github.com/users/bors/repos","events_url":"https://api.github.com/users/bors/events{/privacy}","received_events_url":"https://api.github.com/users/bors/received_events","type":"User","site_admin":false},"created_at":"2015-10-10T01:29:26Z","updated_at":"2015-10-10T01:29:26Z","body":":zap: Previous build results for [cargo-linux-32](http://buildbot.rust-lang.org/builders/cargo-linux-32/builds/1338), [cargo-linux-64](http://buildbot.rust-lang.org/builders/cargo-linux-64/builds/1327), [cargo-mac-32](http://buildbot.rust-lang.org/builders/cargo-mac-32/builds/1335), [cargo-mac-64](http://buildbot.rust-lang.org/builders/cargo-mac-64/builds/1331), [cargo-win-gnu-32](http://buildbot.rust-lang.org/builders/cargo-win-gnu-32/builds/210), [cargo-win-msvc-64](http://buildbot.rust-lang.org/builders/cargo-win-msvc-64/builds/157) are reusable. Rebuilding only [cargo-win-gnu-64](http://buildbot.rust-lang.org/builders/cargo-win-gnu-64/builds/213), [cargo-win-msvc-32](http://buildbot.rust-lang.org/builders/cargo-win-msvc-32/builds/132)..."}}