Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
G
gemwatch
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Jobs
Commits
Open sidebar
Debian Ruby Team
gemwatch
Commits
0591a7da
Commit
0591a7da
authored
Apr 10, 2018
by
Antonio Terceiro
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove all references to alioth
parent
d3f1939c
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
7 additions
and
53 deletions
+7
-53
README.rst
README.rst
+5
-11
Rakefile
Rakefile
+0
-33
gemwatch.rb
gemwatch.rb
+1
-8
layout.haml
views/layout.haml
+1
-1
No files found.
README.rst
View file @
0591a7da
...
...
@@ -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:
* http
://pkg-ruby-extras.alioth.debian.org/rubygems.html
* http
://pkg-ruby-extras.alioth.debian.org/upstream-devs.html
* http
s://wiki.debian.org/Teams/Ruby/RubyExtras/OnRubygems
* http
s://wiki.debian.org/Teams/Ruby/RubyExtras/UpstreamDevelopers
There is a lot of Ruby developers that only release software as gems on
http://rubygems.org/. 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
https://
pkg-ruby-extras.alioth.debian.org/cgi-bin/gemwatch
/${gem} .*/${gem}-(.*)\.tar\.gz
https://
gemwatch.debian.net
/${gem} .*/${gem}-(.*)\.tar\.gz
Gem conversion to tarball
-------------------------
...
...
@@ -59,17 +59,11 @@ Running as CGI
** ``http://mysite.com/cgi-bin/gemwatch``, where ``gemwatch`` is a symlink to gemwatch's ``cgi`` script
** ``http://mysite.com/gemwatch`` 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).
License
-------
Copyright © 2010
, Antonio Terceiro <terceiro@softwarelivre
.org> and the Debian
pkg-ruby-extras team <http
://pkg-ruby-extras.alioth.debian.org/
>.
Copyright © 2010
-2018, Antonio Terceiro <terceiro@debian
.org> and the Debian
pkg-ruby-extras team <http
s://wiki.debian.org/Teams/Ruby
>.
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
...
...
Rakefile
deleted
100644 → 0
View file @
d3f1939c
ENV
[
'LC_ALL'
]
=
'POSIX'
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
ALIOTH_DEPLOY_COMMANDS
=
[
"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 alioth.debian.org"
task
:deploy
do
if
!
system
(
'git diff-index --quiet HEAD'
)
puts
"E: can't deploy with uncommitted changes"
system
'git status'
exit
(
1
)
end
sh
'git push'
sh
"rsync -avtPC --exclude /.git --exclude /tmp --exclude /.bundle ./ alioth.debian.org:
#{
ALIOTH_DEPLOY_DIR
}
/"
sh
"ssh alioth.debian.org '
#{
ALIOTH_DEPLOY_COMMANDS
}
'"
sh
'git tag $(date --utc +%Y-%m-%d-%H-%M-$USER)'
sh
'git push --tags'
end
task
:alioth
=>
:deploy
task
:default
do
system
'rake -T -s'
end
gemwatch.rb
View file @
0591a7da
...
...
@@ -5,14 +5,7 @@ require 'haml'
require
'restclient'
require
'json'
begin
# alioth
require
'gem2tgz'
rescue
LoadError
# local, up to date enviroment
require
'gem2deb/gem2tgz'
Gem2Tgz
=
Gem2Deb
::
Gem2Tgz
end
require
'gem2tgz'
require
'open-uri'
...
...
views/layout.haml
View file @
0591a7da
...
...
@@ -21,7 +21,7 @@
%div
Copyright
©
2010 - the
%a
{
:href
=>
"http://www.debian.org/"
}
Debian
%a
{
:href
=>
"http
://pkg-ruby-extras.alioth.debian.org/"
}
pkg-ruby-extras
team.
%a
{
:href
=>
"http
s://wiki.debian.org/Teams/Ruby"
}
Debian Ruby
team.
%div
gemwatch is free software, released under the
%a
{
:href
=>
'http://www.gnu.org/licenses/agpl.html'
}
GNU Affero General Public License.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment