goss
goss copied to clipboard
package scan format
Hello, Why does package_rpm.go use the format "%{VERSION}\n" in line 26? This is not the full version of the package, is it possible to fix this format '[%{VERSION}-%{RELEASE}.%{ARCH}\n]''?
I assume this is regarding RPM?
If so, this issue is currently tracking it: https://github.com/aelsabbahy/goss/issues/334
The version has been changed as of v4. There is still no rpm version comparison algorithm in goss, yet. But the needed information is there:
%|EPOCH?{%{EPOCH}:}:{}|%{VERSION}-%{RELEASE}
Feel free to open a new issue if you have any issues with the latest version of goss.