Commit 9b538a800879

Vincent Demeester <vincent@sbr.pm>
2020-06-19 21:43:12
users/vincent: update gmailctl config
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
1 parent 95868cf
Changed files (1)
users
vincent
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') +
@@ -135,16 +134,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)"
@@ -258,16 +247,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)"
@@ -280,13 +259,6 @@ local rh_mailing_list(name, label = '') =
     }
   ],
   labels: [
-    {
-      name: "project/tekton",
-      color: {
-        background: "#16a765",
-        text: "#ffffff"
-      }
-    },
     {
       name: "area/admin",
       color: {
@@ -304,19 +276,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: {
@@ -324,13 +286,6 @@ local rh_mailing_list(name, label = '') =
         text: "#ffffff"
       }
     },
-    {
-      name: "project/knative",
-      color: {
-        background: "#4986e7",
-        text: "#ffffff"
-      }
-    },
     {
       name: "status/waiting",
       color: {
@@ -380,23 +335,9 @@ local rh_mailing_list(name, label = '') =
         text: "#3d188e"
       }
     },
-    {
-      name: "project/kubernetes",
-      color: {
-        background: "#4986e7",
-        text: "#ffffff"
-      }
-    },
     {
       name: "area/health"
     },
-    {
-      name: "project/openshift-pipelines",
-      color: {
-        background: "#b99aff",
-        text: "#ffffff"
-      }
-    },
     {
       name: "area/expense",
       color: {
@@ -414,20 +355,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: {
@@ -435,16 +362,6 @@ local rh_mailing_list(name, label = '') =
         text: "#3d188e"
       }
     },
-    {
-      name: "list/technical-users"
-    },
-    {
-      name: "area/operators",
-      color: {
-        background: "#000000",
-        text: "#ffffff"
-      }
-    },
     {
       name: "area/travel",
       color: {
@@ -452,19 +369,5 @@ local rh_mailing_list(name, label = '') =
         text: "#594c05"
       }
     },
-    {
-      name: "group/gsoc",
-      color: {
-        background: "#4986e7",
-        text: "#ffffff"
-      }
-    },
-    {
-      name: "area/github",
-      color: {
-        background: "#000000",
-        text: "#ffffff"
-      }
-    }
   ] + lib.rulesLabels(self.rules),
 }