goss icon indicating copy to clipboard operation
goss copied to clipboard

package scan format

Open AGENT3128 opened this issue 2 years ago • 1 comments

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]''?

AGENT3128 avatar Jul 22 '22 09:07 AGENT3128

I assume this is regarding RPM?

If so, this issue is currently tracking it: https://github.com/aelsabbahy/goss/issues/334

aelsabbahy avatar Aug 02 '22 14:08 aelsabbahy

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.

aelsabbahy avatar Sep 10 '23 23:09 aelsabbahy