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

Add ScubaGear version update available notification #1285

Open
2 tasks
schrolla opened this issue Aug 23, 2024 · 0 comments · May be fixed by #1424
Open
2 tasks

Add ScubaGear version update available notification #1285

schrolla opened this issue Aug 23, 2024 · 0 comments · May be fixed by #1424
Assignees
Labels
enhancement This issue or pull request will add new or improve existing functionality
Milestone

Comments

@schrolla
Copy link
Collaborator

💡 Summary

Add a way to notify users when a new version of ScubaGear is available for use when they run the tool.

Motivation and context

Users get the best possible assessment by using the latest version of the ScubaGear tool, with the latest baselines. Later versions incorporate updates, fixes, and enhancements. A mechanism to notify users of a new version when running ScubaGear.

Implementation notes

The notification to users should be done in a way so as not to be disruptive, but informative. Initial thought is during initialization, ScubaGear would make a query to either GitHub or PowerShell gallery to determine the latest release of ScubaGear. On success, it would compare the running version to the latest version and if the running version is less than latest, print an information message to the console noting that a new version of ScubaGear is available and providing a reference to the download/install documentation (aka link).
On a failure, due to inability to retrieve the latest version, it would simply not print a message.
Also recommend adding a configuration option or parameter to silence/turn off the latest version check for users that don't want to see it in their output.

Optionally, the version mismatch could also be written to the JSON and HTML report in some fashion. But this may not be desirable.

Acceptance criteria

How do we know when this work is done?

  • ScubaGear includes a notification to users when a newer version of ScubaGear is available for download/installation
  • Users can configure the notification to be either on or off, and it is on by default
@schrolla schrolla added the enhancement This issue or pull request will add new or improve existing functionality label Aug 23, 2024
@schrolla schrolla added this to the Kraken milestone Aug 26, 2024
@twneale twneale linked a pull request Nov 13, 2024 that will close this issue
21 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement This issue or pull request will add new or improve existing functionality
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants