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

[Improvement]: Notify the user when there is a new bal tool version is available. #42232

Open
gayaldassanayake opened this issue Feb 27, 2024 · 0 comments
Labels
Area/CLI-BuildTools Team/DevTools Ballerina Developer Tooling ( CLI, Test FW, Package Management, OpenAPI, APIDocs ) Type/Improvement

Comments

@gayaldassanayake
Copy link
Contributor

Description

Currently, when a user pulls and uses a bal tool (eg- health, edi), there is no simple way for the user to be notified if there is a newer version of that tool available. The only way is for the user to invoke bal tool search (bal tool search health) and check the latest version.

Describe your problem(s)

This will cause the user not updating to the latest tool version although the tool publisher has published newer versions.

Describe your solution(s)

We should notify the user when there is a newer tool version as an INFO/WARNING. This notification can be sent when the tool is called.

If sending the notification every time the command is executed is too frequent, we can send this only if the last notification was before at least 24 hours (Similar to what we do with package sticky).

Furthermore, we can also send the notification when a bal tool subcommand is invoked. However, this needs to be looked at again since providing a warning about a new version in the health when pulling another tool might look out of place.

Related area

-> Compilation

Related issue(s) (optional)

#40264

Suggested label(s) (optional)

No response

Suggested assignee(s) (optional)

No response

@gayaldassanayake gayaldassanayake added Type/Improvement Area/CLI Ballerina CLI related issues. labels Feb 27, 2024
@ballerina-bot ballerina-bot added needTriage The issue has to be inspected and labeled manually userCategory/Compilation labels Feb 27, 2024
@gayaldassanayake gayaldassanayake added Team/DevTools Ballerina Developer Tooling ( CLI, Test FW, Package Management, OpenAPI, APIDocs ) and removed needTriage The issue has to be inspected and labeled manually userCategory/Compilation labels Feb 27, 2024
@azinneera azinneera added Area/CLI-BuildTools and removed Area/CLI Ballerina CLI related issues. labels Feb 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area/CLI-BuildTools Team/DevTools Ballerina Developer Tooling ( CLI, Test FW, Package Management, OpenAPI, APIDocs ) Type/Improvement
Projects
None yet
Development

No branches or pull requests

3 participants