diff options
author | Eric Wong <bofh@yhbt.net> | 2020-01-08 03:15:14 -0600 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2020-01-08 09:21:12 +0000 |
commit | 0b46f07e08b70a871492b0e9fa096468ee0e06dc (patch) | |
tree | 453bbe3f768c944444ff0778da1e1cbdf63a5bfe | |
parent | dd88ea5231747cdbfca998d47b242e9bb6133929 (diff) | |
download | clogger-0b46f07e08b70a871492b0e9fa096468ee0e06dc.tar.gz |
bogomips.org is due to expire, and I can't justify paying .org extortionists to renew it.
-rw-r--r-- | .olddoc.yml | 15 | ||||
-rw-r--r-- | GNUmakefile | 2 | ||||
-rw-r--r-- | README | 8 | ||||
-rw-r--r-- | archive/rfmig.rb | 32 | ||||
-rw-r--r-- | clogger.gemspec | 4 |
5 files changed, 15 insertions, 46 deletions
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: @@ -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 |