-
Notifications
You must be signed in to change notification settings - Fork 12.9k
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
./configure --set changelog-seen=2
doesn't work
#107049
Comments
Mentoring instructions: look around rust/src/bootstrap/configure.py Lines 462 to 471 in 37c1d6d
I think the fix would be something like if section_config is None: # special-casing for top-level keys .
|
In the configure.py, from where exactly do we get the top-level keys? from the set function? |
I'm not sure off the top of my head. How could you find out that information? |
@shourya5 Hi are you still working on this? |
@lionellloh Since there's no response from the assignee, I think you can take the issue. Are you still keen on working on this issue? |
Yup I am interested! @rustbot claim |
Hi @zephaniahong and @jyn514, thanks for mentoring!
Assuming I run It seems like the first blocker is that Finally, I am a little confused what top-level keys mean - do they exclusively refer to [ |
I am able to expand Before I do that, I would like to understand how the configure script is commonly used. Could you give me some sample commands, say if I want to modify the |
Shall we refactor the 2 top level keys under a |
Top level keys are keys without any header like Hope this helps! |
try running |
Got it, thanks @zephaniahong. I put up a PR. This is kinda my first PR so would appreciate all the tips and advice! |
The problem is that the configure script assumes that all keys are in a section and there are no top-level keys. This forces people to use
printf
instead:rust/README.md
Lines 89 to 96 in 37c1d6d
We should make it possible to set top-level keys through
configure
, bothchangelog-seen
andprofile
. We should also update the line in the readme linked above to suggest./configure
instead of printf.The text was updated successfully, but these errors were encountered: