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

LITE-28324 Fix --version check for updates #221

Merged
merged 1 commit into from
Aug 10, 2023

Conversation

bdjilka
Copy link
Contributor

@bdjilka bdjilka commented Aug 7, 2023

No description provided.

@bdjilka bdjilka force-pushed the lite-28324-fix-ccli-version branch 4 times, most recently from ed84371 to 154e398 Compare August 7, 2023 22:33
ffaraone
ffaraone previously approved these changes Aug 8, 2023
if last_version and last_version != current:
console.echo()
console.secho(
f'You are running CloudBlue Connect CLI version {current}. '
f'A newer version is available: {last_version}',
f'Suggested latest version for used Connect version: {last_version}',
Copy link
Contributor

Choose a reason for hiding this comment

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

Why you changed the message ?

Copy link
Contributor

Choose a reason for hiding this comment

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

I would suggest the following:

WARNING: You are running an outdated version ({current}) of CloudBlue Connect CLI.
A newer version ({last_version}) is available and includes new features and security fixes.
Please upgrade your current version to the {last_version}.

Wdyt ?

Copy link
Contributor

Choose a reason for hiding this comment

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

In theory user cannot choose the Connect version, they always use the version deployed to production.

Copy link
Contributor

@ffaraone ffaraone left a comment

Choose a reason for hiding this comment

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

Please check my comment, everything is fine.

@sonarcloud
Copy link

sonarcloud bot commented Aug 9, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

95.8% 95.8% Coverage
0.0% 0.0% Duplication

@ffaraone ffaraone merged commit 114a6db into master Aug 10, 2023
9 checks passed
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