sbdchd/squawk

Allow to exclude all rules that break clients

kudrevatykh opened this issue · 2 comments

There are a lot of rules that helps not to break existing clients. For example ban-drop-not-null and ban-drop-table
It whould be nice if user can exclude all such rules with one option and leave only rules that cause exlusive locks and data rewrite.

chdsbd commented

We could add another value to the —exclude option, like: backwards-compatibility, locking, schema-style

For the documentation website we already define groups like this with tags:

description:

We could also add a new flag to be more explicit, like —-exclude-group

Would it make sense to have an include option as well to specify including only a subset of rules? That is what we'd be interested in at the moment (include all the rules that would guarantee FORWARD compatibility).