Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/terceiro/gemwatch
Watch rubygems.org and download gems converted to tarballs
https://github.com/terceiro/gemwatch
Last synced: about 1 month ago
JSON representation
Watch rubygems.org and download gems converted to tarballs
- Host: GitHub
- URL: https://github.com/terceiro/gemwatch
- Owner: terceiro
- License: agpl-3.0
- Created: 2010-04-22T13:28:59.000Z (over 14 years ago)
- Default Branch: master
- Last Pushed: 2010-05-15T14:34:33.000Z (over 14 years ago)
- Last Synced: 2023-04-12T09:34:58.245Z (over 1 year ago)
- Language: Ruby
- Homepage: http://gemwatch.heroku.com/
- Size: 125 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
- License: COPYING
Awesome Lists containing this project
README
gemwatch - Watch rubygems.org and download gems converted to tarballs
=====================================================================Introduction
------------This application was designed to help Debian developers in tracking Ruby
software released only as rubygems.Usage in Debian watch files
---------------------------Debian package maintainers can use the following syntax in their watch files to
be properly warned of new upstream releases::version=3
http://gemwatch.heroku.com/${gem} /download/${gem}-(.*)\.tar\.gzGem conversion to tarball
-------------------------A gem named ``mygem-0.1.0.gem`` is converted in a tarball with the following
steps::mkdir mygem-0.1.0
cd mygem-0.1.0
wget ...../mygem-0.1.0.gem
tar xf mygem-0.1.0.gem
tar xzf data.tar.gz
xcat metadata.gz > metadata.yml
rm -f mygem-0.1.0.gem data.tar.gz metadata.gz
cd ..
tar czf mygem-0.1.0.tar.gz mygem-0.1.0This way:
* The tarball contains all the files the gem contains
* The gem metadata ends up in a file named ``metadata.yml`` inside the tarballRunning as CGI
--------------* Create a symlink pointing to the ``cgi`` script into your ``cgi-bin`` directory. The symlink can be named as you wish.
* Make sure gemwatch's ``public`` directory is accessible as ``/gemwatch``
* Example:
** ``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.License
-------Copyright © 2010, Antonio Terceiro
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
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.You should have received a copy of the GNU Affero General Public License
along with this program. If not, see .