Commit 0591a7da authored by Antonio Terceiro's avatar Antonio Terceiro

Remove all references to alioth

parent d3f1939c
......@@ -11,8 +11,8 @@ suitable for packaging according to the needs of Debian developers.
Please see the following pages for more information, specially about why this
is needed:
There is a lot of Ruby developers that only release software as gems on gemwatch is an application to circumvent this practice:
......@@ -27,7 +27,7 @@ Debian package maintainers can use the following syntax in their watch files to
be properly warned of new upstream releases::
version=4${gem} .*/${gem}-(.*)\.tar\.gz${gem} .*/${gem}-(.*)\.tar\.gz
Gem conversion to tarball
......@@ -59,17 +59,11 @@ Running as CGI
** ````, where ``gemwatch`` is a symlink to gemwatch's ``cgi`` script
** ```` is a symlink (or an alias) to gemwatch's ``public`` directory.
Deploying to alioth
To deploy gemwatch to alioth, it is sufficient to run ``rake alioth`` under
gemwatch root directory (the one containing the Rakefile).
Copyright © 2010, Antonio Terceiro <> and the Debian
pkg-ruby-extras team <>.
Copyright © 2010-2018, Antonio Terceiro <> and the Debian
pkg-ruby-extras team <>.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
ALIOTH_DEPLOY_DIR = '/var/lib/gforge/chroot/home/groups/pkg-ruby-extras/gemwatch'
# The `2>/dev/null || true` in the commands below to ignore errors when trying
# to change file attributes under tmp/, because the files there are created by
# the www-data user
"chgrp -R pkg-ruby-extras #{ALIOTH_DEPLOY_DIR} 2>/dev/null || true",
"chmod -R a+rX #{ALIOTH_DEPLOY_DIR} 2>/dev/null || true",
"ln -sfT /home/groups/pkg-ruby-extras/gemwatch.cache #{ALIOTH_DEPLOY_DIR}/tmp",
"chmod -R g+w #{ALIOTH_DEPLOY_DIR} 2>/dev/null || true",
].join('; ')
desc "Deploys gemwatch on"
task :deploy do
if !system('git diff-index --quiet HEAD')
puts "E: can't deploy with uncommitted changes"
system 'git status'
sh 'git push'
sh "rsync -avtPC --exclude /.git --exclude /tmp --exclude /.bundle ./{ALIOTH_DEPLOY_DIR}/"
sh 'git tag $(date --utc +%Y-%m-%d-%H-%M-$USER)'
sh 'git push --tags'
task :alioth => :deploy
task :default do
system 'rake -T -s'
......@@ -5,14 +5,7 @@ require 'haml'
require 'restclient'
require 'json'
# alioth
require 'gem2tgz'
rescue LoadError
# local, up to date enviroment
require 'gem2deb/gem2tgz'
Gem2Tgz = Gem2Deb::Gem2Tgz
require 'gem2tgz'
require 'open-uri'
......@@ -21,7 +21,7 @@
Copyright &copy; 2010 - the
%a{:href => ""} Debian
%a{:href => ""} pkg-ruby-extras team.
%a{:href => ""} Debian Ruby team.
gemwatch is free software, released under the
%a{:href => ''} GNU Affero General Public License.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment