dapp 0.24.5 → 0.24.6
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
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 8630679f0871a4ccaeac1b38cac8eb0f11d1edba
|
|
4
|
+
data.tar.gz: 2fd12efa60bf0ba421ff7937951b365749b81ec5
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 6d1680150539d937f9d6f456ef048cabba7fa3756b7514a83368c06db6955df01e930cab51ac3d1e9c191b448c09c3aaa8729f6ac5fb4c451154756702b47f09
|
|
7
|
+
data.tar.gz: 0b6340a981b36e91900961f91c6b433fea925f17f0806c2b4c8983442e39c4dc0482ab12d3304868e873ee464a753596891b35474567ac782e461e87e58f8a76
|
|
@@ -32,7 +32,7 @@ module Dapp
|
|
|
32
32
|
def safe_cp(from, to, owner, group, include_paths = [], exclude_paths = [])
|
|
33
33
|
''.tap do |cmd|
|
|
34
34
|
cmd << dimg.dapp.rsync_bin
|
|
35
|
-
cmd << ' --archive --links'
|
|
35
|
+
cmd << ' --archive --links --inplace'
|
|
36
36
|
cmd << " --chown=#{owner}:#{group}" if owner or group
|
|
37
37
|
|
|
38
38
|
if include_paths.any?
|
|
@@ -87,7 +87,7 @@ module Dapp
|
|
|
87
87
|
"#{builder.dimg.dapp.mkdir_bin} -p ~/.ssh",
|
|
88
88
|
'echo "Host *" >> ~/.ssh/config',
|
|
89
89
|
'echo " StrictHostKeyChecking no" >> ~/.ssh/config',
|
|
90
|
-
*local_paths.map {|path| "#{builder.dimg.dapp.rsync_bin} --archive --relative #{path} /tmp/local_cookbooks"},
|
|
90
|
+
*local_paths.map {|path| "#{builder.dimg.dapp.rsync_bin} --inplace --archive --relative #{path} /tmp/local_cookbooks"},
|
|
91
91
|
"cd /tmp/local_cookbooks/#{path}",
|
|
92
92
|
"cp #{tmp_berksfile_path} Berksfile",
|
|
93
93
|
"cp #{tmp_metadata_path} metadata.rb",
|
|
@@ -37,7 +37,7 @@ module Dapp
|
|
|
37
37
|
dapp.log_secondary_process(dapp.t(code: 'process.git_artifact_clone', data: { url: url }), short: true) do
|
|
38
38
|
begin
|
|
39
39
|
if [:https, :ssh].include?(remote_origin_url_protocol) && !Rugged.features.include?(remote_origin_url_protocol)
|
|
40
|
-
raise Error::Rugged, code: :rugged_protocol_not_supported, data: { url: url,
|
|
40
|
+
raise Error::Rugged, code: :rugged_protocol_not_supported, data: { url: url, protocol: remote_origin_url_protocol }
|
|
41
41
|
end
|
|
42
42
|
|
|
43
43
|
Rugged::Repository.clone_at(url, path.to_s, bare: true, credentials: _rugged_credentials)
|
data/lib/dapp/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: dapp
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.24.
|
|
4
|
+
version: 0.24.6
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Dmitry Stolyarov
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2018-01-
|
|
11
|
+
date: 2018-01-25 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: mixlib-shellout
|