diff options
| author | bors <bors@rust-lang.org> | 2023-10-02 07:41:52 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2023-10-02 07:41:52 +0000 |
| commit | 781ebbec8a0a2fdba7ea8113e09e21e972448d66 (patch) | |
| tree | a032e307404aa3640b7b212c928df9f3d7b54dc5 /src/bootstrap/bootstrap_test.py | |
| parent | 15783292e5e26336f76ddc2123d66025ec6d84b7 (diff) | |
| parent | 7d3dcd918eb1f1308a1d901821ede3041d563ae9 (diff) | |
| download | rust-781ebbec8a0a2fdba7ea8113e09e21e972448d66.tar.gz rust-781ebbec8a0a2fdba7ea8113e09e21e972448d66.zip | |
Auto merge of #115898 - onur-ozkan:config-change-tracking, r=Mark-Simulacrum
bootstrap major change detection implementation The use of `changelog-seen` and `bootstrap/CHANGELOG.md` has not been functional in any way for many years. We often do major/breaking changes but never update the changelog file or the `changelog-seen`. This is an alternative method for tracking major or breaking changes and informing developers when such changes occur. Example output when bootstrap detects a major change: 
Diffstat (limited to 'src/bootstrap/bootstrap_test.py')
| -rw-r--r-- | src/bootstrap/bootstrap_test.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bootstrap/bootstrap_test.py b/src/bootstrap/bootstrap_test.py index dc06a4c9734..fefd6b18739 100644 --- a/src/bootstrap/bootstrap_test.py +++ b/src/bootstrap/bootstrap_test.py @@ -103,7 +103,7 @@ class GenerateAndParseConfig(unittest.TestCase): """Test that we can serialize and deserialize a config.toml file""" def test_no_args(self): build = serialize_and_parse([]) - self.assertEqual(build.get_toml("changelog-seen"), '2') + self.assertEqual(build.get_toml("change-id"), '115898') self.assertEqual(build.get_toml("profile"), 'dist') self.assertIsNone(build.get_toml("llvm.download-ci-llvm")) |
