about summary refs log tree commit homepage
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2013-09-30 18:22:43 +0000
committerEric Wong <normalperson@yhbt.net>2013-09-30 18:22:43 +0000
commita8cb03f58be2c2742f0030a28a9e8454c3d56634 (patch)
tree32c2fb482a0e4aa166b2882ed7feaef25356c9a6
parentfc91f1d424af2a94d0fbed4b1f4d0171c8add79f (diff)
downloadkgio-a8cb03f58be2c2742f0030a28a9e8454c3d56634.tar.gz
RAA is dead
-rw-r--r--GNUmakefile1
-rw-r--r--Rakefile37
2 files changed, 0 insertions, 38 deletions
diff --git a/GNUmakefile b/GNUmakefile
index e960d38..89408d3 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -5,6 +5,5 @@ rfpackage := kgio
 include pkg.mk
 ifneq ($(VERSION),)
 release::
-        $(RAKE) raa_update VERSION=$(VERSION)
         $(RAKE) publish_news VERSION=$(VERSION)
 endif
diff --git a/Rakefile b/Rakefile
index 0fe4be3..cbeb7a0 100644
--- a/Rakefile
+++ b/Rakefile
@@ -30,40 +30,3 @@ task :publish_news do
   rf.login
   rf.post_news('rainbows', subject, body)
 end
-
-desc "post to RAA"
-task :raa_update do
-  require 'net/http'
-  require 'net/netrc'
-  rc = Net::Netrc.locate('kgio-raa') or abort "~/.netrc not found"
-  password = rc.password
-
-  s = Gem::Specification.load('kgio.gemspec')
-  desc = [ s.description.strip ]
-  desc << ""
-  desc << "* #{s.email}"
-  desc << "* #{git_url}"
-  desc << "* #{cgit_url}"
-  desc = desc.join("\n")
-  uri = URI.parse('http://raa.ruby-lang.org/regist.rhtml')
-  form = {
-    :name => s.name,
-    :short_description => s.summary,
-    :version => s.version.to_s,
-    :status => 'experimental',
-    :owner => s.authors.first,
-    :email => s.email,
-    :category_major => 'Library',
-    :category_minor => 'System',
-    :url => s.homepage,
-    :download => 'http://rubyforge.org/frs/?group_id=8977',
-    :license => "LGPL",
-    :description_style => 'Plain',
-    :description => desc,
-    :pass => password,
-    :submit => 'Update',
-  }
-  res = Net::HTTP.post_form(uri, form)
-  p res
-  puts res.body
-end