981dfa50fa
With this change, the channel config yaml file can now be configured to support regular expressions. Any value in any section may be prefixed with `^` to denote that it is to be treated as a regular expression [1]. Start and end ^anchors$ are implicit (so add `.*` if needed). For example, given the following paragraph in the channel config yaml: openstack-foo: events: - patchset-created - change-merged projects: - openstack/foo - ^openstack/foo-.* - openstack/oslo.foo branches: - master - ^stable/(newton|ocata|pike) ...messages will be posted to #openstack-foo for events coming in from project openstack/foo, openstack/foo-one, openstack/foo-bar, etc.; on branches master, stable/newton, stable/ocata, or stable/pike. Behavior is unchanged for values not prefixed with `^`. [1] This paradigm cribbed from gerrit's search functionality: https://review.openstack.org/Documentation/user-search.html#path Change-Id: I97cb8faa72600bd1bd9792bb6bb59a3b652ec389 |
||
---|---|---|
.. | ||
conf.py | ||
index.rst | ||
installation.rst |