aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan Kavanagh <rak@debian.org>2018-03-10 09:55:32 -0500
committerRyan Kavanagh <rak@debian.org>2018-03-10 09:55:32 -0500
commit5fa8e022c0ad7ad9174956b73acf58223a67d8e4 (patch)
tree13af67c38447a38ca87abe90b1b03ef6cb27c013
parentsig (diff)
I guess alioth isn't gone yet
-rw-r--r--.imapfilter/config.lua12
1 files changed, 12 insertions, 0 deletions
diff --git a/.imapfilter/config.lua b/.imapfilter/config.lua
index 89209e2..507018e 100644
--- a/.imapfilter/config.lua
+++ b/.imapfilter/config.lua
@@ -75,6 +75,18 @@ for list = 1, #tracker do
GMAIL.INBOX:move_messages(GMAIL['Debian' .. folder_sep .. tracker[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)
+end
+
dbugs = GMAIL.INBOX:match_from('.*@bugs.debian.org') *
GMAIL.INBOX:is_seen()
GMAIL.INBOX:move_messages(GMAIL['Debian' .. folder_sep .. 'dBugs'], dbugs)