-
Notifications
You must be signed in to change notification settings - Fork 24
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
Improve feedback messages #898
Comments
For
Finally, we must be aware that it is also possible to install a tool and afterwards configuring the version/edition otherwise.
This will print both the installed and the configured version including additional debug output.
This will print both the installed and the configured version without additional debug output.
This looks correct. But...
This should print both the configured and the installed version but for some unclear reason it prints nothing at all (my assumption is that some stuff is logged on
And the resulting
The second line is what I consider as nonsense. |
I fixed it to print both versions under each other, starting with the configured version. In Case of a not installed tool, only the configured version/edition is logged, however the user could not differentiate between the output in case both versions are the same and the output in case there is no installed version since both only log one output. Is there a problem with this or is this expected behavior? |
Edition/VersionGetCommandlet changed them to log the configured option if the tool is not installed and the installed option if it is installed. Changed the toolInstallInfo method to log into IdeSublogger instead of using context.info or context.warning. Changed the uninstall commandlet to log a warning in case the requested commandlet is not installed. Changed the uninstallPlugin commandlet to give feedback wether the plugin could be deleted or if there was not installation found. Adjusted Tests for Edition/VersionGetCommandlet as well as Uninstall commandlet to expect the correct loglevel or content of logged messages. Added logAtProccessable to IdeTestContextAssertions to check if a log-message was logged on PROCESSABLE-level. Added .ide.software.version file to the npm software in the basic ide-test-project-ressource, since it was needed to test my implementation.
added CHANGELOG entry
As a IDEasy User, I want understandable and descriptive feedback messages when the software performs tasks
get-edition / get-version
uninstall
uninstall-plugin
The text was updated successfully, but these errors were encountered: