Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 70 lines (49 sloc) 2.207 kb
8beaf82 @jbarnette Initial extraction.
authored
1 = Git for Vlad
2
3 * http://github.com/jbarnette/vlad-git
2a70125 @ktheory Expanded README
ktheory authored
4 * http://rubyhitsquad.com/Vlad_the_Deployer.html
8beaf82 @jbarnette Initial extraction.
authored
5
6 == Description
7
8 Vlad plugin for Git support. This was previously part of Vlad, but all
9 modules outside the core recipe have been extracted.
10
2a70125 @ktheory Expanded README
ktheory authored
11 == Installation
8beaf82 @jbarnette Initial extraction.
authored
12
2a70125 @ktheory Expanded README
ktheory authored
13 $ gem install vlad-git
8beaf82 @jbarnette Initial extraction.
authored
14
2a70125 @ktheory Expanded README
ktheory authored
15 == Usage
16
17 (Adapted from Vlad's getting started guide:
18 http://hitsquad.rubyforge.org/vlad/doco/getting_started_txt.html)
19
20 In your Rakefile, load Vlad with the :scm => :git:
21
22 begin
23 require 'vlad'
24 Vlad.load :scm => :git
25 rescue
26 # do nothing
27 end
28
29 In config/deploy.rb, set the repository:
30
31 set :application, "project"
32 set :domain, "example.com"
33 set :deploy_to, "/path/to/install"
34 set :repository, 'git@example.com:project'
35
36 By default, vlad-git will deploy origin/master. To deploy an arbitrary
37 rev-spec, set the :revision in config/deploy.rb:
8beaf82 @jbarnette Initial extraction.
authored
38
2a70125 @ktheory Expanded README
ktheory authored
39 set :revision, "origin/my_branch" # Deploy a branch
40 set :revision, "v2.0" # Deploy a tag
41 set :revision, "a3539b3f3e9edba1" # Deploy a commit
8beaf82 @jbarnette Initial extraction.
authored
42
f96d635 @ktheory Add myself as contributor
ktheory authored
43 == Contributors
44
ee9bc3c @jbarnette Update contact info in Rakefile and README.
authored
45 * John Barnette http://github.com/jbarnette
f96d635 @ktheory Add myself as contributor
ktheory authored
46 * Aaron Suggs http://github.com/ktheory
47
8beaf82 @jbarnette Initial extraction.
authored
48 == License
49
ee9bc3c @jbarnette Update contact info in Rakefile and README.
authored
50 Copyright 2009 Vlad contributors, John Barnette (code@jbarnette.com)
8beaf82 @jbarnette Initial extraction.
authored
51
52 Permission is hereby granted, free of charge, to any person obtaining
53 a copy of this software and associated documentation files (the
54 'Software'), to deal in the Software without restriction, including
55 without limitation the rights to use, copy, modify, merge, publish,
56 distribute, sublicense, and/or sell copies of the Software, and to
57 permit persons to whom the Software is furnished to do so, subject to
58 the following conditions:
59
60 The above copyright notice and this permission notice shall be
61 included in all copies or substantial portions of the Software.
62
63 THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
64 EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
65 MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
66 IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
67 CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
68 TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
69 SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Something went wrong with that request. Please try again.