]> Sergey Matveev's repositories - public-inbox.git/commit
filter/rubylang: reuse altid entry from inbox object
authorEric Wong <e@80x24.org>
Thu, 22 Jun 2017 21:04:53 +0000 (21:04 +0000)
committerEric Wong <e@80x24.org>
Thu, 22 Jun 2017 21:04:53 +0000 (21:04 +0000)
commita141cefa8323bbdc2a5c83127cb9eec3f58dc005
tree1079a918199c5fabff461b64d39a7c7f4c063c68
parent1e57ecc0dcbc64a6829a93dc81cfb6ab6f0ce71b
filter/rubylang: reuse altid entry from inbox object

This allows users to DRY up their config a bit and avoid
specifying altid twice when reusing the NNTP-centric msgmap
for [ruby-*:\d+] serial numbers.

My current work-in-progress ~/.public-inbox/config entry
for the ruby-core list is:

------8<-------
[publicinbox "ruby-core"]
address = ruby-core@ruby-lang.org
url = //public-inbox.org/ruby-core
mainrepo = /path/to/ruby-core.git
newsgroup = inbox.comp.lang.ruby.core
watchheader = List-Id:<ruby-core.ruby-lang.org>
altid = serial:ruby-core:file=msgmap.sqlite3
watch = maildir:/path/to/Maildir/.INBOX.ruby
filter = PublicInbox::Filter::RubyLang
lib/PublicInbox/Filter/RubyLang.pm