From Fedora Project Wiki
m (beautify)
m (add anchor)
Line 5: Line 5:
Rpmlint task downloads all RPMs (source and binary) that your package consists of and runs <code>rpmlint</code> on them.
Rpmlint task downloads all RPMs (source and binary) that your package consists of and runs <code>rpmlint</code> on them.


{{anchor|whitelist}}
= Whitelisting errors =
= Whitelisting errors =
You can whitelist errors that you believe don't apply to your package. task-rpmlint uses the same rpmlint config file as used by [[Package_maintenance_guide|fedpkg lint]], which is named <code><source_package_name>.rpmlintrc</code>. If there's such a file in your distgit repository, it will be used when <code>rpmlint</code> is executed as part of task-rpmlint.  
You can whitelist errors that you believe don't apply to your package. task-rpmlint uses the same rpmlint config file as used by [[Package_maintenance_guide|fedpkg lint]], which is named <code><source_package_name>.rpmlintrc</code>. If there's such a file in your distgit repository, it will be used when <code>rpmlint</code> is executed as part of task-rpmlint.  

Revision as of 09:47, 4 April 2018

What is rpmlint?

Rpmlint performs many different checks regarding RPM package sanity. Task-rpmlint is a Taskotron wrapper around that tool that executes it on every new Koji build and shows the results in Bodhi.

How does rpmlint task work?

Rpmlint task downloads all RPMs (source and binary) that your package consists of and runs rpmlint on them.

Whitelisting errors

You can whitelist errors that you believe don't apply to your package. task-rpmlint uses the same rpmlint config file as used by fedpkg lint, which is named <source_package_name>.rpmlintrc. If there's such a file in your distgit repository, it will be used when rpmlint is executed as part of task-rpmlint.

To test the config file locally, you can use

rpmlint --file <source_package_name>.rpmlintrc <rpms>

or

fedpkg lint

(once PR 293 is merged and released).

Getting Help

If you have generic rpmlint-related questions, it's best to ask on devel list or fedora-devel IRC channel.

If you have troubles with task-rpmlint, please contact us.