rbbt-util 5.26.104 → 5.26.105
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/lib/rbbt/hpc.rb +1 -1
- data/lib/rbbt/workflow/util/archive.rb +3 -3
- data/share/rbbt_commands/migrate +1 -1
- data/share/rbbt_commands/purge_job +0 -2
- data/share/rbbt_commands/rsync +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4b23e759244b14e9806c8a57fd8028aece4c71eb232d7d52eebbd093c340148b
|
4
|
+
data.tar.gz: 1e4e4d33499172d23583f0250f2e3506f7b82a2a798aebbf48a130010fa21afa
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4f6b4f21ca16e068854fd5e18fb358bd2b10154fac9e667e228122d979c2c69a4800edbc05960969fdc63f53f5778b819cddef5bac7a16d50a3ce806dba4b49c
|
7
|
+
data.tar.gz: 97f30d3f45f8005437d49da986bc4e1c4f12fc1ffc4d44657451c6dbf81455695d9481024c3cd0114aefd0191ad03fcab381484e174466452f63ffcc13e9f76b
|
data/lib/rbbt/hpc.rb
CHANGED
@@ -293,7 +293,7 @@ EOF
|
|
293
293
|
|
294
294
|
target = File.expand_path(sync)
|
295
295
|
coda +=<<-EOF
|
296
|
-
rsync -
|
296
|
+
rsync -avztAXHP --copy-unsafe-links "#{source}/" "#{target}/" &>> #{fsync}
|
297
297
|
sync_es="$?"
|
298
298
|
find '#{target}' -type l -ls | awk '$13 ~ /^#{target.gsub('/','\/')}/ { sub("#{source}", "#{target}", $13); print $11, $13 }' | while read A B; do rm $A; ln -s $B $A; done
|
299
299
|
EOF
|
@@ -40,7 +40,7 @@ class Step
|
|
40
40
|
|
41
41
|
Misc.in_dir(tmpdir) do
|
42
42
|
if File.directory?(target)
|
43
|
-
CMD.cmd_log("rsync -
|
43
|
+
CMD.cmd_log("rsync -avztAXHP --copy-unsafe-links '#{ tmpdir }/' '#{ target }/'")
|
44
44
|
else
|
45
45
|
CMD.cmd_log("tar cvhzf '#{target}' ./*")
|
46
46
|
end
|
@@ -109,7 +109,7 @@ class Step
|
|
109
109
|
|
110
110
|
Misc.in_dir(tmpdir) do
|
111
111
|
if File.directory?(target)
|
112
|
-
CMD.cmd_log("rsync -
|
112
|
+
CMD.cmd_log("rsync -avztAXHP --copy-unsafe-links '#{ tmpdir }/' '#{ target }/'")
|
113
113
|
else
|
114
114
|
CMD.cmd_log("tar cvhzf '#{target}' ./*")
|
115
115
|
end
|
@@ -204,7 +204,7 @@ puts resource[path].find(search_path)
|
|
204
204
|
test_str = options[:test] ? '-nv' : ''
|
205
205
|
|
206
206
|
includes_str = "--include-from='#{tmp_include_file}'"
|
207
|
-
cmd = "rsync -
|
207
|
+
cmd = "rsync -avztAXHP --progress #{test_str} --include-from='#{tmp_include_file}' --exclude='*' #{source}/ #{target}/ #{other_rsync_args}"
|
208
208
|
|
209
209
|
cmd << " && rm -Rf #{source}" if options[:delete]
|
210
210
|
|
data/share/rbbt_commands/migrate
CHANGED
@@ -94,7 +94,7 @@ real_paths.each do |source|
|
|
94
94
|
|
95
95
|
target = [options[:target], target] * ":" if options[:target]
|
96
96
|
|
97
|
-
cmd = "rsync -
|
97
|
+
cmd = "rsync -avztAXHP --copy-unsafe-links #{test_str} #{excludes_str} #{source} #{target} #{other * " "}"
|
98
98
|
|
99
99
|
cmd << " && rm -Rf #{source}" if options[:delete]
|
100
100
|
|
data/share/rbbt_commands/rsync
CHANGED
@@ -37,7 +37,7 @@ test_str = options[:test] ? '-nv' : ''
|
|
37
37
|
|
38
38
|
source, target, _sep, *other = ARGV
|
39
39
|
|
40
|
-
cmd = "rsync -
|
40
|
+
cmd = "rsync -avztAXHP --copy-unsafe-links #{test_str} #{excludes_str} #{source} #{target} #{other * " "}"
|
41
41
|
|
42
42
|
if options[:print]
|
43
43
|
puts cmd
|