From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: X-Spam-Status: No, score=-4.0 required=3.0 tests=ALL_TRUSTED,AWL,BAYES_00 shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from localhost (dcvr.yhbt.net [127.0.0.1]) by dcvr.yhbt.net (Postfix) with ESMTP id 393FA1F463 for ; Wed, 8 Jan 2020 09:15:14 +0000 (UTC) From: Eric Wong To: clogger-public@yhbt.net Subject: [PATCH] doc: replace bogomips.org with yhbt.net Date: Wed, 8 Jan 2020 03:15:14 -0600 Message-Id: <20200108091514.21543-1-bofh@yhbt.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: 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 = '' -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!(/(]*>)/i, "#$1#{meta}") - data.sub!(/(]*>)/i, - "#{$1}Redirecting to #{url} ...
") - 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