Conversation
|
Diff Coverage: The code coverage on the diff in this pull request is 60.0%. Total Coverage: This PR will decrease coverage by 0.01%. File Coverage Changes
🛟 Help
|
There was a problem hiding this comment.
Pull Request Overview
This PR addresses issue #541 by ensuring the correct log message (error or info) is displayed based on the pack's version modifier.
- Adds new tests for version list generation and updated semantic version comparison ranges.
- Introduces a new utility function VersionList in semver.go to format version strings.
- Updates logging in the installer to show version lists for packs with "any version".
Reviewed Changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| cmd/utils/semver_test.go | Added new tests for version range comparison and version listing. |
| cmd/utils/semver.go | Added the VersionList utility function to process version strings. |
| cmd/installer/root.go | Updated logging to correctly display version information based on the version modifier. |
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Fixes
#541
Changes
depending on the version modifier an error or info is shown. For installations with "any version" only an info is shown with viersion(s) which are installed
Checklist