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

fixes the --set option in configure.py #107059

Closed
wants to merge 6 commits into from

Conversation

shourya5
Copy link
Contributor

closes issue #107049
This works by appending the CLI arguments to the end of the config.toml file. I am not sure this would work for all scenarios, but a good starting point regardless.

@rustbot
Copy link
Collaborator

rustbot commented Jan 19, 2023

r? @Mark-Simulacrum

(rustbot has picked a reviewer for you, use r? to override)

@rustbot rustbot added T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap) A-meta Area: Issues & PRs about the rust-lang/rust repository itself S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Jan 19, 2023
@shourya5
Copy link
Contributor Author

r? @jyn514

@rustbot rustbot assigned jyn514 and unassigned Mark-Simulacrum Jan 19, 2023
@rust-log-analyzer

This comment has been minimized.

@jyn514
Copy link
Member

jyn514 commented Jan 19, 2023

I don't have time for reviews right now, sorry.

r? @Mark-Simulacrum

@rustbot rustbot assigned Mark-Simulacrum and unassigned jyn514 Jan 19, 2023
@Mark-Simulacrum
Copy link
Member

This seems OK, but CI needs to be fixed before this can be merged.

@rustbot author

@rustbot rustbot added S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Jan 21, 2023
@shourya5
Copy link
Contributor Author

I think its a whitespace issue, I will fix it right away

@shourya5
Copy link
Contributor Author

Does this look okay @Mark-Simulacrum

@jyn514
Copy link
Member

jyn514 commented Jan 24, 2023

@shourya5 it can take a little while for reviews. If you haven't heard back in 10 days feel free to ping me or Mark.

@jyn514 jyn514 added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. and removed S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. labels Jan 24, 2023
@jyn514
Copy link
Member

jyn514 commented Jan 24, 2023

You can use @rustbot ready to switch the labels like I did just now.

o("manage-submodules", "build.submodules",
"let the build manage the git submodules")
o("full-bootstrap", "build.full-bootstrap",
"build three compilers instead of two (not recommended except for testing reproducible builds)")
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we undo the re-formatting of this file?

Comment on lines +103 to +104
./configure --set profile="user"
./configure --set changelog-seen=2
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This isn't correct, it will overwrite config.toml. You need two --set flags in the same command I think. Please test the modified command to make sure it works.

@Mark-Simulacrum Mark-Simulacrum removed the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Jan 29, 2023
@Mark-Simulacrum Mark-Simulacrum added the S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. label Jan 29, 2023
@bors
Copy link
Contributor

bors commented Feb 26, 2023

☔ The latest upstream changes (presumably #108464) made this pull request unmergeable. Please resolve the merge conflicts.

@jyn514 jyn514 closed this Mar 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-meta Area: Issues & PRs about the rust-lang/rust repository itself S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants