goreleaser / nfpm

nFPM is Not FPM - a simple deb, rpm, apk, ipk, and arch linux packager written in Go
https://nfpm.goreleaser.com/
MIT License
2.18k stars 159 forks source link

feat(rpm): add support for verify scriptlet #788

Closed nickajacks1 closed 9 months ago

nickajacks1 commented 9 months ago

RPM allows users to add custom verify scriptlets that are run by rpm -V in addition to the normal checksum validation. This is useful when there are additional factors that indicate a valid installation, like, for example, checking for valid contents of configuration files.

codecov[bot] commented 9 months ago

Codecov Report

Attention: 2 lines in your changes are missing coverage. Please review.

Comparison is base (0b1bc17) 72.10% compared to head (396e252) 72.07%.

Files Patch % Lines
rpm/rpm.go 60.00% 1 Missing and 1 partial :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #788 +/- ## ========================================== - Coverage 72.10% 72.07% -0.03% ========================================== Files 20 20 Lines 2201 2206 +5 ========================================== + Hits 1587 1590 +3 - Misses 434 435 +1 - Partials 180 181 +1 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

caarlos0 commented 9 months ago

Thanks!