diff options
author | Eric Wong <normalperson@yhbt.net> | 2014-05-04 01:01:48 +0000 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2014-05-04 08:14:49 +0000 |
commit | 6b2e88c5a63f35c36e358cae0074ef22d2d64e03 (patch) | |
tree | 7c86c5c440ea0033cf95d1d8cfe6c834d6704594 | |
parent | 6c5c3027fc65da49c5dd3cd780d09fc05cf987da (diff) | |
download | wrongdoc-6b2e88c5a63f35c36e358cae0074ef22d2d64e03.tar.gz |
final: add public-inbox support
We'll move this project onto public-inbox and away from librelist soon, too.
-rw-r--r-- | lib/wrongdoc/final.rb | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/lib/wrongdoc/final.rb b/lib/wrongdoc/final.rb index cf12a9c..b7e72e2 100644 --- a/lib/wrongdoc/final.rb +++ b/lib/wrongdoc/final.rb @@ -15,6 +15,7 @@ class Wrongdoc::Final def initialize(opts, git_tag = nil) @cgit_uri = URI.parse(opts[:cgit_url]) @rdoc_uri = URI.parse(opts[:rdoc_url]) + @ml_uri = URI.parse(opts[:ml_url]) @public_email = opts[:public_email] or warn ":public_email unset" @private_email = opts[:private_email] or warn ":private_email unset" @git_tag = git_tag @@ -91,8 +92,8 @@ class Wrongdoc::Final We love to hear from you!<br /> Email patches (with <a href="#{SE_URL}">git send-email</a>), pull requests, questions, bug reports, suggestions, etc. - to us publically at - <a href="mailto:#@public_email">#@public_email</a>.<br /> + to us publically at: + <a href="mailto:#@public_email">#@public_email</a><br /> EOF case @public_email @@ -112,6 +113,13 @@ class Wrongdoc::Final with \"subscribe\" in the Subject and respond to the automated confirmation message. EOF + when /public/ + txt << <<-EOF + This is a <a href="http://public-inbox.org/">public-inbox</a> with no sign up.<br /> + Please Cc: all recipients on replies, as not everybody subscribes + with <a href="http://ssoma.public-inbox.org/">ssoma</a>.<br /> + See <a href="#@ml_uri">#@ml_uri</a> for archives and more information. + EOF end txt << <<-EOF @@ -122,8 +130,8 @@ class Wrongdoc::Final <a href="http://catb.org/jargon/html/T/top-post.html">top post</a>. <br /> </b> - For sensitive topics, email us privately at - <a href="mailto:#@private_email">#@private_email</a>. + For sensitive topics, email us privately at: + <a href="mailto:#@private_email">#@private_email</a> EOF para = Nokogiri::XML.fragment(txt) |