pulp_rpm
pulp_rpm copied to clipboard
Support for linting RPM Packages on upload
Is your feature request related to a problem? Please describe. In some cases it could be beneficial to check the uploaded RPM with a linter like rpmlint. This can enhance the quality of the RPM's being created and uploaded. Therefore it would be nice if we could provide a rpm linter to provide additional checks on upload and send the information back to the uploader
Describe the solution you'd like On upload of an rpm add an option to lint the package, optionally disallowing the upload of the RPM.
Describe alternatives you've considered RPM's can also be linted before upload, but there is no guarantee that the uploader does it in the workflow
Additional context rpmlint is a tool for checking common errors in rpm packages. It can be used to test individual packages and spec files before uploading or to check an entire distribution. By default all applicable checks are processed but specific checks can be performed by using command line parameters.