zalando-stups / fullstop-cli

Simple command line utility to view and resolve fullstop. violations
https://pypi.python.org/pypi/stups-fullstop/
Other
3 stars 5 forks source link

Possibility to filter violations by regular expression #6

Closed rafaelcaricio closed 8 years ago

rafaelcaricio commented 8 years ago

Currently is possible to filter violations by key=value, but for old violations the format of meta may not make possible to filter. So I have added the possibility to filter violations using regular expression over the meta field.

beverage commented 8 years ago

+1

hjacobs commented 8 years ago

I like the idea, but I would not check for meta_info type as this only works for "old" string values.

Let's support regex for new violations too :smile:

hjacobs commented 8 years ago

Oh, disregard what I just posted: you are formatting meta info before applying the regex match...