Hi,
I am trying to use reviewers plugin but I am struggling with defining a proper filter.
The filter which I would like to define looks more less like this:
file:^lib/.* AND NOT file:^lib/gen.*
When both of those paths are present in the commit I would expect that the reviewer will be added.
Really? I would expect that "true and not true" predicate always evaluates to falsein both Gerrit UI and reviewer plugin (it reuses query engine as you have noticed).
On Friday, September 4, 2015 at 12:58:36 PM UTC+2, David Ostrovsky wrote:Really? I would expect that "true and not true" predicate always evaluates to falsein both Gerrit UI and reviewer plugin (it reuses query engine as you have noticed).
Yep, this is why I was confuse at the beginning about the logic. In the plugin
it works according to logic and it is false but in Gerrit UI this one will be
true.