commit 9b538a800879ca4e721b2d40b95c0496d279a425
parent 95868cf10f680612170d9bc54258077caae814e2
Author: Vincent Demeester <vincent@sbr.pm>
Date: Fri, 19 Jun 2020 21:43:12 +0200
users/vincent: update gmailctl config
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
Diffstat:
1 file changed, 5 insertions(+), 102 deletions(-)
diff --git a/users/vincent/mails/config.jsonnet b/users/vincent/mails/config.jsonnet
@@ -66,8 +66,7 @@ local rh_mailing_list(name, label = '') =
// Note: labels management is optional. If you prefer to use the
// GMail interface to add and remove labels, you can safely remove
// this section of the config.
- rules: rh_mailing_list('memo-list', 'list/memo') +
- rh_mailing_list('announce-list', 'announce') +
+ rules: rh_mailing_list('announce-list', 'announce') +
rh_mailing_list('aos-announce') +
rh_mailing_list('aos-devel') +
rh_mailing_list('aos-int-services') +
@@ -105,10 +104,10 @@ local rh_mailing_list(name, label = '') =
rh_mailing_list('devtools-architects') +
rh_mailing_list('devtools-team', 'devtools') +
rh_mailing_list('devx', 'devtools/devx') +
- rh_mailing_list('serverless-interests', 'project/serverless') +
- rh_mailing_list('serverless-dev', 'project/serverless/dev') +
- rh_mailing_list('pipelines-interests', 'pipelines/serverless') +
- rh_mailing_list('pipelines-dev', 'project/pipelines/dev') +
+ rh_mailing_list('serverless-interests', 'serverless') +
+ rh_mailing_list('serverless-dev', 'serverless/dev') +
+ rh_mailing_list('pipelines-interests', 'pipelines/interests') +
+ rh_mailing_list('pipelines-dev', 'pipelines/dev') +
label_archive({from: 'do-not-reply@trello.com'}, '_tracker/trello') +
label_archive({from: 'help-ops@redhat.com'}, '_tracker/rh_service_now') +
label_archive({from: 'hss-jira@redhat.com'}, '_tracker/jira') +
@@ -137,16 +136,6 @@ local rh_mailing_list(name, label = '') =
},
{
filter: {
- query: "list:(devtools-build.redhat.com)"
- },
- actions: {
- labels: [
- "list/devtools/lead"
- ]
- }
- },
- {
- filter: {
query: "list:(\u003cistio-dev.googlegroups.com\u003e)"
},
actions: {
@@ -260,16 +249,6 @@ local rh_mailing_list(name, label = '') =
},
{
filter: {
- query: "list:(\u003ctechnical-users-list.redhat.com\u003e)"
- },
- actions: {
- labels: [
- "list/technical-users"
- ]
- }
- },
- {
- filter: {
query: "list:(\u003cgoogle-summer-of-code-mentors-list.googlegroups.com\u003e)"
},
actions: {
@@ -281,13 +260,6 @@ local rh_mailing_list(name, label = '') =
],
labels: [
{
- name: "project/tekton",
- color: {
- background: "#16a765",
- text: "#ffffff"
- }
- },
- {
name: "area/admin",
color: {
background: "#98d7e4",
@@ -305,19 +277,9 @@ local rh_mailing_list(name, label = '') =
name: "area/ce"
},
{
- name: "area/order"
- },
- {
name: "project/cdf"
},
{
- name: "project/istio",
- color: {
- background: "#b6cff5",
- text: "#0d3472"
- }
- },
- {
name: "event/kubecon",
color: {
background: "#b99aff",
@@ -325,13 +287,6 @@ local rh_mailing_list(name, label = '') =
}
},
{
- name: "project/knative",
- color: {
- background: "#4986e7",
- text: "#ffffff"
- }
- },
- {
name: "status/waiting",
color: {
background: "#f2b2a8",
@@ -381,23 +336,9 @@ local rh_mailing_list(name, label = '') =
}
},
{
- name: "project/kubernetes",
- color: {
- background: "#4986e7",
- text: "#ffffff"
- }
- },
- {
name: "area/health"
},
{
- name: "project/openshift-pipelines",
- color: {
- background: "#b99aff",
- text: "#ffffff"
- }
- },
- {
name: "area/expense",
color: {
background: "#ffc8af",
@@ -415,20 +356,6 @@ local rh_mailing_list(name, label = '') =
name: "area/meetup"
},
{
- name: "project/kubernetes/sig-cli",
- color: {
- background: "#4986e7",
- text: "#ffffff"
- }
- },
- {
- name: "cloud/google",
- color: {
- background: "#4986e7",
- text: "#ffffff"
- }
- },
- {
name: "area/conference",
color: {
background: "#e3d7ff",
@@ -436,35 +363,11 @@ local rh_mailing_list(name, label = '') =
}
},
{
- name: "list/technical-users"
- },
- {
- name: "area/operators",
- color: {
- background: "#000000",
- text: "#ffffff"
- }
- },
- {
name: "area/travel",
color: {
background: "#fbe983",
text: "#594c05"
}
},
- {
- name: "group/gsoc",
- color: {
- background: "#4986e7",
- text: "#ffffff"
- }
- },
- {
- name: "area/github",
- color: {
- background: "#000000",
- text: "#ffffff"
- }
- }
] + lib.rulesLabels(self.rules),
}