[ARVADOS] updated: fcfc87e95a90cbf869d4a66b5e3e87663ad03fe5

git at public.curoverse.com git at public.curoverse.com
Fri Apr 4 10:55:53 EDT 2014


Summary of changes:
 .gitignore                                         |    7 +-
 apps/workbench/Gemfile                             |    3 +-
 apps/workbench/Gemfile.lock                        |    4 +
 apps/workbench/app/controllers/users_controller.rb |    2 +-
 apps/workbench/app/models/arvados_api_client.rb    |    2 +-
 .../config/initializers/arvados_api_client.rb      |    1 -
 .../{zz_load_config.rb => zza_load_config.rb}      |    3 +
 .../config/initializers/zzz_arvados_api_client.rb  |    8 +
 apps/workbench/test/integration/users_test.rb      |    8 +-
 doc/.gitignore                                     |    1 -
 doc/README.textile                                 |   21 ++-
 doc/Rakefile                                       |   31 ++-
 doc/api/permission-model.html.textile.liquid       |   20 ++-
 .../pipeline_templates/gatk-exome-fq-snp.json      |    9 +-
 doc/install/client.html.textile.liquid             |   14 ++
 .../getting_started/ssh-access.html.textile.liquid |   82 ++++----
 doc/user/index.html.textile.liquid                 |   24 +-
 doc/user/reference/api-tokens.html.textile.liquid  |   25 +--
 .../job-and-pipeline-reference.html.textile.liquid |   64 +++---
 doc/user/topics/keep.html.textile.liquid           |    8 +-
 ...nning-pipeline-command-line.html.textile.liquid |   42 ++--
 .../topics/tutorial-job-debug.html.textile.liquid  |   26 ++-
 doc/user/topics/tutorial-job1.html.textile.liquid  |  117 ++++++-----
 .../topics/tutorial-parallel.html.textile.liquid   |   10 +-
 .../running-external-program.html.textile.liquid   |   12 +-
 .../tutorial-firstscript.html.textile.liquid       |   38 ++--
 .../tutorials/tutorial-keep.html.textile.liquid    |   30 ++--
 .../tutorial-new-pipeline.html.textile.liquid      |   14 +-
 ...tutorial-pipeline-workbench.html.textile.liquid |   25 +--
 docker/.gitignore                                  |    2 +-
 docker/api/Dockerfile                              |    6 +-
 docker/api/production.rb.in                        |    2 +-
 docker/arvdock                                     |    4 +-
 docker/base/Dockerfile                             |   19 +-
 docker/build.sh                                    |   44 +----
 docker/{ => build_tools}/Makefile                  |   56 +++--
 docker/build_tools/build.rb                        |  221 ++++++++++++++++++++
 docker/{ => build_tools}/config.rb                 |   40 ++--
 docker/doc/Dockerfile                              |    3 +-
 docker/docker_build                                |   18 --
 docker/install_sdk.sh                              |   13 ++
 docker/workbench/Dockerfile                        |   15 +-
 sdk/cli/bin/crunch-job                             |  140 +++++--------
 sdk/perl/Makefile.PL                               |   10 +
 .../api/app/controllers/application_controller.rb  |   13 +-
 services/api/app/models/arvados_model.rb           |    9 +-
 services/api/app/models/user.rb                    |   16 ++-
 .../db/migrate/20140402001908_add_system_group.rb  |   18 ++
 services/api/db/schema.rb                          |    2 +-
 services/api/db/seeds.rb                           |   14 +-
 services/api/lib/current_api_client.rb             |   29 +++
 .../test/fixtures/api_client_authorizations.yml    |   12 +
 services/api/test/fixtures/groups.yml              |   11 +
 services/api/test/fixtures/links.yml               |   80 +++++++
 services/api/test/fixtures/specimens.yml           |   11 +
 services/api/test/fixtures/users.yml               |   20 ++
 .../arvados/v1/collections_controller_test.rb      |   22 ++
 .../functional/arvados/v1/jobs_controller_test.rb  |    3 +-
 .../functional/arvados/v1/users_controller_test.rb |   62 ++++--
 services/api/test/integration/permissions_test.rb  |  144 +++++++++----
 60 files changed, 1137 insertions(+), 573 deletions(-)
 delete mode 100644 apps/workbench/config/initializers/arvados_api_client.rb
 rename apps/workbench/config/initializers/{zz_load_config.rb => zza_load_config.rb} (90%)
 create mode 100644 apps/workbench/config/initializers/zzz_arvados_api_client.rb
 delete mode 100644 doc/.gitignore
 mode change 100644 => 100755 docker/build.sh
 rename docker/{ => build_tools}/Makefile (79%)
 create mode 100755 docker/build_tools/build.rb
 rename docker/{ => build_tools}/config.rb (72%)
 delete mode 100755 docker/docker_build
 create mode 100755 docker/install_sdk.sh
 create mode 100644 sdk/perl/Makefile.PL
 create mode 100644 services/api/db/migrate/20140402001908_add_system_group.rb
 create mode 100644 services/api/test/fixtures/specimens.yml

       via  fcfc87e95a90cbf869d4a66b5e3e87663ad03fe5 (commit)
       via  2802e403b8f07c023fae024fcac90a1272bbd4fe (commit)
       via  2c7e73fafb98fff4f9d061074d6b58d668d5c1dc (commit)
       via  771a7b4e46f0f8369feea88570c944794978563f (commit)
       via  39717c4347c00ee0697942d60a50000bfc89fe3c (commit)
       via  6d73acc845a2dd7413fdde0742473d83bf3d0719 (commit)
       via  80b7ca3bd2bde86272e4de5524f09701b85d6456 (commit)
       via  3854a47d632dde711f57c047e80ca84b0b786815 (commit)
       via  b1b9ffbb5e49d04c058d11702ecd240b1ef8a958 (commit)
       via  bb511c0b9c011610d38dc10f6312a6b83720aa42 (commit)
       via  385b439532e90ccd2429941574d8b44029a6ea54 (commit)
       via  a20025f9ce967ae845e3c675d764d4d1ce4f4f2c (commit)
       via  9454df6ea65e3afa9586cabea34abc42c328bd65 (commit)
       via  cab9d1a8bd750638efbff292093624bf5bdb8767 (commit)
       via  d12e6551586651ee5251f70fac1b1c086674a835 (commit)
       via  47d1fdfe8a1d7c4275f9b97f7ddf932e6671f0af (commit)
       via  7449c28473b6a5f47148ee5ce321fa994db883cb (commit)
       via  d7d1117bbd5e2441a93c6563ba628debac82741a (commit)
       via  3acd32f8a766269e0d7841000eb58e6d8364fcc9 (commit)
       via  5a19b986fd10f0584b33eb5953e72bd373e487d2 (commit)
       via  d06f12a2866e92737f27a05a7782d67106edd2cf (commit)
       via  05d6c99e5b40c7e0792c44a7c2d9af5b91164f9b (commit)
       via  6b55fdd2cb5e1d6c43dd6df9c7af16a2da324f26 (commit)
       via  13b092de0b24b586fe2c8adf8cb0fb4eb3b62d4b (commit)
       via  091af67c8481567a9e6724df0a77b3fae13ee1ad (commit)
       via  9c7fa026f56632db13c7afaa3db31899f824d7c8 (commit)
       via  73dcec308547f3ae2170ea0907b27f1ebe02439b (commit)
       via  896b812c4d11b960f64cc443bc3af8061d98dd47 (commit)
       via  069df612230d821160fd1d4453c742d1ba2cce9e (commit)
       via  d8d47e5f8c4666e44733d8729665e1af64e82049 (commit)
       via  fe2eda8cd9e167b3519eb21c276bd8ee44a3b7d9 (commit)
       via  3cc99771ce18ed7669294b3cac0fef3773a9162c (commit)
       via  4cd8b568c98baea57cca7a1921c9457718c0b335 (commit)
       via  23d2f0ee32c146061a6212006afef3c519f58d7d (commit)
       via  e0cdfbacae4dfc256d483d8055b5aabb581bb964 (commit)
       via  fc28c638a1917bb1156cf6082947be2302843dd8 (commit)
       via  3f7da17f62967a5a2717e5a102aa1e3070f679c9 (commit)
       via  6440d5e8b701fb8f1d2c335924b6568389adab19 (commit)
       via  6893889064303b551111de3e3fbc49741c294713 (commit)
       via  c67b7cfdb650039ef403d16bcd619f2c7dbe9fd6 (commit)
       via  cd5c3d352b5baa2e0faf9a34af5b6144cb2aeff8 (commit)
       via  d042ae6b63ca96aa3fd7106de31bca2dc89105e8 (commit)
       via  fa71dfeaa60db30385fed3f92f12e5a1e18e1804 (commit)
       via  01e105fdeeaec55b18e3ec77612378a554f3f659 (commit)
       via  b0542ec0dd2bb6fbf040d1c7d719e7fa4d82d58a (commit)
       via  bdc87ddb113a2e05dd859a7f68f5fe1135bbc650 (commit)
       via  6566142db3e00a866559402a10991c2ded1e74b8 (commit)
       via  a97c22ce97e867813d27dbace041de166bb26c09 (commit)
       via  7023263e319cbd93365f7104c866aba4886616da (commit)
       via  d2027b0323287c57131e3c064a78d77830fa1dcb (commit)
       via  b268423c81bddfb3e0a6de14a404b4e8efc97977 (commit)
       via  935dec2c33e2ab45bc97146305e5937bab116d18 (commit)
       via  28ed7a8f36a671b8c9e629ad923c904eecf08ac4 (commit)
       via  960a09a85db9fb7f38b8c4e1c93cf27a1d186d90 (commit)
       via  24a0882b04f95ee44fddcc94fab541486700a0dc (commit)
       via  33507442d1b24551985199ef453641f2c65a66e3 (commit)
       via  9c5dc2759edaa0f3c7bde4aa086971ffa54cbb42 (commit)
       via  71f1843d04d596d7912bfa068f64717e5347afc5 (commit)
       via  7ff586c2f32f7cd652381ccb7211691cbe66e3a4 (commit)
       via  4a389d125083663b5b58a3f4ab3d24a842962840 (commit)
       via  ec4d769ca8aa94d3406ece303afc3c6fd4f6c9b3 (commit)
       via  9c1787c9c626b3d9ca24463410d7bc7d963584d4 (commit)
       via  180890198f08267989ab33ad55776999ed66d273 (commit)
       via  075688b8e7bea4ae33b9c949d8e8f8733ec9c6db (commit)
       via  91cdce018ef0906d43452c1b0079c110e7babb60 (commit)
       via  31c82149c41a5c2c1377b617bfedc0dfbb08faf4 (commit)
       via  d5a749082fab8cb70a814ab9329cf5b8f9e36bb7 (commit)
       via  dbbf7f7e313392314139bbdb66a50b740b26d532 (commit)
       via  1956ba70cdf1a367a61c8a8a5428db52fa02fc7c (commit)
       via  477b2aa7dcbf5cd4e1f1a56d2275cc3ded5ad023 (commit)
       via  4ac093dfacb82c270ef2536822ee4ab07715c88e (commit)
       via  4545c9039616be21017862a78f60b2b02540b613 (commit)
       via  d6f1334e74ce51269ee3d7f462b2ec17dc8ca3f8 (commit)
       via  5abb716e9209f26b29ba883feeaa8ded8f046aaf (commit)
       via  660e8d8345bfe7f34dfc8db655eff6a0af8bd47f (commit)
       via  ed65efe8ac537694369f46fb5130e4f3d47183d3 (commit)
       via  8a274345e3279b561d17d546d4f3581862811125 (commit)
       via  cf8b27749cf44aee74914622dc8bc2a9690204dc (commit)
       via  3690225e29161191cc5daabe4a335a0ec5737d3d (commit)
       via  e3c95c76496fe399ef145990114eb83918e10dac (commit)
       via  39cb61dfbcbeca5ff2d79ea9e9329beb6a4e489a (commit)
       via  76f9268395068d47fda7f34426bc83d603c834c7 (commit)
       via  ced5e21f292fd8afa2cf2dc3345eb8a1c714d9cf (commit)
       via  c26e7fdbccc106aafb30603ff71ffc529ecf78c0 (commit)
       via  189fee6586b290a78cdc1b3a3b9845efe0cf7499 (commit)
       via  041a71c199e15f89b5adf4a5b5058b5ccbb171ee (commit)
       via  ef35b37af2b60cce2b5d7668874ba4cabaf4482e (commit)
       via  0b38582960918090082c2f52d74e9dfe4f8c478e (commit)
       via  5fbb2a9454e18443b2d6e55c7ae811aca3876714 (commit)
       via  428359fce0a1b8f9b922236cb55937ec6339a275 (commit)
       via  c8060b94c485d5bf0e500d2321793cd56db4c856 (commit)
       via  c7ee682e45f191903e5f82b0b5104aa236cfe2e0 (commit)
       via  3bd6252a86bc5fc8697c9d4accb12ff3d43ca021 (commit)
       via  57b36a0ec32ba48689089bce6b8c449da2e57c40 (commit)
       via  93dea89cdc20082b6f22593279f6f6d11b9e6e52 (commit)
       via  e7b601c25f6ac88e7adaf219f296c448d29c3904 (commit)
       via  12af96fba8ef1c218cb3cfb04c41c5507b394717 (commit)
       via  6263b4bdab2869ffc52c49ab283dd39c93f25a32 (commit)
       via  d20f1211b3766e1703aa337462aecfabf5a5c908 (commit)
       via  7a86103d2b5d03eefc8f1063e17929abbfb9005e (commit)
       via  7a669da106bd775adffb69ffbfda639509e62e3f (commit)
       via  7898f77240327d8858e37955e47cb3f14c0f083c (commit)
       via  396df0e121349eeb9793fa87d916bbe69e934abf (commit)
       via  e46640c01c65600cbf620cec62a51b0c65cea4ae (commit)
       via  5aaa5c31fd5d9e00d367cbfc2792fe2335c698b4 (commit)
       via  d8f89cee7bbac961f15309442dfed4292cb00d2c (commit)
       via  4f72ea0df20682c92525d6370b7198371fc75f91 (commit)
       via  edd7d3d2958c4d57327961e380075341fd87086a (commit)
       via  02586026a32a3913d02986ddd9469247b504d713 (commit)
       via  4151af1d89da4c3f3fff3fb6732c0249d93dcda9 (commit)
       via  3d2c9602f0309c1b25a434c053561c0c98dafbce (commit)
      from  203958b587d05ba1be437a70609a80b35f79368d (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 fcfc87e95a90cbf869d4a66b5e3e87663ad03fe5
Merge: 2802e40 2c7e73f
Author: radhika chippada <radhika at radhika.curoverse>
Date:   Fri Apr 4 10:47:05 2014 -0400

    Merge branch 'master' into 2272-setup-user-in-workbench


commit 2802e403b8f07c023fae024fcac90a1272bbd4fe
Author: radhika chippada <radhika at radhika.curoverse>
Date:   Fri Apr 4 10:45:14 2014 -0400

    Use webkit driver for Capybara instead of selenium for tests that need dialog handling.

diff --git a/apps/workbench/Gemfile b/apps/workbench/Gemfile
index b273d91..1e43d1c 100644
--- a/apps/workbench/Gemfile
+++ b/apps/workbench/Gemfile
@@ -28,6 +28,7 @@ group :test do
   gem 'selenium-webdriver'
   gem 'capybara'
   gem 'poltergeist'
+  gem 'capybara-webkit'
 end
 
 gem 'jquery-rails'
@@ -59,4 +60,4 @@ gem 'RedCloth'
 gem 'piwik_analytics'
 gem 'httpclient'
 gem 'themes_for_rails'
-gem "deep_merge", :require => 'deep_merge/rails_compat'
\ No newline at end of file
+gem "deep_merge", :require => 'deep_merge/rails_compat'
diff --git a/apps/workbench/Gemfile.lock b/apps/workbench/Gemfile.lock
index 0c65ca8..0795f75 100644
--- a/apps/workbench/Gemfile.lock
+++ b/apps/workbench/Gemfile.lock
@@ -48,6 +48,9 @@ GEM
       rack (>= 1.0.0)
       rack-test (>= 0.5.4)
       xpath (~> 2.0)
+    capybara-webkit (1.1.0)
+      capybara (~> 2.0, >= 2.0.2)
+      json
     childprocess (0.5.1)
       ffi (~> 1.0, >= 1.0.11)
     cliver (0.3.2)
@@ -182,6 +185,7 @@ DEPENDENCIES
   bootstrap-sass (~> 3.1.0)
   bootstrap-x-editable-rails
   capybara
+  capybara-webkit
   coffee-rails (~> 3.2.0)
   deep_merge
   httpclient
diff --git a/apps/workbench/test/integration/users_test.rb b/apps/workbench/test/integration/users_test.rb
index 7555e3a..2472ec8 100644
--- a/apps/workbench/test/integration/users_test.rb
+++ b/apps/workbench/test/integration/users_test.rb
@@ -1,5 +1,4 @@
 require 'integration_helper'
-require "selenium-webdriver"
 
 class UsersTest < ActionDispatch::IntegrationTest
   test "login as active user but not admin" do
@@ -39,7 +38,7 @@ class UsersTest < ActionDispatch::IntegrationTest
   end
 
   test "create a new user" do
-    Capybara.current_driver = :selenium
+    Capybara.current_driver = :webkit
     visit page_with_token('admin_trustedclient')
 
     click_link 'Users'
@@ -81,7 +80,7 @@ class UsersTest < ActionDispatch::IntegrationTest
   end
 
   test "setup the active user" do
-    Capybara.current_driver = :selenium
+    Capybara.current_driver = :webkit
     visit page_with_token('admin_trustedclient')
 
     click_link 'Users'
@@ -133,7 +132,7 @@ class UsersTest < ActionDispatch::IntegrationTest
   end
 
   test "unsetup active user" do
-    Capybara.current_driver = :selenium
+    Capybara.current_driver = :webkit
 
     visit page_with_token('admin_trustedclient')
 
@@ -158,7 +157,6 @@ class UsersTest < ActionDispatch::IntegrationTest
     # unsetup user and verify all the above links are deleted
     click_link 'Admin'
     click_button 'Deactivate Active User'
-    page.driver.browser.switch_to.alert.accept
     sleep(0.1)
 
     # Should now be back in the Attributes tab for the user

commit 771a7b4e46f0f8369feea88570c944794978563f
Merge: 203958b 39717c4
Author: radhika chippada <radhika at radhika.curoverse>
Date:   Thu Apr 3 22:44:18 2014 -0400

    Merge branch 'master' into 2272-setup-user-in-workbench


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


hooks/post-receive
-- 




More information about the arvados-commits mailing list