Skip to content

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

@romain-grecourt

Description

@romain-grecourt

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".

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions