Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The "Spring Boot 3.2" card doesn't quite make sense, its title cites … #75

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

sambsnyd
Copy link
Member

…a minor version target but the chart includes a "patch" section. Incrementing a patch versions will never result in getting to a new minor version. There isn't a conversion factor like 10 patch bumps -> 1 minor bump. A patch version bump and a minor version bump are qualitatively different.

To make this make sense I am updating the title of the card to cite the patch version target.

Additionally, I am improving the display to determine the spring boot version based on the version of spring-core, rather than the version of spring-boot. This is because libraries used by spring boot applications might benefit from the upgrade recipe without themselves taking a dependency on spring-boot itself. These currently fall through the cracks, showing as "complete" even if they are based on a very old version of spring and do need to be upgraded.

…a minor version target but the chart includes a "patch" section. Incrementing a patch versions will never result in getting to a new minor version. There isn't a conversion factor like 10 patch bumps -> 1 minor bump. A patch version bump and a minor version bump are qualitatively different.

To make this make sense I am updating the title of the card to cite the patch version target.

Additionally, I am improving the display to determine the spring boot version based on the version of spring-core, rather than the version of spring-boot. This is because libraries used by spring boot applications might benefit from the upgrade recipe without themselves taking a dependency on spring-boot itself. These currently fall through the cracks, showing as "complete" even if they are based on a very old version of spring and do need to be upgraded.
@pstreef
Copy link
Contributor

pstreef commented May 15, 2024

But does it not make sense that they fall through the cracks if the goal is to upgrade boot specifically?
Perhaps the expectations are wrong? Maybe it makes more sense to just create a Spring Framework card in stead?

Regarding the patch version, it was not added because otherwise we need to keep it in sync with the recipe. Perhaps we can name it Spring Boot 3.2.+

@sambsnyd
Copy link
Member Author

@pstreef no a library built on old springframework will still need to be upgraded before spring-boot applications can use it. There is no advantage to us or our users if we make it look like there is less benefit to running the upgrade recipes than there actually will be.

@pstreef
Copy link
Contributor

pstreef commented May 23, 2024

a library built on old springframework will still need to be upgraded before spring-boot applications can use it.

That does assume that a repo with spring framework is a library and it will be used by a spring boot application that we're upgrading.

To be fair I think no one will complain if we do this (except me, in this comment, I will stop now!)

},
{
"name": "version",
"value": "3.2-3.2.2"
"value": "6.1.1-6.1.5"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

if 6.1.6 or 6.2 comes out, repos using it will be marked as non compliant

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No anything which isn't covered by one of these gets marked as "complete". It's also the same situation we're in already with spring-boot if they were to release new versions.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah you are right 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants