coreos / coreos/coreos-assembler
Improve kola argument processing logic for platform specific options
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 393
- Forks
- 193
- Avg merge
- 17h 6m
- Merged PRs (30d)
- 5
Description
Feature Request
If a platform specific option is passed to kola, it should default to that platform. For example if --aws-ami but the platform is not set, kola should default to the aws platform.
Example from (now removed): https://github.com/coreos/coreos-assembler/blob/0a09bd74a376fb5bda9142d3da1ee10b7b34a2f3/mantle/cmd/kola/options.go#L180
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by inspecting mantle/cmd/kola/options.go, especially the argument-processing logic corresponding to the referenced historical line. Trace how --aws-ami and other platform-specific options are handled when no platform is set. Done means a platform-specific option selects its platform by default, with tests covering the behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100