clogger RubyGem user+dev discussion/patches/pulls/bugs/help
 help / color / Atom feed
* [PATCH] doc: replace bogomips.org with yhbt.net
@ 2020-01-08  9:15 Eric Wong
  0 siblings, 0 replies; only message in thread
From: Eric Wong @ 2020-01-08  9:15 UTC (permalink / raw)
  To: clogger-public

bogomips.org is due to expire, and I can't justify paying
.org extortionists to renew it.
---
 .olddoc.yml      | 15 ++++++++-------
 GNUmakefile      |  2 +-
 README           |  8 ++++----
 archive/rfmig.rb | 32 --------------------------------
 clogger.gemspec  |  4 ++--
 5 files changed, 15 insertions(+), 46 deletions(-)
 delete mode 100644 archive/rfmig.rb

diff --git a/.olddoc.yml b/.olddoc.yml
index fd7b52d..f774210 100644
--- a/.olddoc.yml
+++ b/.olddoc.yml
@@ -1,12 +1,13 @@
 ---
-rdoc_url: https://bogomips.org/clogger/
-cgit_url: https://bogomips.org/clogger.git
-git_url: git://bogomips.org/clogger.git
-public_email: clogger-public@bogomips.org
+rdoc_url: https://yhbt.net/clogger/
+cgit_url: https://yhbt.net/clogger.git
+git_url: git://yhbt.net/clogger.git
+public_email: clogger-public@yhbt.net
 ml_url:
-- https://bogomips.org/clogger-public/
+- https://yhbt.net/clogger-public/
 - http://ou63pmih66umazou.onion/clogger-public/
 - nntp://news.public-inbox.org/inbox.comp.lang.ruby.clogger
 source_code:
-- git clone git://bogomips.org/clogger.git
-- git clone https://bogomips.org/clogger.git
+- git clone git://yhbt.net/clogger.git
+- git clone https://yhbt.net/clogger.git
+- torsocks git clone http://ou63pmih66umazou.onion/clogger.git
diff --git a/GNUmakefile b/GNUmakefile
index ab8b4fe..dec2f5a 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -1,5 +1,5 @@
 all::
-RSYNC_DEST := bogomips.org:/srv/bogomips/clogger/
+RSYNC_DEST := yhbt.net:/srv/yhbt/clogger/
 rfpackage := clogger
 include pkg.mk
 test-ext:
diff --git a/README b/README
index 890ba78..1d1d537 100644
--- a/README
+++ b/README
@@ -98,12 +98,12 @@ that receives a "<<" method:
 
 The latest development happens in git and is published to the following:
 
-   git clone git://bogomips.org/clogger.git
+   git clone https://yhbt.net/clogger.git
    git clone git://repo.or.cz/clogger.git
 
 You may also browse and download snapshot tarballs:
 
-* https://bogomips.org/clogger.git
+* https://yhbt.net/clogger.git
 * http://repo.or.cz/w/clogger.git (gitweb)
 
 The mailing list (see below) is central for coordination and
@@ -115,11 +115,11 @@ development.  Patches should always be sent inline
 All feedback (bug reports, user/development discussion, patches, pull
 requests) go to the public mailing list.
 
-* mailto:clogger-public@bogomips.org
+* mailto:clogger-public@yhbt.net
 
 Do not send HTML mail or attachments.  Do not top post.
 
-Homepage: https://bogomips.org/clogger/
+Homepage: https://yhbt.net/clogger/
 
 == INSTALL
 
diff --git a/archive/rfmig.rb b/archive/rfmig.rb
deleted file mode 100644
index 033051a..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/clogger/'
-newbase = 'http://clogger.bogomips.org/'
-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/clogger.gemspec b/clogger.gemspec
index ebc0baf..d8d40d2 100644
--- a/clogger.gemspec
+++ b/clogger.gemspec
@@ -4,11 +4,11 @@ manifest = File.exist?('.manifest') ?
 Gem::Specification.new do |s|
   s.name = %q{clogger}
   s.version = (ENV['VERSION'] || '2.1.0').dup
-  s.homepage = 'https://bogomips.org/clogger/'
+  s.homepage = 'https://yhbt.net/clogger/'
   s.authors = ["cloggers"]
   s.summary = 'configurable request logging for Rack'
   s.description = File.read('README').split("\n\n")[1]
-  s.email = %q{clogger-public@bogomips.org}
+  s.email = %q{clogger-public@yhbt.net}
   s.extra_rdoc_files = IO.readlines('.document').map!(&:chomp!).keep_if do |f|
     File.exist?(f)
   end

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, back to index

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-01-08  9:15 [PATCH] doc: replace bogomips.org with yhbt.net Eric Wong

clogger RubyGem user+dev discussion/patches/pulls/bugs/help

Archives are clonable:
	git clone --mirror https://yhbt.net/clogger-public
	git clone --mirror http://ou63pmih66umazou.onion/clogger-public

Example config snippet for mirrors

Newsgroups are available over NNTP:
	nntp://news.public-inbox.org/inbox.comp.lang.ruby.clogger
	nntp://ou63pmih66umazou.onion/inbox.comp.lang.ruby.clogger

 note: .onion URLs require Tor: https://www.torproject.org/

AGPL code for this site: git clone https://public-inbox.org/public-inbox.git