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 |
||
---|---|---|
doc/source | ||
gerritbot | ||
.gitignore | ||
.gitreview | ||
.stestr.conf | ||
.zuul.yaml | ||
LICENSE | ||
MANIFEST.in | ||
README.rst | ||
gerritbot.init | ||
requirements.txt | ||
setup.cfg | ||
setup.py | ||
test-requirements.txt | ||
tox.ini |
README.rst
GerritBot
Gerritbot is an IRC bot that will notify IRC channels of Gerrit events.
To install:
$ sudo python setup.py install
Online documentation:
Developers
Report bugs:
Browse code:
Clone:
Submit patches via Gerrit at:
More details on how you can contribute is available on our wiki at:
License
Copyright 2011 OpenStack, LLC Copyright 2012-2013 Hewlett-Packard Development Company, L.P.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.