summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Ostrovsky <David.Ostrovsky@gmx.de>2012-07-16 23:26:29 +0200
committerBjoern Michaelsen <bjoern.michaelsen@canonical.com>2012-07-19 12:04:33 +0200
commit98a83a4b953fdbf533d6ee33daefc436c525450f (patch)
tree6beb764491df3896d8af5bdb6bd957eaf9250b38
parent288c5cbe763fafb9a4382ef6fa8f9c037526de8c (diff)
add configuration files for IRC gerrit bot
Change-Id: I2b0c1f0a82afba6ccc2400d21ccc10b50f5be16d
-rw-r--r--.gitreview7
-rw-r--r--gerritircbot/README17
-rw-r--r--gerritircbot/gerritbot.cfg13
-rw-r--r--gerritircbot/gerritbot.channel.yaml9
4 files changed, 46 insertions, 0 deletions
diff --git a/.gitreview b/.gitreview
new file mode 100644
index 00000000..9f1605d2
--- /dev/null
+++ b/.gitreview
@@ -0,0 +1,7 @@
+[gerrit]
+host=logerrit
+port=29418
+project=dev-tools
+defaultremote=logerrit
+defaultbranch=master
+
diff --git a/gerritircbot/README b/gerritircbot/README
new file mode 100644
index 00000000..3c76e413
--- /dev/null
+++ b/gerritircbot/README
@@ -0,0 +1,17 @@
+This directory contains configuration files for irc gerritbot from OpenStack project.
+
+https://github.com/openstack-ci/gerritbot
+
+Installation:
+install the dependencies:
+
+python-daemon
+python-yaml
+python-irclib
+
+Adjust the config files.
+
+Run:
+install gerritbot.init
+or just start it manually
+
diff --git a/gerritircbot/gerritbot.cfg b/gerritircbot/gerritbot.cfg
new file mode 100644
index 00000000..9f884d28
--- /dev/null
+++ b/gerritircbot/gerritbot.cfg
@@ -0,0 +1,13 @@
+[ircbot]
+nick=logerritbot
+pass=
+server=irc.freenode.net
+port=6667
+channel_config=/home/gerrit2/gerritbot/gerritbot.channel.yaml
+
+[gerrit]
+user=gerritbot
+key=/home/gerrit2/.ssh/id_rsa
+host=gerrit.libreoffice.org
+port=29418
+
diff --git a/gerritircbot/gerritbot.channel.yaml b/gerritircbot/gerritbot.channel.yaml
new file mode 100644
index 00000000..efa43e2f
--- /dev/null
+++ b/gerritircbot/gerritbot.channel.yaml
@@ -0,0 +1,9 @@
+libreoffice-dev:
+ events:
+ - patchset-created
+ - change-merged
+ projects:
+ - core
+ - dev-tools
+ branches:
+ - master