Table of Contents
Stickler is a tool to organize and maintain an internal gem repository of proprietary gems and/or a mirror of third party gems.
The stickler(1) command interacts with an instance of stickler-server(1) to control the publishing and mirroring of ruby gems.
push |
Push one or more gems to a gemserver. This works the same as |
yank |
Remove a gem from the gemserver’s index. It will still be available
from direct download. This works the same as |
mirror |
Pull a specific version of a gem from an upstream gem server and store it in a stickler-server(1) |
config |
Access or update the stickler client configuration. |
list |
List all the gems in the remote repository |
These are the options for all commands. Not all options apply to all commands.
--server
or --upstream
items to the config file when using the
config
command.
--server
or to mirror from
--upstream
.
config
command.
--server
or to mirror from
--upstream
(e.g. ruby, java, mswin32)
mirror
command.
Stickler uses the .gem/stickler
file to hold its configuration. It is a yaml
file and Currently there are two options. These are altered using the stickler
config
command.
upstream |
The default upstream server from which to mirror gems. |
server |
The default stickler-server(1) to interact with. |
An example config file
--- :server: http://stickler.example.com :upstream: https://rubygems.org
Push the local my_gem-1.0.0.gem
file to the stickler-server(1) at
stickler.example.com
stickler push ./my_gem-1.0.0.gem --server http://stickler.example.com/
Push all the gems in the pkg
directory to the stickler-server(1) at
stickler.example.com
stickler push --server http://stickler.example.com/ ./pkg/*.gem
Yank vesion 1.0.0 of my_gem from the gem index on sticker.example.com
stickler yank my_gem --version 1.0.0 --server http://stickler.example.com/
Take the third_party
gem, version 1.4.2
that is on rubygems.org and mirror it
on stickler.example.com
stickler mirror third_party_gem --gem-version 0.4.2 --upstream http://rubygems.org/ --server http://stickler.example.com/ stickler mirror --help
Set the server
and upstream
configration values in the .gem/stickler
file.
stickler config --add --server http://stickler.example.com --upstream http://rubygems.org/
Written by Jeremy Hinegardner <jeremy@hinegardner.org>
GitHub project: http://www.github.com/copiousfreetime/stickler
Please report bugs to the github issue tracker http://github.com/copiousfreetime/stickler/issues