diff options
author | Ryan Kavanagh <rak@debian.org> | 2018-03-18 13:02:13 -0400 |
---|---|---|
committer | Ryan Kavanagh <rak@debian.org> | 2018-03-18 13:02:13 -0400 |
commit | db7aa12ebe6fd14ce9b2cf4883f2fc32bf67f083 (patch) | |
tree | 63580296e79b4c38b6087553c6108244264f1fcc /.imapfilter | |
parent | Dicts (diff) |
Deal with salsa too
Diffstat (limited to '.imapfilter')
-rw-r--r-- | .imapfilter/config.lua | 17 |
1 files changed, 12 insertions, 5 deletions
diff --git a/.imapfilter/config.lua b/.imapfilter/config.lua index 507018e..5afe316 100644 --- a/.imapfilter/config.lua +++ b/.imapfilter/config.lua @@ -76,17 +76,24 @@ for list = 1, #tracker do end alioth = { 'pkg-kde-commits' - , 'pkg-kde-extras' - , 'pkg-kde-talk' - , 'pkg-multimedia-commits' - , 'pkg-multimedia-maintainers' - , 'python-apps-team' } + , '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 +salsa = { 'cmus' } + +for proj = 1, #salsa do + listfilter = GMAIL.INBOX:contain_field('X-Gitlab-Project', salsa[proj]) + GMAIL.INBOX:move_messages(GMAIL['Debian' .. folder_sep .. salsa[proj]], listfilter) +end + dbugs = GMAIL.INBOX:match_from('.*@bugs.debian.org') * GMAIL.INBOX:is_seen() GMAIL.INBOX:move_messages(GMAIL['Debian' .. folder_sep .. 'dBugs'], dbugs) |