capistrano-s3_archive 0.3.6 → 0.3.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +5 -0
- data/lib/capistrano/s3_archive/version.rb +1 -1
- data/lib/capistrano/s3_archive.rb +4 -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: a1c7d03927c1d18d1433fed2016022b4bd747398
|
|
4
|
+
data.tar.gz: 1bdbf2f079dfd82c8b7085e89221ad8f2669433c
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 2aafd36db855642ca79c1526cc15eeb0a670e914787b52d096be3b6221832d652c9244479d3e5f4e7ad9c0ac5ebb5a097bcc51eb5aa2a12ee2937d3ad79d4a65
|
|
7
|
+
data.tar.gz: 67ba2981f8fab96cb6cde11780fe332b156d25ef5a14f8efe8003f2d0909609ac542b3198f526a96849c9d5d8fb4a2ac5c9b35d16ea19b594456e2e48e60a1da
|
data/README.md
CHANGED
|
@@ -68,6 +68,11 @@ rsync_cache | `shared/deploy` | Path where to cache your repository on the ser
|
|
|
68
68
|
s3_archive | `tmp/archives` | Path where to download source archives. Can be both relative or absolute.
|
|
69
69
|
|
|
70
70
|
|
|
71
|
+
##### Experimental configration
|
|
72
|
+
Key | Default | Description
|
|
73
|
+
--------------|---------|------------
|
|
74
|
+
hardlink | nil | Enable `--link-dest` option when remote rsyncing. It could speed deployment up in the case rsync_cache enabled.
|
|
75
|
+
|
|
71
76
|
## Development
|
|
72
77
|
|
|
73
78
|
After checking out the repo, run `bin/setup` to install dependencies. Then, run `bin/console` for an interactive prompt that will allow you to experiment.
|
|
@@ -150,7 +150,10 @@ module Capistrano
|
|
|
150
150
|
unless fetch(:rsync_cache).nil?
|
|
151
151
|
cache = rsync_cache
|
|
152
152
|
on [server] do
|
|
153
|
-
|
|
153
|
+
link_option = if fetch(:hardlink) && test("[ `readlink #{current_path}` != #{release_path} ]")
|
|
154
|
+
"--link-dest `readlink #{current_path}`"
|
|
155
|
+
end
|
|
156
|
+
copy = %(#{fetch(:rsync_copy)} #{link_option} "#{cache}/" "#{release_path}/")
|
|
154
157
|
execute copy
|
|
155
158
|
end
|
|
156
159
|
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: capistrano-s3_archive
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.3.
|
|
4
|
+
version: 0.3.8
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Takuto Komazaki
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2015-
|
|
11
|
+
date: 2015-12-16 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: capistrano
|