#137 No way to find a check's name
Closed: Fixed Opened by leamas.

In usecases such as using --exclude or --single options or when writing shell scripts user needs to know the name of a check. Today, the only way to find is to grep through the sources for the message text.

To resolve this, some kind of 'message-catalog' command is needed outputting a (long), grepable list like:

{{{
...
Package should comply to the Packaging Guidelines
CheckGuidelines:Generic:/usr/lib/python2.7/site-packages/FedoraReview/plugins/generic.py
...
}}}

List should be sorted on message texts


I believe it would be enough to add the check text to the output of "-d" switch (optionally only when -v is also specified).

I've also considered that, went for a separate command... but at a second thought I think you're right. Would give output like:
{{{
File: /home/leamas/fedorahosted/tmp/FedoraReview/plugins/generic.pyc
Group: Generic
CheckGuidelines: Package should comply to the Packaging Guidelines
...
}}}

Yes, why not? I don't think we should conditionalize on -v since this is one of the most basic usecases

Fixed in 61519ca

Metadata