#293 Change default rpmlint configuration file
Merged by cqi. Opened by athoscr.
athoscr/rpkg change-default-lint-config  into  master

Download 293.patch

Current rpmlint configuration file (.rpmlint) is hidden. Making the file
visible may encourage packagers looking at other repositories to
properly configure rpmlint runs and omit false positives. This commit
makes .rpmlintrc the default configuration file and
triggers a deprecation message whenever a .rpmlint file is implicitly
used.

Signed-off-by: Athos Ribeiro athoscr@fedoraproject.org

:thumbsup:

rebased onto a823b8d1164b1ea18ac04905dc8a137e6dae302e

Good idea.

The idea came up in a discussion in fedora-devel mailing lists (I had no part in the discussion, but I did like the idea).

I haven't found any place where this config file is mentioned (except for fedpkg man page, which is not linkable), so I went ahead and added a note at https://fedoraproject.org/wiki/Package_maintenance_guide (next to fedpkg lint). I used this new name already.

Also please note we added support for the same config name in task-rpmlint (shown in bodhi):
https://pagure.io/taskotron/task-rpmlint/issue/5

Please use property self.module_name.

Please also add a test for the new default rpmlintconf. There is already a test case TestLint containing some tests for lint command. The new test could be added to that test case class.

rebased onto b00462405174e789f01b675c4023948dadda2dde

rebased onto 5a8cac41b2cb588fd4c83837c4446b13f4449937

I addressed the requested points and changed some documentation I missed in the first patch.

This should be the problem detected by Jenkins job.

I forgot checking the test file after adding the last tests. Fixed.

rebased onto 3cdbbb70eb17adbd84806a672df6170e6108314d

:thumbsup: thanks

Commit 524e4a6a fixes this pull-request

Pull-Request has been merged by cqi

Pull-Request has been merged by cqi

Metadata