redhat-developer / redhat-developer/mapt
[Feat] Allow to set OCP --version to only Major.minor version
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 24
- Forks
- 36
- Avg merge
- 6d 13h
- Merged PRs (30d)
- 8
Description
Currently, creating an SNC using MAPT cluster requires specifying the full major.minor.patch version (e.g., 4.19.5). This forces the user to manually look up the latest available patch for a given minor release. This process is inefficient and can lead to users deploying older, non-latest patch versions by mistake.
Proposed Solution:
Enhance the --version flag to accept a major.minor version string (e.g., 4.19). When a user provides this, the tool should automatically identify and use the latest available patch version within that minor release stream.
This would function as a "latest patch" alias for a specific minor version.
Benefits:
- Improves User Experience: Simplifies the command and removes the need for manual lookups.
- Reduces Errors: Prevents the accidental use of outdated patch releases.
- Increases Efficiency: Speeds up the process of creating up-to-date environments and avoiding manual updates to always set latest available image
Contributor guide
No contributing guide indexed for this repository
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
No files or tests are named in the issue. Start at the --version argument handling and trace how available OCP patch versions are selected for MAPT cluster creation. Done means a major.minor value such as 4.19 resolves to the latest available patch in that minor release, while full major.minor.patch input continues to work.
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
- 48/100