From 4b8dacec20d4d79898e88ee01db80fddfd4b61c2 Mon Sep 17 00:00:00 2001
From: Ryan Kavanagh <rak@debian.org>
Date: Fri, 2 Mar 2018 15:35:32 -0500
Subject: Alioth is gone, use tracker

---
 .imapfilter/config.lua | 22 ++++++++++++----------
 1 file changed, 12 insertions(+), 10 deletions(-)

(limited to '.imapfilter')

diff --git a/.imapfilter/config.lua b/.imapfilter/config.lua
index ff06582..7e3b0d8 100644
--- a/.imapfilter/config.lua
+++ b/.imapfilter/config.lua
@@ -61,16 +61,18 @@ for list = 1, #listsdebianorg do
     GMAIL.INBOX:move_messages(GMAIL['Debian' .. folder_sep .. listsdebianorg[list]], listfilter)
 end
 
-alioth = { 'pkg-kde-commits'
-	   , 'pkg-kde-extras'
-	   , 'pkg-kde-talk'
-	   , 'pkg-multimedia-commits'
-	   , 'pkg-multimedia-maintainers'
-	   , 'python-apps-team' }
-
-for list = 1, #alioth do
-   listfilter = GMAIL.INBOX:contain_field('List-ID', alioth[list] .. '.lists.alioth.debian.org')
-   GMAIL.INBOX:move_messages(GMAIL['Debian' .. folder_sep .. alioth[list]], listfilter)
+tracker = { 'rumor'
+	    , 'freetuxtv'
+	    , 'slingshot'
+	    , 'turses'
+	    , 'frescobaldi'
+	    , 'bzflag'
+	    , 'cmus' }
+
+for list = 1, #tracker do
+   listfilter = GMAIL.INBOX:contain_field('List-ID', tracker[list] .. '.tracker.debian.org')
+      * GMAIL.INBOX:is_seen()
+   GMAIL.INBOX:move_messages(GMAIL['Debian' .. folder_sep .. tracker[list]], listfilter)
 end
 
 dbugs = GMAIL.INBOX:match_from('.*@bugs.debian.org') *
-- 
cgit v1.2.3