summaryrefslogtreecommitdiffstats
path: root/configure_usercategories_jenkins.d.o
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2017-09-16 12:05:59 +0200
committerHolger Levsen <holger@layer-acht.org>2017-09-16 12:05:59 +0200
commit32cc781c3545909105b6b50e66c11c606f5448a9 (patch)
treec80ce23be52c573e58dbf11d5ade96fc57908e9f /configure_usercategories_jenkins.d.o
parentf7d6dd33db3ad385a57fb39c7a75ff3b1d796492 (diff)
downloadjenkins.debian.net-32cc781c3545909105b6b50e66c11c606f5448a9.tar.xz
new script to configure bugs.d.o, should probably be moved in some sub directory
Signed-off-by: Holger Levsen <holger@layer-acht.org>
Diffstat (limited to 'configure_usercategories_jenkins.d.o')
-rwxr-xr-xconfigure_usercategories_jenkins.d.o48
1 files changed, 48 insertions, 0 deletions
diff --git a/configure_usercategories_jenkins.d.o b/configure_usercategories_jenkins.d.o
new file mode 100755
index 00000000..15eada10
--- /dev/null
+++ b/configure_usercategories_jenkins.d.o
@@ -0,0 +1,48 @@
+#!/bin/sh
+
+# Copyright 2017 Holger Levsen
+# released under the GPLv=2
+#
+
+TMPFILE=`mktemp`
+cat >> $TMPFILE <<- EOF
+
+user jenkins.debian.org@packages.debian.org
+
+usercategory Tests
+ * Tests
+ + uncategorized [0:]
+ + general [1:tag=general]
+ + d-i [2:tag=d-i]
+ + reproducible [3:tag=reproducible]
+ + trigger-cycles [4:tag=trigger-cycles]
+ + multiarch [4:tag=multiarch]
+
+# tweak the default "status" category
+usercategory new-status [hidden]
+ * Status [pending=]
+ + Patch Available [0:pending+tag=patch]
+ + outstanding [1:pending]
+ + confirmed [2:pending+tag=confirmed]
+ + moreinfo [3:pending+tag=moreinfo]
+ + forwarded [4:pending+tag=forwarded]
+ + wontfix [5:pending+tag=wontfix]
+ + Fixed - Pending Upload [6:pending-fixed]
+ + Resolved [9:done]
+ + Unhandled pending state []
+
+# override the default view
+usercategory normal
+ * new-status
+ * severity
+ * tool
+
+# this is reachable adding ';odering=old-normal' to the bts url
+usercategory old-normal
+ * status
+ * severity
+ * classification
+
+EOF
+mutt -s "usercategories for jenkins.debian.org" -i $TMPFILE control@bugs.debian.org -c qa-jenkins-dev@lists.alioth.debian.org
+rm $TMPFILE