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

Work on cli release notes printed by the cli for the 3.x upgrade #629

Open
romain-grecourt opened this issue Jan 25, 2022 · 1 comment
Open
Labels
Milestone

Comments

@romain-grecourt
Copy link
Contributor

Investigate how to display a different upgrade messages for the same target cli version based on the current cli version.

E.g. The newest 2.x cli version will handle the 3.0 upgrade gracefully and will work by "ignoring" the latest 3.x versions.
I.e it's going to work as-is 3.0.0 was never released.

However the older 2.x cli versions will resolve latest as 3.x and will break.
Users will be either forced to supply a 2.x version explicitly or forced to upgrade because of the inability to work with "latest" versions.

We can use the exiting cli release notes as a fallback for older cli versions, and introduce a new set of properties that can be handled by newer cli versions.

Doing this will introduce additional complexity in our cli metadata data model, we may decide to handle upgrade messages for "broken cli versions" with the existing mechanism. The trade-off will be that newer 2.x cli versions that aren't broken will display a 3.x upgrade message that won't apply entirely. The message would be like "if you are on version xxx then yyy".

@romain-grecourt romain-grecourt added this to the 3.0.0 milestone Jan 25, 2022
@romain-grecourt
Copy link
Contributor Author

See #631

The fix that was implemented is graceful and none of the 2.x cli will break.
We still need to investigate if we can customize the message to inform users that they need a 3.x cli to use Helidon 3.x

@romain-grecourt romain-grecourt modified the milestones: 3.0.0, 3.0.1 Jul 19, 2022
@romain-grecourt romain-grecourt modified the milestones: 3.0.2, 3.0.3 Dec 16, 2022
@romain-grecourt romain-grecourt modified the milestones: 3.0.4, 3.0.5 Feb 10, 2023
@romain-grecourt romain-grecourt modified the milestones: 3.0.5, 3.0.6 Jun 6, 2023
@romain-grecourt romain-grecourt modified the milestones: 3.0.6, 3.0.7 Jul 6, 2023
@romain-grecourt romain-grecourt modified the milestones: 4.0.0, 4.0.1, 4.0.2 Oct 23, 2023
@romain-grecourt romain-grecourt modified the milestones: 4.0.2, 4.0.3 Nov 15, 2023
@romain-grecourt romain-grecourt modified the milestones: 4.0.3, 4.0.5, 4.0.6 Jan 9, 2024
@romain-grecourt romain-grecourt modified the milestones: 4.0.6, 4.0.7 Mar 12, 2024
@romain-grecourt romain-grecourt modified the milestones: 4.0.7, 4.0.8, 4.0.10 Jul 30, 2024
@romain-grecourt romain-grecourt modified the milestones: 4.0.10, 4.0.11, 4.0.12 Aug 19, 2024
@romain-grecourt romain-grecourt modified the milestones: 4.0.12, 4.0.13 Oct 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant