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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 04d6f486122d60c8032cd5b1ed27327e53a30cbaf059c1e89b0a640342e90a93
4
- data.tar.gz: f16163d3a0892af7b8e7bd939284c178087d657cbef7f5ada79bd4bd3d9ab6b6
3
+ metadata.gz: 4b23e759244b14e9806c8a57fd8028aece4c71eb232d7d52eebbd093c340148b
4
+ data.tar.gz: 1e4e4d33499172d23583f0250f2e3506f7b82a2a798aebbf48a130010fa21afa
5
5
  SHA512:
6
- metadata.gz: 580cc77b34694cbbcc0b4b9b0c80a76303f4b4bae3ee24b925cd047da249f7123649c0770429856c4cb5aa2f87ea58f83be7111ffa1ea176efbb45912d3c7049
7
- data.tar.gz: 57d9345faec684a6526253b18f457137d8f79a8c6ab10c700b91b721b773c2db6d65fa883ac8e353144f596d3cb4b86f02c2c8c0ea1e640728f9c606dd0c4170
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 -avt "#{source}/" "#{target}/" &>> #{fsync}
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 -avzHP --copy-unsafe-links '#{ tmpdir }/' '#{ target }/'")
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 -avzHP --copy-unsafe-links '#{ tmpdir }/' '#{ target }/'")
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 -atAXmPL --progress #{test_str} --include-from='#{tmp_include_file}' --exclude='*' #{source}/ #{target}/ #{other_rsync_args}"
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
 
@@ -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 -atAX #{test_str} #{excludes_str} #{source} #{target} #{other * " "}"
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
 
@@ -13,8 +13,6 @@ Remove a job and its dependencies
13
13
 
14
14
  $ rbbt purge [options] <job_path>
15
15
 
16
- You can specify extra rsync options after --
17
-
18
16
  -h--help Print this help
19
17
  -t--test Do a verbose dry run
20
18
  -r--relocate Include relocated dependencies
@@ -37,7 +37,7 @@ test_str = options[:test] ? '-nv' : ''
37
37
 
38
38
  source, target, _sep, *other = ARGV
39
39
 
40
- cmd = "rsync -atAX #{test_str} #{excludes_str} #{source} #{target} #{other * " "}"
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
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rbbt-util
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.26.104
4
+ version: 5.26.105
5
5
  platform: ruby
6
6
  authors:
7
7
  - Miguel Vazquez