[ARVADOS] updated: 0d5be4fa36006459e1579f087b695904e4f32ee3

Git user git at public.curoverse.com
Mon Apr 10 13:13:39 EDT 2017


Summary of changes:
 .../app/controllers/actions_controller.rb          |  37 +--
 .../app/controllers/application_controller.rb      |  43 ++++
 .../app/controllers/collections_controller.rb      |  52 ++++
 apps/workbench/app/helpers/application_helper.rb   |   4 +-
 apps/workbench/app/models/collection.rb            |   2 +-
 .../app/views/collections/_show_files.html.erb     |  30 ++-
 apps/workbench/config/routes.rb                    |   1 +
 .../controllers/collections_controller_test.rb     | 132 +++++++++-
 .../workbench/test/integration/collections_test.rb |  59 +++++
 build/build.list                                   |  10 +-
 .../package-test-dockerfiles/ubuntu1204/Dockerfile |   2 +-
 build/rails-package-scripts/postinst.sh            |   4 +-
 build/run-tests.sh                                 |   3 +
 .../methods/container_requests.html.textile.liquid |   2 +
 sdk/cli/arvados-cli.gemspec                        |   2 +-
 sdk/cli/test/test_arv-keep-get.rb                  |   4 +-
 sdk/cwl/arvados_cwl/__init__.py                    |   3 +
 sdk/cwl/arvados_cwl/arvcontainer.py                |   3 +-
 sdk/cwl/arvados_cwl/fsaccess.py                    |   7 +-
 sdk/cwl/arvados_cwl/pathmapper.py                  |  13 +-
 sdk/cwl/arvados_cwl/runner.py                      |   3 -
 sdk/cwl/setup.py                                   |   5 +-
 sdk/cwl/tests/arvados-tests.sh                     |   2 +-
 sdk/cwl/tests/arvados-tests.yml                    |  38 +++
 sdk/cwl/tests/cat.cwl                              |   8 +
 sdk/cwl/tests/dir-job2.yml                         |   3 +
 ...dir-test-input.cwl => keep-dir-test-input2.cwl} |   3 +
 ...dir-test-input.cwl => keep-dir-test-input3.cwl} |   3 +
 sdk/cwl/tests/octo.yml                             |   3 +
 .../cwl/tests/octothorpe/item #1.txt               |   0
 sdk/cwl/tests/test_submit.py                       |  16 +-
 sdk/go/keepclient/support.go                       |  10 +
 sdk/python/arvados/__init__.py                     |   1 -
 sdk/python/arvados/api.py                          |  10 +-
 sdk/python/arvados/commands/get.py                 | 276 +++++++++++++++++++++
 sdk/python/arvados/commands/ls.py                  |  57 ++++-
 sdk/python/arvados/commands/run.py                 |  88 ++++---
 sdk/python/arvados/keep.py                         |  19 +-
 sdk/python/bin/arv-get                             | 235 +-----------------
 sdk/python/setup.py                                |  10 +-
 sdk/python/tests/test_arv_get.py                   | 108 ++++++++
 sdk/python/tests/test_arv_ls.py                    |  11 +-
 sdk/python/tests/test_cache.py                     |  15 +-
 sdk/ruby/arvados.gemspec                           |   2 +-
 .../api/app/controllers/application_controller.rb  |   4 +-
 .../app/controllers/arvados/v1/nodes_controller.rb |   2 +-
 services/api/app/models/arvados_model.rb           |  53 ++--
 services/api/app/models/collection.rb              |  42 +++-
 services/api/app/models/container_request.rb       |  85 ++++---
 ..._add_portable_data_hash_index_to_collections.rb |   5 +
 ...0012505_add_output_ttl_to_container_requests.rb |   5 +
 services/api/db/structure.sql                      |  13 +-
 services/api/lib/crunch_dispatch.rb                |   7 +-
 services/api/test/fixtures/collections.yml         |  16 +-
 .../functional/arvados/v1/nodes_controller_test.rb |  10 +-
 services/api/test/unit/collection_test.rb          |  23 +-
 services/api/test/unit/container_request_test.rb   | 115 +++++++--
 services/crunch-run/crunchrun.go                   | 151 +++++++----
 services/crunch-run/crunchrun_test.go              | 161 ++++++------
 services/fuse/arvados_fuse/command.py              |  42 ++--
 services/fuse/arvados_fuse/unmount.py              | 108 ++++++++
 services/fuse/tests/test_crunchstat.py             |  13 +
 services/fuse/tests/test_mount.py                  |  17 +-
 services/fuse/tests/test_unmount.py                |  87 +++++++
 .../arvnodeman/computenode/dispatch/__init__.py    |  10 +-
 .../arvnodeman/computenode/driver/__init__.py      |  17 ++
 .../arvnodeman/computenode/driver/gce.py           |  12 +-
 services/nodemanager/arvnodeman/daemon.py          |   2 +-
 .../tests/test_computenode_driver_gce.py           |  13 +-
 services/nodemanager/tests/test_failure.py         |   2 +-
 70 files changed, 1686 insertions(+), 668 deletions(-)
 create mode 100644 sdk/cwl/tests/cat.cwl
 create mode 100644 sdk/cwl/tests/dir-job2.yml
 copy sdk/cwl/tests/{keep-dir-test-input.cwl => keep-dir-test-input2.cwl} (77%)
 copy sdk/cwl/tests/{keep-dir-test-input.cwl => keep-dir-test-input3.cwl} (76%)
 create mode 100644 sdk/cwl/tests/octo.yml
 copy tools/crunchstat-summary/tests/__init__.py => sdk/cwl/tests/octothorpe/item #1.txt (100%)
 create mode 100755 sdk/python/arvados/commands/get.py
 create mode 100644 sdk/python/tests/test_arv_get.py
 create mode 100644 services/api/db/migrate/20170328215436_add_portable_data_hash_index_to_collections.rb
 create mode 100644 services/api/db/migrate/20170330012505_add_output_ttl_to_container_requests.rb
 create mode 100644 services/fuse/arvados_fuse/unmount.py
 create mode 100644 services/fuse/tests/test_crunchstat.py
 create mode 100644 services/fuse/tests/test_unmount.py

       via  0d5be4fa36006459e1579f087b695904e4f32ee3 (commit)
       via  77d9c05d89dabc9e9e9a15f46cd12c8ad61ed64e (commit)
       via  909313b20ed5055d62113f0eea123f362869c3f4 (commit)
       via  4f68551a87ff2cb88c23a2942abe2676a33f7cbb (commit)
       via  f49bc2790a18de14e22e69fb39f93805488fdbb3 (commit)
       via  86a6e4fe9347570090d1d1471f98675c3fb758f4 (commit)
       via  157847615412907e87d24fb1767470d0157a4c30 (commit)
       via  1b226fee3268f50ef670289fc5931a00866d69cd (commit)
       via  4405570376295039b4c00577535a394eb011f8ad (commit)
       via  2f52a6e7d9945f51d33b047466c4d927d494bb32 (commit)
       via  0654fa160f872fe20ea4ada42a655f9d154c0833 (commit)
       via  330f544dd257a43640eefc64b825b868f6e5be21 (commit)
       via  351f06f68e8b079377bea195c67fed171b1e4b73 (commit)
       via  75184884ed798b474e8b9e254045dc0f4354379e (commit)
       via  a869fa401696bc481380be239850ccf3edd808f6 (commit)
       via  9dae3e6dde2993bc44e90539141b442c899cf114 (commit)
       via  1c1c11c2c2d6cfd1d379cdbb166498514768be4e (commit)
       via  1d0d28c791e88f817b1c01560ee8efd70bcab41e (commit)
       via  e3c48eaab3bbf538a03e575aab09cef59ee69f18 (commit)
       via  ed46350a4b4cd947d126b5e1e9a0514aa0b93532 (commit)
       via  921d4321201be7542f9198202f75ba39c3f83d3f (commit)
       via  1affdcd3cd34424a817ae350fd9ca236927fd538 (commit)
       via  38fcd08dda022d0167840fbb65222fe99b75fcf5 (commit)
       via  33ec0939cd5853d1c14a621c551ac2705efd1cd7 (commit)
       via  b594678083d6cd7efe425bb4be63a444f22ce153 (commit)
       via  7b31dd40b31bdbf7473b50fd407cd6f636657c69 (commit)
       via  7ce46899b5ed250aa909fa240b6be3e01637fb79 (commit)
       via  b50a3bcb38cf9e79416d8cc9b0d8b66249b3d473 (commit)
       via  dfd3260e8b32ac4b9640e3e33bf8cf1e581bd917 (commit)
       via  4bb024ae6903552c29613c851312f934dc6174b9 (commit)
       via  a03ce4056e503710caa1e95d315b92fb74c96abf (commit)
       via  77f5a84ccc2b14438286ed05c6af183b8d8be605 (commit)
       via  4a35e06b098bdd44a24fcaf77921aea5f371c84b (commit)
       via  313415e33ca374898a371b9f22fc6546793f4688 (commit)
       via  2c0c6e6ba25ec56bab8c224865a7979af577adaa (commit)
       via  07c92074fe2b493dc8cd0abdad154e5b36d4adfc (commit)
       via  1654f776b55bbb861f72c0dd3118ad1beec5db31 (commit)
       via  988e9052575bc93db2909f3b9ef576f1043eddcb (commit)
       via  3cc77494ac02e0f64a814cd4a898662fb7b329af (commit)
       via  ff3bb22d4b2bff5666907a6eeb6cd68cd3cbe22b (commit)
       via  b651984ff68c6f8add9b99427b205a2cb7c87462 (commit)
       via  55c34fb97edfba5a014eb43b965130cf11dbda8a (commit)
       via  28e59edcec4af09f78be965fa3abfaa9ee3f8dff (commit)
       via  4af850d6898dea0c5f460f6acbc52f2e361cbf1d (commit)
       via  736a629e16c388a5afecc97268bd7eadfd7ce3c2 (commit)
       via  5ee2b9600ced7db8fefe141c837a894f33a1d129 (commit)
       via  c820bfc91be7635739bad0857ba3a385d1334b6a (commit)
       via  b9236fbe81426446e1b541a45e219bbe513fe8d0 (commit)
       via  fb1c8e81a200c11b1130f3a9af586f1bbf8c19b3 (commit)
       via  b351a877ff2d708acc5fe577d5ed5cc9b0469dde (commit)
       via  0b04efefcc49b05df10a202cff5e423bbb587923 (commit)
       via  65121f8db54a1ed15207d050e1f48c5fc26d646b (commit)
       via  1a4a2f3219906220c0b4d7fd9b90325fa529408a (commit)
       via  4437774e863465c0daa41dfd9716174e18d93122 (commit)
       via  a12ed889f9d0106ea26d0e2d6ff1f74e9ab14aac (commit)
       via  c507b0b072ad62c0087d059aedeaae8bae9b715f (commit)
       via  0568c2d42703a7b839f2661968c05a23753f67c3 (commit)
       via  d6703f161c75a780ff645dc1ec980fca8a3e315b (commit)
       via  bebac87e773d73788de9273d65ca92db6878b2e7 (commit)
       via  e8e9262a0f5e1e5908d338ac1655a2cdfaecf23a (commit)
       via  6fe136c2c7419dfb38a9af42898682701646b518 (commit)
       via  f34f20a9ac4b7ade7eeb05157a3b190d8a98c37e (commit)
       via  154ae0d4b13329bae1033ab99095c00d0b0f66e2 (commit)
       via  ff8d14acd42952a21f5428e96d86e4a54c41be9a (commit)
       via  ae7f5a9c869927336dc81cf0552b955457a09647 (commit)
       via  6828728001af20d8b75d841ead727c47d6ee2c96 (commit)
       via  37313363a84fc41dcb87a8c9aa8b8502aaac256c (commit)
       via  de1e1bf2e6cd455135f754878966711db4dae9ec (commit)
       via  d040869ca4926c0eb39e072bdabf139bc1f25dd3 (commit)
       via  fbc867e0b02a0482d00000d76c5d0d343b7f252e (commit)
       via  c6a8839b1888d2eeb302ddfc675772428b8895a9 (commit)
       via  78ca1460d58172f4555409298968583cd2ee70a1 (commit)
       via  acefccc4d506ed4bd3f51d3d88bc3a826b28be76 (commit)
       via  b3d286cda65b90e4dd0aaef88f085f45ea855ed5 (commit)
       via  2b27132d13fd72f29dbab2297f0d2dc1c110eed1 (commit)
       via  46fac76c9e6e325afcce3e17d51a7c7eb7340e11 (commit)
       via  3306ff5835f05b9d1e63a8254ec9d5e6ab41f968 (commit)
       via  32430fd402dc70b32c945c72b0bb73abbe00a913 (commit)
       via  f92654c53d54dac198078d42d810b65383179073 (commit)
       via  01da808f446e944873c611b6d229e01980c80f9c (commit)
       via  fe0751fd604792c7a0884e3533d8acb03b6038d9 (commit)
       via  126a8a239853e46cef3d4b7e5acf7620c0bd1f36 (commit)
       via  07e060db9abde587a4c56ab47b9c86d3c5a0ba7d (commit)
       via  11e4219911b6a3ff8696c7a0401ce4dcaac64d5f (commit)
       via  71f0b2ccf5f82c5ff86e51c06060ef4a9234e6d3 (commit)
       via  fdc7164e11eb019122b6deb9054decb9fe0be0ce (commit)
       via  4b8e618c36fae9231601b9012fc18c5c2ee43a90 (commit)
       via  189495ad597e9b5b167bd47a1ef2b25393e39692 (commit)
       via  f14965fac774465c0179f5e318c9df3df9b6a05d (commit)
       via  a774873482ade7b9dd0f9a607c97b848b77fb6f2 (commit)
       via  2b2c23bf8e997735dbf6c493b168ee3a3ff52be5 (commit)
       via  dfa41e508c0185d8b933b5d1af0aa5f473a10f3c (commit)
       via  8b4d5991f9d5691b9fa2898d6f60eef8dbfdf987 (commit)
       via  823ef13277f4c5fe6711dc320bf9cd2f76492c2e (commit)
       via  8cd68a569df236ff8e150a556cd8cd69169b113f (commit)
       via  387376e59b6624703117b2ffc296211712aaf970 (commit)
       via  c33eb3191d36b7e39023db0c0f1790a1bad2c4f0 (commit)
       via  922e79bea1cb6d4df7cf1db48c4b73ebac03b64e (commit)
       via  ca19a29fa8cf99f87c074a68db25fafde35ec917 (commit)
       via  7e9156ae4a449a9a762561ef611d971d9bb763e1 (commit)
       via  e47a4660df55a7f45bcd3df5d4c041e13f194ac7 (commit)
       via  b7a664f09052ac048e506bed9bb48b54bc2a9bd4 (commit)
       via  b3fe30840e96e7fa77de047fae2488d703a49d89 (commit)
       via  2d0872f936df8c357bbbf9ec2aa8e35cccb2c5bd (commit)
       via  0dea965e36e7ac52a789e31b45fc70f1925c4190 (commit)
       via  bbacca53ce2e9eabe3c8e02cee8d3650864bd3f1 (commit)
       via  cebc9af013fbe65d83cb4a60813e3d1871f7ca3a (commit)
       via  4e3263eaac83ede993110f1842c557c28be765e1 (commit)
       via  86ec536f01179ecc1bca0f32a4f41ad307b23c7e (commit)
       via  4afa501317cc04596377bcff8a7b2fccf7ab8d8d (commit)
      from  e1e05845b74ce70712e414830f992ce57d7a8453 (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 0d5be4fa36006459e1579f087b695904e4f32ee3
Author: Tom Clegg <tom at curoverse.com>
Date:   Mon Apr 10 13:07:07 2017 -0400

    7709: Fix ActiveRecord::ImmutableRelation.

diff --git a/services/api/app/controllers/application_controller.rb b/services/api/app/controllers/application_controller.rb
index 6ba334f..831bcce 100644
--- a/services/api/app/controllers/application_controller.rb
+++ b/services/api/app/controllers/application_controller.rb
@@ -83,7 +83,9 @@ class ApplicationController < ActionController::Base
   end
 
   def index
-    @objects.uniq!(&:id) if @select.nil? or @select.include? "id"
+    if @select.nil? || @select.include?("id")
+      @objects = @objects.uniq(&:id)
+    end
     if params[:eager] and params[:eager] != '0' and params[:eager] != 0 and params[:eager] != ''
       @objects.each(&:eager_load_associations)
     end

commit 77d9c05d89dabc9e9e9a15f46cd12c8ad61ed64e
Merge: e1e0584 909313b
Author: Tom Clegg <tom at curoverse.com>
Date:   Mon Apr 10 12:37:42 2017 -0400

    7709: Merge branch 'master' into 7709-api-rails4
    
    Conflicts:
    	services/api/app/controllers/arvados/v1/nodes_controller.rb
    	services/api/app/models/container_request.rb
    	services/api/db/structure.sql

diff --cc services/api/db/structure.sql
index 015db6f,e25a2a9..5c592a2
--- a/services/api/db/structure.sql
+++ b/services/api/db/structure.sql
@@@ -2744,5 -2754,6 +2752,8 @@@ INSERT INTO schema_migrations (version
  
  INSERT INTO schema_migrations (version) VALUES ('20170301225558');
  
 +INSERT INTO schema_migrations (version) VALUES ('20170319063406');
 +
+ INSERT INTO schema_migrations (version) VALUES ('20170328215436');
+ 
 -INSERT INTO schema_migrations (version) VALUES ('20170330012505');
++INSERT INTO schema_migrations (version) VALUES ('20170330012505');

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


hooks/post-receive
-- 




More information about the arvados-commits mailing list