Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rustbuild: "changelog-seen = 1" breaks config.toml #77105

Closed
matthiaskrgr opened this issue Sep 23, 2020 · 1 comment · Fixed by #77106
Closed

rustbuild: "changelog-seen = 1" breaks config.toml #77105

matthiaskrgr opened this issue Sep 23, 2020 · 1 comment · Fixed by #77106
Labels
C-bug Category: This is a bug. T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)

Comments

@matthiaskrgr
Copy link
Member

matthiaskrgr commented Sep 23, 2020

warning: x.py has made several changes recently you may want to look at
help: consider looking at the changes in `src/bootstrap/CHANGELOG.md`
note: to silence this warning, add `changelog-seen = 1` to `config.toml`

So I skipped through the changelog and added changelog-seen = 1 to the end of my config toml but this broke x.py:

failed to parse TOML configuration 'config.toml': unknown field `changelog-seen`, expected one of `sign-folder`, `gpg-password-file`, `upload-addr`, `src-tarball`, `missing-tools` for key `dist` at line 522 column 1
@matthiaskrgr matthiaskrgr added the C-bug Category: This is a bug. label Sep 23, 2020
@matthiaskrgr
Copy link
Member Author

Apparently the script wants it at the beginning of the toml file, the warning message should says so 🙄

@jyn514 jyn514 added the T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap) label Sep 23, 2020
Dylan-DPC-zz pushed a commit to Dylan-DPC-zz/rust that referenced this issue Sep 24, 2020
…-Simulacrum

clarify that `changelog-seen = 1` goes to the beginning of config.toml

Fixes rust-lang#77105
RalfJung added a commit to RalfJung/rust that referenced this issue Sep 25, 2020
…-Simulacrum

clarify that `changelog-seen = 1` goes to the beginning of config.toml

Fixes rust-lang#77105
RalfJung added a commit to RalfJung/rust that referenced this issue Sep 25, 2020
…-Simulacrum

clarify that `changelog-seen = 1` goes to the beginning of config.toml

Fixes rust-lang#77105
@bors bors closed this as completed in b5d47bf Sep 25, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-bug Category: This is a bug. T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants