Capistrano SCM Strategy
Capistrano SCM strategies (shallow).
Capistrano SCM Strategy is a home for additional strategies utilising
Capistrano's pluggable strategy approach. Only Capistrano 3 is supported.
Currently, the only strategy is Git::Shallow
. But why not blend your magic? :)
More sleep lost by tiredpixel.
Installation
Install using:
gem 'capistrano-scm-strategy', '~> 0.1'
The default Ruby version supported is defined in .ruby-version
.
Usage
Require all strategies (they are namespaced so don't fret :) ):
# Capfile
require 'capistrano/scm/strategy'
Choose a strategy using Capistrano's pluggable nature:
set :git_strategy, Capistrano::Scm::Strategy::Git::Shallow
The strategy option is named :SCM_strategy
, where SCM
is the SCM set or
defaulted by :scm
. So, for Subversion, use :svn_strategy
.
That's it!
Strategies
These strategies are available:
Capistrano::Scm::Strategy::Git::Shallow
: A shallow Git strategy.
Stay Tuned
We have a Librelist mailing list! To subscribe, send an email to [email protected]. To unsubscribe, send an email to [email protected]. There be archives. That was easy.
You can also become a watcher on GitHub. And don't forget you can become a stargazer if you are so minded. :D
Growing Like Flowers
Dear Me, Here is a vague wishlist:
Capistrano::Scm::Strategy::Hg::Shallow
: A shallow Mercurial strategy.Capistrano::Scm::Strategy::Svn::Shallow
: A shallow Subversion strategy.
Also take a look at the issue tracker.
Contributions
Contributions are embraced with much love and affection! Please fork the repository and wizard your magic. Then send me a pull request. Simples! If you'd like to discuss what you're doing or planning to do, or if you get stuck on something, then just wave. :)
Do whatever makes you happy. We'll probably still like you. :)
Blessing
May you find peace, and help others to do likewise.
Licence
© tiredpixel 2014.
It is free software, released under the MIT License, and may be redistributed
under the terms specified in LICENSE
.