about summary refs log tree commit homepage
diff options
context:
space:
mode:
authorEric Wong <bofh@yhbt.net>2020-01-09 07:29:59 +0000
committerEric Wong <e@yhbt.net>2020-01-09 08:19:44 +0000
commitb9650fdd82c4ace8f26a7d97a7f1d0ab02ee2447 (patch)
tree78ad0cbfeb8beebfa0a06669462a20536ee2707d
parent10055c1f4eb7b944e5cf0826e9cc7fd81cadd5af (diff)
downloadrainbows-b9650fdd82c4ace8f26a7d97a7f1d0ab02ee2447.tar.gz
bogomips.org is due to expire, soon, and I'm not willing to pay
extortionists at Ethos Capital/PIR/ICANN to keep a .org.  So
it's at yhbt.net, for now...  Identity is overrated.

Tor users can use .onions and kick ICANN to the curb:

  torsocks w3m http://rainbows.ou63pmih66umazou.onion/
  torsocks git clone http://ou63pmih66umazou.onion/rainbows.git/
  torsocks w3m http://ou63pmih66umazou.onion/rainbows-public/

While we're at it, switch news.gmane.org => news.gmane.io
(but I suspect that'll need to be resynched since our mail
"List-Id:" header is changing).
-rw-r--r--.olddoc.yml20
-rw-r--r--Documentation/comparison.haml2
-rw-r--r--Documentation/rainbows.1.txt6
-rw-r--r--FAQ2
-rw-r--r--GNUmakefile2
-rw-r--r--HACKING4
-rw-r--r--README18
-rw-r--r--Sandbox2
-rw-r--r--TUNING4
-rw-r--r--archive/rfmig.rb32
-rw-r--r--archive/slrnpull.conf2
-rw-r--r--examples/reverse_proxy.ru2
-rw-r--r--lib/rainbows.rb2
-rw-r--r--lib/rainbows/configurator.rb4
-rw-r--r--lib/rainbows/epoll.rb2
-rw-r--r--lib/rainbows/reverse_proxy.rb2
-rw-r--r--rainbows.gemspec16
-rw-r--r--vs_Unicorn2
18 files changed, 49 insertions, 75 deletions
diff --git a/.olddoc.yml b/.olddoc.yml
index 3e776ef..a10528a 100644
--- a/.olddoc.yml
+++ b/.olddoc.yml
@@ -1,12 +1,10 @@
 ---
-cgit_url: https://bogomips.org/rainbows.git
-git_url: https://bogomips.org/rainbows.git
-rdoc_url: https://bogomips.org/rainbows/
+cgit_url: https://yhbt.net/rainbows.git/
+rdoc_url: https://yhbt.net/rainbows/
 merge_html:
   rainbows_1: Documentation/rainbows.1.html
   Summary: Documentation/comparison.html
-public_email: rainbows-public@bogomips.org
-private_email: rainbows@bogomips.org
+public_email: rainbows-public@yhbt.net
 noindex:
 - TODO
 - LATEST
@@ -15,7 +13,13 @@ noindex:
 - Unicorn::SocketHelper
 - EM
 - Revactor
-ml_url: https://bogomips.org/rainbows-public/
+ml_url:
+- https://yhbt.net/rainbows-public/
+- http://ou63pmih66umazou.onion/rainbows-public/
+source_code:
+- git clone https://yhbt.net/rainbows.git
+- torsocks git clone http://ou63pmih66umazou.onion/rainbows.git
 nntp_url:
-  - nntp://news.public-inbox.org/inbox.comp.lang.ruby.rainbows
-  - nntp://news.gmane.org/gmane.comp.lang.ruby.rainbows.general
+- nntp://news.public-inbox.org/inbox.comp.lang.ruby.rainbows
+- nntp://ou63pmih66umazou.onion/inbox.comp.lang.ruby.rainbows
+- nntp://news.gmane.io/gmane.comp.lang.ruby.rainbows.general
diff --git a/Documentation/comparison.haml b/Documentation/comparison.haml
index 4fd02eb..8586a0b 100644
--- a/Documentation/comparison.haml
+++ b/Documentation/comparison.haml
@@ -153,7 +153,7 @@
     CoolioThread* and CoolioThread* requires Ruby 1.9 reasonable performance
   %li
     rack.input streaming is what makes
-    %a(href="http://upr.bogomips.org/") upload progress,
+    %a(href="http://yhbt.net/upr/") upload progress,
     and BOSH possible
   %li
     rack.input streaming is NOT compatible with current versions of nginx
diff --git a/Documentation/rainbows.1.txt b/Documentation/rainbows.1.txt
index cdf7863..94adb8a 100644
--- a/Documentation/rainbows.1.txt
+++ b/Documentation/rainbows.1.txt
@@ -1,5 +1,5 @@
 % rainbows(1) Rainbows! User Manual
-% Rainbows! Hackers <rainbows-public@bogomips.org>
+% Rainbows! Hackers <rainbows-public@yhbt.net>
 % December 3, 2009
 
 # NAME
@@ -155,7 +155,7 @@ RACKUP_FILE, some frameworks do not require them.
 * [Rack RDoc][2]
 * [Rackup HowTo][3]
 
-[1]: https://bogomips.org/rainbows/
+[1]: https://yhbt.net/rainbows/
 [2]: http://rdoc.info/gems/r#/gems/rack/frames
 [3]: http://wiki.github.com/rack/rack/tutorial-rackup-howto
-[4]: https://bogomips.org/rainbows/SIGNALS.html
+[4]: https://yhbt.net/rainbows/SIGNALS.html
diff --git a/FAQ b/FAQ
index e3dd762..5f64786 100644
--- a/FAQ
+++ b/FAQ
@@ -64,7 +64,7 @@ requires a extra {patch}[http://haproxy.1wt.eu/download/patches/].
 If you don't need streaming "rack.input", then nginx is a great HTTPS
 reverse proxy.
 
-Refer to the {unicorn FAQ}[https://bogomips.org/unicorn/FAQ.html] on how
+Refer to the {unicorn FAQ}[https://yhbt.net/unicorn/FAQ.html] on how
 to ensure redirects go to "https://" URLs.
 
 
diff --git a/GNUmakefile b/GNUmakefile
index af8be80..70cc708 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -1,6 +1,6 @@
 # use GNU Make to run tests in parallel, and without depending on RubyGems
 all::
-RSYNC_DEST := bogomips.org:/srv/bogomips/rainbows
+RSYNC_DEST := yhbt.net:/srv/yhbt/rainbows
 rfpackage := rainbows
 PLACEHOLDERS := rainbows_1 Summary
 
diff --git a/HACKING b/HACKING
index 31f2111..b2f30e5 100644
--- a/HACKING
+++ b/HACKING
@@ -13,7 +13,7 @@ Please wrap documentation at 72 characters-per-line or less (long URLs
 are exempt) so it is comfortably readable from terminals.
 
 When referencing mailing list posts, use
-"https://bogomips.org/rainbows-public/<Message-ID>/" if possible since
+"https://yhbt.net/rainbows-public/<Message-ID>/" if possible since
 the Message-ID remains searchable even if the website becomes unavailable.
 
 == Contributing
@@ -38,7 +38,7 @@ distributed with git on on patch submission guidelines to follow.  Just
 don't email the git mailing list or maintainer with Rainbows! patches :)
 
 No subscription is required to post to the mailing list at
-rainbows-public@bogomips.org
+rainbows-public@yhbt.net
 
 Please Cc: everyone on replies, as not everyone is subscribed.
 
diff --git a/README b/README
index 178990d..5fc3a31 100644
--- a/README
+++ b/README
@@ -51,7 +51,7 @@ network concurrency.
 * Designed for {Rack}[http://rack.github.io/], the standard for
   modern Ruby HTTP applications.
 
-* Built on {unicorn}[https://bogomips.org/unicorn/], inheriting its
+* Built on {unicorn}[https://yhbt.net/unicorn/], inheriting its
   process/socket management features such as transparent upgrades and
   Ruby configuration DSL.
 
@@ -116,7 +116,7 @@ In APP_ROOT (where config.ru is located), run:
 For deployments, it can use a config file for Unicorn and
 \Rainbows!-specific options specified by the +--config-file/-c+
 command-line switch.  \Rainbows! accepts all options found in
-{Unicorn::Configurator}[https://bogomips.org/unicorn/Unicorn/Configurator.html]
+{Unicorn::Configurator}[https://yhbt.net/unicorn/Unicorn/Configurator.html]
 as well as the "\Rainbows!" block, so you can have the following in your
 config file:
 
@@ -135,13 +135,13 @@ for more details.
 You can get the latest source via git from the following locations
 (these versions may not be stable):
 
-  https://bogomips.org/rainbows.git
+  https://yhbt.net/rainbows.git
   https://repo.or.cz/rainbows.git (mirror)
 
 You may browse the code from the web and download the latest snapshot
 tarballs here:
 
-* https://bogomips.org/rainbows.git
+* https://yhbt.net/rainbows.git
 * https://repo.or.cz/rainbows.git (gitweb)
 
 Inline patches (from "git format-patch") to the mailing list are
@@ -175,8 +175,10 @@ requests) go to the mailing list.  Patches must be sent inline
 (git format-patch -M + git send-email).  No subscription is necessary
 to post on the mailing list.  No top posting.
 
-* email: mailto:rainbows-public@bogomips.org
-* subscribe: mailto:rainbows-public+subscribe@bogomips.org
-* archives: https://bogomips.org/rainbows-public/
+* email: mailto:rainbows-public@yhbt.net
+* subscribe: mailto:rainbows-public+subscribe@yhbt.net
+* archives: https://yhbt.net/rainbows-public/
+  http://ou63pmih66umazou.onion/rainbows-public/
   nntp://news.public-inbox.org/inbox.comp.lang.ruby.rainbows
-  nntp://news.gmane.org/gmane.comp.lang.ruby.rainbows.general
+  nntp://ou63pmih66umazou.onion/inbox.comp.lang.ruby.rainbows
+  nntp://news.gmane.io/gmane.comp.lang.ruby.rainbows.general
diff --git a/Sandbox b/Sandbox
index 63c44c4..538c792 100644
--- a/Sandbox
+++ b/Sandbox
@@ -1,6 +1,6 @@
 = Tips for using \Rainbows! with Sandbox installation tools
 
-Most {tips for unicorn}[https://bogomips.org/unicorn/Sandbox.html]
+Most {tips for unicorn}[https://yhbt.net/unicorn/Sandbox.html]
 for Bundler and Isolate apply to \Rainbows! as well.
 
 == TLDR (Bundler)
diff --git a/TUNING b/TUNING
index 55a9ad4..7686624 100644
--- a/TUNING
+++ b/TUNING
@@ -1,6 +1,6 @@
 = Tuning \Rainbows!
 
-Most of the {tuning notes}[https://bogomips.org/unicorn/TUNING.html]
+Most of the {tuning notes}[https://yhbt.net/unicorn/TUNING.html]
 apply to \Rainbows! as well.  \Rainbows! is not particularly optimized
 at the moment and is designed for applications that spend large amounts
 of the time waiting on network activity.  Thus memory usage and memory
@@ -26,7 +26,7 @@ never be the primary goal of the project.
   the kernel.
 
 * If your workers do not seem to be releasing memory to the OS after
-  traffic spikes, consider the {mall}[https://bogomips.org/mall/] library
+  traffic spikes, consider the {mall}[https://yhbt.net/mall/] library
   which allows access to the mallopt(3) function from Ruby. As of
   October 2009 tcmalloc (the default allocator for Ruby Enterprise
   Edition) does not release memory back to the kernel, the best it can
diff --git a/archive/rfmig.rb b/archive/rfmig.rb
deleted file mode 100644
index a7d31e5..0000000
--- a/archive/rfmig.rb
+++ /dev/null
@@ -1,32 +0,0 @@
-#!/usr/bin/env ruby
-require 'find'
-require 'fileutils'
-rfdir = 'rubyforge.org:/var/www/gforge-projects/rainbows/'
-newbase = 'https://bogomips.org/rainbows/'
-refresh = '<meta http-equiv="refresh" content="0; url=%s" />'
-old = 'rf.old'
-new = 'rf.new'
-cmd = %W(rsync -av #{rfdir} #{old}/)
-unless File.directory?(old)
-  system(*cmd) or abort "#{cmd.inspect} failed: #$?"
-end
-
-Find.find(old) do |path|
-  path =~ /\.html\z/ or next
-  data = File.read(path)
-  tmp = path.split(%r{/})
-  tmp.shift == old or abort "BUG"
-  dst = "#{new}/#{tmp.join('/')}"
-
-  tmp[-1] = '' if tmp[-1] == "index.html"
-  url = "#{newbase}#{tmp.join('/')}"
-  meta = sprintf(refresh, url)
-  data.sub!(/(<head[^>]*>)/i, "#$1#{meta}")
-  data.sub!(/(<body[^>]*>)/i,
-            "#{$1}Redirecting to <a href=\"#{url}\">#{url}</a> ...<br/>")
-  FileUtils.mkdir_p(File.dirname(dst))
-  File.open(dst, "w") { |fp| fp.write(data) }
-end
-
-print "Verify results in #{new}/, then run:\n  "
-puts %W(rsync -av #{new}/ #{rfdir}).join(' ')
diff --git a/archive/slrnpull.conf b/archive/slrnpull.conf
index 9cf80ba..480cbec 100644
--- a/archive/slrnpull.conf
+++ b/archive/slrnpull.conf
@@ -1,4 +1,4 @@
 # group_name                         max        expire     headers_only
 gmane.comp.lang.ruby.rainbows.general 1000000000 1000000000 0
 
-# usage: slrnpull -d $PWD -h news.gmane.org --no-post
+# usage: slrnpull -d $PWD -h news.gmane.io --no-post
diff --git a/examples/reverse_proxy.ru b/examples/reverse_proxy.ru
index fcb9e74..432a37f 100644
--- a/examples/reverse_proxy.ru
+++ b/examples/reverse_proxy.ru
@@ -2,7 +2,7 @@
 cfg = {
   :upstreams => [
     "/tmp/.r.sock",
-    "http://bogomips.org/",
+    "http://yhbt.net/",
     [ "http://10.6.6.6:666/", { :weight => 666 } ],
   ]
 }
diff --git a/lib/rainbows.rb b/lib/rainbows.rb
index 584c94b..9d6d103 100644
--- a/lib/rainbows.rb
+++ b/lib/rainbows.rb
@@ -4,7 +4,7 @@ require 'unicorn'
 # the value passed to TCP_DEFER_ACCEPT actually matters in Linux 2.6.32+
 Unicorn::SocketHelper::DEFAULTS[:tcp_defer_accept] = 60
 
-# See https://bogomips.org/rainbows/ for documentation
+# See https://yhbt.net/rainbows/ for documentation
 module Rainbows
   # :stopdoc:
   O = {}
diff --git a/lib/rainbows/configurator.rb b/lib/rainbows/configurator.rb
index 83077cb..5eb7606 100644
--- a/lib/rainbows/configurator.rb
+++ b/lib/rainbows/configurator.rb
@@ -1,7 +1,7 @@
 # -*- encoding: binary -*-
 
 # This module adds \Rainbows! to the
-# {Unicorn::Configurator}[https://bogomips.org/unicorn/Unicorn/Configurator.html]
+# {Unicorn::Configurator}[https://yhbt.net/unicorn/Unicorn/Configurator.html]
 # \Rainbows!-specific configuration options must be inside a the Rainbows!
 # block, otherwise Unicorn::Configurator directives may be used anywhere
 # in the file.
@@ -9,7 +9,7 @@
 # Warning: The "timeout" directive in unicorn is far more dangerous
 # in Rainbows!, since ALL requests running on a process will be lost
 # on worker death, not just one.  Instead, handle application-level
-# timeouts yourself: https://bogomips.org/unicorn/Application_Timeouts.html
+# timeouts yourself: https://yhbt.net/unicorn/Application_Timeouts.html
 #
 #   Rainbows! do
 #     use :ThreadSpawn # concurrency model to use
diff --git a/lib/rainbows/epoll.rb b/lib/rainbows/epoll.rb
index 45c4d08..1e0c7a2 100644
--- a/lib/rainbows/epoll.rb
+++ b/lib/rainbows/epoll.rb
@@ -3,7 +3,7 @@ require 'sleepy_penguin'
 require 'sendfile'
 
 # Edge-triggered epoll concurrency model using
-# {sleepy_penguin}[https://bogomips.org/sleepy_penguin/] for epoll.
+# {sleepy_penguin}[https://yhbt.net/sleepy_penguin/] for epoll.
 #
 # Unlike more portable options like Coolio and EventMachine, this
 # is Linux-only, but uses edge-triggering instead of level-triggering,
diff --git a/lib/rainbows/reverse_proxy.rb b/lib/rainbows/reverse_proxy.rb
index a4d8390..f844c1d 100644
--- a/lib/rainbows/reverse_proxy.rb
+++ b/lib/rainbows/reverse_proxy.rb
@@ -3,7 +3,7 @@
 require 'socket'
 require 'thread'
 require 'uri'
-require 'kcar' # https://bogomips.org/kcar/ -- gem install kcar
+require 'kcar' # https://yhbt.net/kcar/ -- gem install kcar
 
 # This is lightly tested and has an unstable configuration interface.
 # ***** Do not rely on anything under the ReverseProxy namespace! *****
diff --git a/rainbows.gemspec b/rainbows.gemspec
index 259e2ab..558799e 100644
--- a/rainbows.gemspec
+++ b/rainbows.gemspec
@@ -8,13 +8,13 @@ Gem::Specification.new do |s|
 
   s.authors = ['Rainbows! hackers']
   s.description = File.read('README').split("\n\n")[1]
-  s.email = %q{rainbows-public@bogomips.org}
+  s.email = %q{rainbows-public@yhbt.net}
   s.executables = %w(rainbows)
   s.extra_rdoc_files = IO.readlines('.document').map!(&:chomp!).keep_if do |f|
     File.exist?(f)
   end
   s.files = manifest
-  s.homepage = 'https://bogomips.org/rainbows/'
+  s.homepage = 'https://yhbt.net/rainbows/'
   s.summary = 'Rack app server for sleepy apps and slow clients'
 
   # we want a newer Rack for a valid HeaderHash#each
@@ -59,11 +59,11 @@ Gem::Specification.new do |s|
   ruby_1_8 = 'Nonstandard'
   s.licenses = [ 'GPL-2.0+', ruby_1_8 ]
   s.metadata = {
-    'bug_tracker_uri' => 'https://bogomips.org/rainbows/#label-Contact',
-    'changelog_uri' => 'https://bogomips.org/rainbows/NEWS.html',
-    'documentation_uri' => 'https://bogomips.org/rainbows/',
-    'homepage_uri' => 'https://bogomips.org/rainbows/',
-    'mailing_list_uri' => 'https://bogomips.org/rainbows-public/',
-    'source_code_uri' => 'https://bogomips.org/rainbows.git',
+    'bug_tracker_uri' => 'https://yhbt.net/rainbows/#label-Contact',
+    'changelog_uri' => 'https://yhbt.net/rainbows/NEWS.html',
+    'documentation_uri' => 'https://yhbt.net/rainbows/',
+    'homepage_uri' => 'https://yhbt.net/rainbows/',
+    'mailing_list_uri' => 'https://yhbt.net/rainbows-public/',
+    'source_code_uri' => 'https://yhbt.net/rainbows.git',
   }
 end
diff --git a/vs_Unicorn b/vs_Unicorn
index 1ae2db3..88f08ff 100644
--- a/vs_Unicorn
+++ b/vs_Unicorn
@@ -82,7 +82,7 @@ unicorn code), some things are not:
   to different worker processes, and if your listen() +:backlog+ is
   overflowing: to other machines in your cluster.
 
-* Accepts the same {signals}[https://bogomips.org/unicorn/SIGNALS.html]
+* Accepts the same {signals}[https://yhbt.net/unicorn/SIGNALS.html]
   for process management, so you can share scripts to manage them (and
   nginx, too).