HomePhabricator

grrrit: Allow filtering based on branches

Authored by AzaToth.

Description

grrrit: Allow filtering based on branches

Add posibillity to filter messages for delivery based on branch.

In the config, optionally a hash can be specified with a key "branch"
which contains a branch specific regexp.

For example:

"#wikimedia-operations": {
    "operations.*": {
        branch: "^(?!betacluster)"
    }
}

to filter out commits made to branch "betacluster" on all operations
commits.

Bug: 62232
Change-Id: I1f49d0d8363865b38a1b2d66f05cfecd930bc202

Details