openrewrite / openrewrite/rewrite-github-actions
SetupJavaUpgradeJavaVersion should accept semantic inputs and comparisons
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 1
- Forks
- 9
- Avg merge
- 5h 27m
- Merged PRs (30d)
- 12
Description
Currently, SetupJavaUpgradeJavaVersion expects the input to be an integer
There are situations where it is desirable to upgrade to a specific minor version. For example 11.0.18
The recipe should be able to compare and understand that 11.0.17 < 11.0.18
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 with src/main/java/org/openrewrite/github/SetupJavaUpgradeJavaVersion.java at the linked location and inspect how the input is parsed and versions are compared. Support semantic inputs such as 11.0.18, while preserving integer inputs; done means versions such as 11.0.17 and 11.0.18 compare in the expected order.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- github-actions, java
- Domain
- devops, tooling
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100