summaryrefslogtreecommitdiff
path: root/gerritbot
diff options
context:
space:
mode:
authorBjoern Michaelsen <bjoern.michaelsen@canonical.com>2013-06-07 11:07:31 +0200
committerBjoern Michaelsen <bjoern.michaelsen@canonical.com>2013-06-07 11:07:31 +0200
commit6fa7a2c344ed6e8a445b71b7d4b16859b6106eb9 (patch)
tree1bfcfa75808c8af3df9f4869ea7fa70a547c86bd /gerritbot
parent445a35ca10077c1188b7b5daf2865d4c4fa03e78 (diff)
add more branches to patchpickup
Diffstat (limited to 'gerritbot')
-rwxr-xr-xgerritbot/patchpickup7
1 files changed, 6 insertions, 1 deletions
diff --git a/gerritbot/patchpickup b/gerritbot/patchpickup
index 8729f23..1b34512 100755
--- a/gerritbot/patchpickup
+++ b/gerritbot/patchpickup
@@ -23,7 +23,12 @@ from email.mime.text import MIMEText
sourceurl = 'ssh://logerrit/core'
desturl = 'ssh://logerrit/core'
-legalbranches = [ 'master', 'libreoffice-3-6', 'libreoffice-3-5', 'libreoffice-3-5-6', 'libreoffice-4-0' ]
+majors = [ '3-5', '3-6', '4-0', '4-1', '4-2', '4-3' ] # should be enough until autumn 2014
+
+legalbranches = [ 'master' ]
+for major in majors:
+ for minor in range(8):
+ legalbranches.append('libreoffice-%s-%d' % (major, minor))
logfile=os.path.join(os.environ['HOME'], 'patchpickup.log')
loglevel='INFO'