rbbt-util 5.25.43 → 5.25.44
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/workflow/accessor.rb +1 -1
- data/lib/rbbt/workflow/provenance.rb +2 -4
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 9473cce633d8678775dfb315c9fee9686eafbcc7
|
|
4
|
+
data.tar.gz: 0767e47fd61c2c3518230d8771c6e38e56b1f939
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 2f9104fe4d642082a12599f25ece6c722f5a1d4bead8e6811393543e164ba345b0cd2c1244f010de27e92922059adf615fbe854b8616accf5ec06a8cdae0717a
|
|
7
|
+
data.tar.gz: 053265f4c5f9142394c3971b9f1bac3d3adc2d8cfad90beea74661af5c47079060b62495efebcff59beb6a5729e62e1df3ed30fd287426685effdcab45db93b4
|
|
@@ -36,7 +36,6 @@ class Step
|
|
|
36
36
|
nil
|
|
37
37
|
end
|
|
38
38
|
str = if not Open.remote?(path) and (Open.exists?(path) and $main_mtime and path_mtime and ($main_mtime - path_mtime) < -2)
|
|
39
|
-
iii [path, path_mtime, $main_mtime, $main_mtime - path_mtime]
|
|
40
39
|
prov_status_msg(status.to_s) << " " << [workflow, task, path].compact * " " << " (#{Log.color(:red, "Mtime out of sync") })"
|
|
41
40
|
else
|
|
42
41
|
prov_status_msg(status.to_s) << " " << [workflow, task, path].compact * " "
|
|
@@ -67,7 +66,7 @@ class Step
|
|
|
67
66
|
str << "\n"
|
|
68
67
|
end
|
|
69
68
|
|
|
70
|
-
def self.prov_report(step, offset = 0, task = nil)
|
|
69
|
+
def self.prov_report(step, offset = 0, task = nil, seen = [])
|
|
71
70
|
info = step.info || {}
|
|
72
71
|
info[:task_name] = task
|
|
73
72
|
path = step.path
|
|
@@ -77,13 +76,12 @@ class Step
|
|
|
77
76
|
status = :unsync if status == :done and not Open.exist? path
|
|
78
77
|
str = " " * offset
|
|
79
78
|
str << prov_report_msg(status, name, path, info)
|
|
80
|
-
seen = []
|
|
81
79
|
step.dependencies.each do |dep|
|
|
82
80
|
path = dep.path
|
|
83
81
|
new = ! seen.include?(path)
|
|
84
82
|
if new
|
|
85
83
|
seen << path
|
|
86
|
-
str << prov_report(dep, offset + 1, task)
|
|
84
|
+
str << prov_report(dep, offset + 1, task, seen)
|
|
87
85
|
else
|
|
88
86
|
str << Log.color(:blue, Log.uncolor(prov_report(dep, offset+1, task)))
|
|
89
87
|
end
|