Skip to main content

Gerrit IRC Bot.

Project description

Gerritbot is an IRC bot that will notify IRC channels of Gerrit events.

To install Gerritbot run `python setup.py install` from within the repository's
root directory.

To run Gerritbot `$PATH/gerritbot /path/to/config`. $PATH is usually something
like /usr/local/bin and /path/to/config should be whatever path you have hidden
the config at.

Gerritbot has two configuration files. The first configures the IRC server and
Gerrit server details and is the config file whose path you pass to gerritbot
when starting the bot. It should look like:
[ircbot]
nick=NICKNAME
pass=PASSWORD
server=irc.freenode.net
port=6667
channel_config=/path/to/yaml/config

[gerrit]
user=gerrit2
key=/path/to/id_rsa
host=review.example.com
port=29418

The second configures the IRC channels and the events and projects that each
channel is interested in. This config file is written in yaml and should look
like:
example-channel1:
events:
- patchset-created
- change-merged
projects:
- example/project1
- example/project2
branches:
- master
- development
example-channel2:
events:
- change-merged
projects:
- example/project3
- example/project4
branches:
- master

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

gerritbot-0.1.1.tar.gz (18.6 kB view details)

Uploaded Source

File details

Details for the file gerritbot-0.1.1.tar.gz.

File metadata

  • Download URL: gerritbot-0.1.1.tar.gz
  • Upload date:
  • Size: 18.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for gerritbot-0.1.1.tar.gz
Algorithm Hash digest
SHA256 3e2d3b88a0a3d4ca16a5197f8a4ab8e3d5c1696c80ff4a6921f18e1e2396c40d
MD5 5bde76760045e5b38bf09f573e32b801
BLAKE2b-256 82a07c8ee3918848bc463368a9214c0046e1be50fc6cdecfe3b59cf94e742f40

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page