[ARVADOS] updated: edd5811cd9627cd1c734d9c5b1e863b3d94f746a

Git user git at public.curoverse.com
Mon Jan 30 14:40:10 EST 2017


Summary of changes:
 apps/workbench/app/controllers/collections_controller.rb        | 8 ++++----
 apps/workbench/app/controllers/jobs_controller.rb               | 2 +-
 apps/workbench/app/controllers/pipeline_instances_controller.rb | 2 +-
 3 files changed, 6 insertions(+), 6 deletions(-)

       via  edd5811cd9627cd1c734d9c5b1e863b3d94f746a (commit)
      from  804d23f38fb98ec648349703f74a229f225ee22a (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.


commit edd5811cd9627cd1c734d9c5b1e863b3d94f746a
Author: Lucas Di Pentima <lucas at curoverse.com>
Date:   Mon Jan 30 16:39:02 2017 -0300

    10694: Flipped graph orientations so they are all (collections, jobs, pipelines) redered top-down.

diff --git a/apps/workbench/app/controllers/collections_controller.rb b/apps/workbench/app/controllers/collections_controller.rb
index 46dcab6..be58b91 100644
--- a/apps/workbench/app/controllers/collections_controller.rb
+++ b/apps/workbench/app/controllers/collections_controller.rb
@@ -220,7 +220,7 @@ class CollectionsController < ApplicationController
     if params["tab_pane"] == "Provenance_graph"
       @prov_svg = ProvenanceHelper::create_provenance_graph(@object.provenance, "provenance_svg",
                                                             {:request => request,
-                                                             :direction => :bottom_up,
+                                                             :direction => :top_down,
                                                              :combine_jobs => :script_only}) rescue nil
     end
 
@@ -261,9 +261,9 @@ class CollectionsController < ApplicationController
         if params["tab_pane"] == "Used_by"
           @used_by_svg = ProvenanceHelper::create_provenance_graph(@object.used_by, "used_by_svg",
                                                                    {:request => request,
-                                                                     :direction => :top_down,
-                                                                     :combine_jobs => :script_only,
-                                                                     :pdata_only => true}) rescue nil
+                                                                    :direction => :top_down,
+                                                                    :combine_jobs => :script_only,
+                                                                    :pdata_only => true}) rescue nil
         end
       end
     end
diff --git a/apps/workbench/app/controllers/jobs_controller.rb b/apps/workbench/app/controllers/jobs_controller.rb
index 60aaeb9..c39b7c4 100644
--- a/apps/workbench/app/controllers/jobs_controller.rb
+++ b/apps/workbench/app/controllers/jobs_controller.rb
@@ -30,7 +30,7 @@ class JobsController < ApplicationController
 
     @svg = ProvenanceHelper::create_provenance_graph nodes, "provenance_svg", {
       :request => request,
-      :direction => :bottom_up,
+      :direction => :top_down,
       :all_script_parameters => true,
       :script_version_nodes => true}
   end
diff --git a/apps/workbench/app/controllers/pipeline_instances_controller.rb b/apps/workbench/app/controllers/pipeline_instances_controller.rb
index e1862b9..d68c579 100644
--- a/apps/workbench/app/controllers/pipeline_instances_controller.rb
+++ b/apps/workbench/app/controllers/pipeline_instances_controller.rb
@@ -188,7 +188,7 @@ class PipelineInstancesController < ApplicationController
     if provenance
       @prov_svg = ProvenanceHelper::create_provenance_graph provenance, "provenance_svg", {
         :request => request,
-        :direction => :bottom_up,
+        :direction => :top_down,
         :all_script_parameters => true,
         :combine_jobs => :script_and_version,
         :pips => pips,

-----------------------------------------------------------------------


hooks/post-receive
-- 




More information about the arvados-commits mailing list