You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Auto merge of #117708 - onur-ozkan:x-setup, r=clubby789
check config file before prompts on `x setup`
First 2 commit moves the check of configuration existence to the first step of `x setup`. And then followed by a prompt that allows devs to decide whether to continue with the configuration override or exit bootstrap.
Closes#110471
I can revert the last commit if needed. Maybe it's just me, but I feel it's better to have those tags capitalized. If you think otherwise, please let me know so that I can revert.
msg.push_str("WARNING: there have been changes to x.py since you last updated.\n");
130
130
131
-
msg.push_str("note: to silence this warning, ");
131
+
msg.push_str("NOTE: to silence this warning, ");
132
132
msg.push_str(&format!(
133
133
"update `config.toml` to use `change-id = {latest_config_id}` instead"
134
134
));
135
135
}
136
136
}else{
137
137
msg.push_str("WARNING: The `change-id` is missing in the `config.toml`. This means that you will not be able to track the major changes made to the bootstrap configurations.\n");
138
-
msg.push_str("note: to silence this warning, ");
138
+
msg.push_str("NOTE: to silence this warning, ");
139
139
msg.push_str(&format!("add `change-id = {latest_config_id}` at the top of `config.toml`"));
0 commit comments