Fix choice/endchoice kconfig options
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest5 patches 2 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | terraform: gce: remove redundant string for cpu and mem choiceterraform/ | +15 | 0 replies | |
| 2/5 | terraform: aws: hide AWS availability region optionterraform/ | +9 | 0 replies | |
| 3/5 | terraform: aws: hide TERRAFORM_AWS_AMI_OWNER and drop AWS name searchterraform/ | +19 | 0 replies | |
| 4/5 | terraform: aws: drop multichoice option for TERRAFORM_AWS_VIRT_TYPEterraform/ | +2 | 0 replies | |
| 5/5 | terraform: aws: hide TERRAFORM_AWS_INSTANCE_TYPEterraform/ | +1 | 0 replies |
Reviews trailers per patch
None of the 5 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Luis Chamberlain |
|---|---|
| Series | A-b T-b |
| 1/5 | |
| 2/5 | |
| 3/5 | |
| 4/5 | |
| 5/5 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/5] Fix choice/endchoice kconfig options
Hi,
As you may know, Jeff Layton found the way to fix the choice/enchoice issue by removing the redundant string the config selected is assigned to [1].
[1] 95f5695f fstests: remove redundant string prompts for fstype
These patches are meant to fix that in the terraform section. While most of the patches are trivial, I'd like to know what you guys think about dropping a choice/endchoice config ("AWS name search") that depends on an previous choice/endchoice option ("AWS AMI owner") but we keep the config that the first multichoice was assigned to (TERRAFORM_AWS_NS).
Hope I explained this correctly. Otherwise, please check patch [2] and ask any question.
[2] terraform: aws: hide TERRAFORM_AWS_AMI_OWNER and drop AWS name search
Patch [3] it's the same but with less choice/endchoice configs and perhaps simpler to see the intention.
[3] terraform: aws: hide AWS availability region option
Note: I did add/merge some spelling corrections. If you think it's too noisy and not appropriate, I can make a separate commit for that.
The other patches remove choice/endchoice if only one option is available as Jeff suggested and/or hide the config by removing the redundant string.
Daniel
Daniel Gomez (5):
terraform: gce: remove redundant string for cpu and mem choice
terraform: aws: hide AWS availability region option
terraform: aws: hide TERRAFORM_AWS_AMI_OWNER and drop AWS name search
terraform: aws: drop multichoice option for TERRAFORM_AWS_VIRT_TYPE
terraform: aws: hide TERRAFORM_AWS_INSTANCE_TYPE
terraform/aws/Kconfig | 160 ++++++++---------------------------------- terraform/gce/Kconfig | 56 ++++----------- 2 files changed, 46 insertions(+), 170 deletions(-)
Signature · 1 line
2.39.2