TouK / sputnik

Static code review for your Gerrit patchsets. Runs Checkstyle, PMD, FindBugs, Scalastyle, CodeNarc, JSLint for you!
Apache License 2.0
201 stars 117 forks source link

Feature request: Messages filtering #215

Open devidebyzero opened 4 years ago

devidebyzero commented 4 years ago

Please enable message severity\priority filtering (i.e for pmd & spotbugs).

Gerrit is swarmed with INFO messages.

Thanks! DBZ

SpOOnman commented 4 years ago

Do you want to filter out all messages from PMD and Spotbugs that severity is higher than info? Your suggestion is one possible solution. But what about modifying your configuration files for PMD and Spotbugs to actually not report these?

devidebyzero commented 4 years ago

OK,

And how do I do that?

As I understand it, Sputnik uses plugin for each tool, not the standalone tool, and the get their arguments from the Sputnik config file, in which I couldn't find a way to control the message severity/priority to Gerrit.

On Fri, 17 Jan 2020 at 15:16, Tomasz Kalkosiński notifications@github.com wrote:

Do you want to filter out all messages from PMD and Spotbugs that severity is higher than info? Your suggestion is one possible solution. But what about modifying your configuration files for PMD and Spotbugs to actually not report these?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/TouK/sputnik/issues/215?email_source=notifications&email_token=ALWDZFMSXOXELPOEZYFPRY3Q6GVTHA5CNFSM4KGASJX2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEJHUS2Y#issuecomment-575621483, or unsubscribe https://github.com/notifications/unsubscribe-auth/ALWDZFPU7AQN6R5CQHUYWW3Q6GVTHANCNFSM4KGASJXQ .

-- Yuval Yosha