Skip to content
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

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

Merged
merged 1 commit into from Feb 21, 2024

Conversation

nickajacks1
Copy link
Contributor

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.

@pull-request-size pull-request-size bot added the size/M Denotes a PR that changes 30-99 lines, ignoring generated files. label Feb 21, 2024
Copy link

codecov bot commented Feb 21, 2024

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 ⚠️
Additional details and impacted files
@@            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     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@caarlos0 caarlos0 merged commit d0d7c60 into goreleaser:main Feb 21, 2024
37 of 41 checks passed
@caarlos0
Copy link
Member

Thanks!

@github-actions github-actions bot added this to the 2.36.0 milestone Feb 21, 2024
@nickajacks1 nickajacks1 deleted the rpm-verify branch February 21, 2024 23:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
size/M Denotes a PR that changes 30-99 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants