From Fedora Project Wiki
m (How to run locally.)
m (typo)
Line 6: Line 6:


= 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>dist.rpmlint</code> is performed. To test locally, you can use <code>rpmlint --file <source_package_name>.rpmlintrc</code>  or <code>fedpkg lint</code>. The latter only after [https://pagure.io/rpkg/pull-request/293 this PR] gets merged and relesed (remove this note if it already happened)).
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>dist.rpmlint</code> is performed. To test locally, you can use <code>rpmlint --file <source_package_name>.rpmlintrc</code>  or <code>fedpkg lint</code>. The latter only after [https://pagure.io/rpkg/pull-request/293 this PR] gets merged and released (remove this note if it already happened)).


= Getting Help =
= Getting Help =

Revision as of 12:06, 24 February 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 dist.rpmlint is performed. To test locally, you can use rpmlint --file <source_package_name>.rpmlintrc or fedpkg lint. The latter only after this PR gets merged and released (remove this note if it already happened)).

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.