capistrano-withrsync 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +42 -8
- data/lib/capistrano/tasks/withrsync.rake +1 -0
- data/lib/capistrano/withrsync/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d2153ae6d68713fca44a415d89921b2b670cc8c6
|
4
|
+
data.tar.gz: d4808c1ce9ded9e6fe898d5ec03d46d2152e522f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 46b616862dbc007d40d8960325d0e6b568fb2236513fad34e6c036b95623fdf32fd1bf7f796f62a3934226aae9b820710190ad5d1dcdc8c688df64e02e3c8f38
|
7
|
+
data.tar.gz: 8e7a39787735702629f2f0de984cd59fc569be5d0096a8a8c0914c7cdc247f2d1fa5a308f5a7b376cc1b6b839a48d3d65d3a72f5fe0b1976537f6f24709b75ec
|
data/README.md
CHANGED
@@ -51,21 +51,55 @@ deploy as usual
|
|
51
51
|
$ cap deploy
|
52
52
|
```
|
53
53
|
|
54
|
-
|
55
|
-
|
54
|
+
Options
|
55
|
+
-------
|
56
56
|
|
57
57
|
Set capistrano variables with `set name, value`.
|
58
58
|
|
59
|
-
|
60
|
-
------------- | --------
|
61
|
-
rsync_src |
|
62
|
-
rsync_dest |
|
63
|
-
rsync_options |
|
59
|
+
Name | Default | Description
|
60
|
+
------------- | -------- | ------------
|
61
|
+
rsync_src | tmp/deploy | rsync src path
|
62
|
+
rsync_dest | shared/deploy | rsync dest path
|
63
|
+
rsync_options | --recursive --delete --delete-excluded <br>--exclude .git* --exclude .svn* | rsync options
|
64
|
+
|
65
|
+
Overview
|
66
|
+
--------
|
67
|
+
|
68
|
+
### local machine
|
69
|
+
|
70
|
+
```log
|
71
|
+
~/your_project
|
72
|
+
.
|
73
|
+
|-- app
|
74
|
+
|-- config
|
75
|
+
|-- lib
|
76
|
+
|-- ...
|
77
|
+
|-- ...
|
78
|
+
`-- tmp
|
79
|
+
`-- deploy (rsync src ==>)
|
80
|
+
```
|
81
|
+
|
82
|
+
### deployment hosts
|
83
|
+
|
84
|
+
```log
|
85
|
+
/var/www/your_project
|
86
|
+
.
|
87
|
+
|-- current -> /var/www/your_project/releases/20140219074628
|
88
|
+
|-- releases
|
89
|
+
| |-- 20140219062041
|
90
|
+
| |-- 20140219063022
|
91
|
+
| `-- 20140219074628
|
92
|
+
|-- revisions.log
|
93
|
+
`-- shared
|
94
|
+
|-- vendor
|
95
|
+
|-- deploy (==> rsync dest)
|
96
|
+
`-- log
|
97
|
+
```
|
64
98
|
|
65
99
|
Contributing
|
66
100
|
------------
|
67
101
|
|
68
|
-
1. Fork it ( http://github.com
|
102
|
+
1. Fork it ( http://github.com/linyows/capistrano-withrsync/fork )
|
69
103
|
2. Create your feature branch (`git checkout -b my-new-feature`)
|
70
104
|
3. Commit your changes (`git commit -am 'Add some feature'`)
|
71
105
|
4. Push to the branch (`git push origin my-new-feature`)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: capistrano-withrsync
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- linyows
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-02-
|
11
|
+
date: 2014-02-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: capistrano
|