aboutsummaryrefslogtreecommitdiff
path: root/.imapfilter
diff options
context:
space:
mode:
authorRyan Kavanagh <rak@debian.org>2018-03-02 15:35:32 -0500
committerRyan Kavanagh <rak@debian.org>2018-03-02 15:35:32 -0500
commit4b8dacec20d4d79898e88ee01db80fddfd4b61c2 (patch)
treef11407028e2658d62a25ddd4a1efad80c14011f9 /.imapfilter
parentupdate aliases (diff)
Alioth is gone, use tracker
Diffstat (limited to '')
-rw-r--r--.imapfilter/config.lua22
1 files changed, 12 insertions, 10 deletions
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') *