[ARVADOS] updated: 51e6edf73c9dff7faa6fa4bcadc850b8cdcfea11
git at public.curoverse.com
git at public.curoverse.com
Thu Aug 14 14:19:44 EDT 2014
Summary of changes:
.../arvados/v1/collections_controller.rb | 40 +-----
services/api/app/models/arvados_model.rb | 5 +-
services/api/app/models/collection.rb | 7 +-
services/api/app/models/link.rb | 16 +--
services/api/test/fixtures/collections.yml | 77 ++++++++--
services/api/test/fixtures/links.yml | 158 +++------------------
6 files changed, 100 insertions(+), 203 deletions(-)
via 51e6edf73c9dff7faa6fa4bcadc850b8cdcfea11 (commit)
via 6d2599783e2c1bdd94cba48857b51df031396527 (commit)
via 61b31deac802a32e39953780fb5d2daeaf9c7fde (commit)
from 26a7558c41a528f977932cf6738c62cfc4edfa6a (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 51e6edf73c9dff7faa6fa4bcadc850b8cdcfea11
Author: Peter Amstutz <peter.amstutz at curoverse.com>
Date: Thu Aug 14 14:19:40 2014 -0400
3036: Removed special case uuid_like_pattern. Removed special case in
resource_class_for_uuid. Removed special cases for "name" links.
diff --git a/services/api/app/models/arvados_model.rb b/services/api/app/models/arvados_model.rb
index 1247e36..f853565 100644
--- a/services/api/app/models/arvados_model.rb
+++ b/services/api/app/models/arvados_model.rb
@@ -396,7 +396,7 @@ class ArvadosModel < ActiveRecord::Base
end
def ensure_valid_uuids
- specials = [system_user_uuid, 'd41d8cd98f00b204e9800998ecf8427e+0']
+ specials = [system_user_uuid]
foreign_key_attributes.each do |attr|
if new_record? or send (attr + "_changed?")
@@ -442,9 +442,6 @@ class ArvadosModel < ActiveRecord::Base
unless uuid.is_a? String
return nil
end
- if uuid.match /^[0-9a-f]{32}(\+[^,]+)*(,[0-9a-f]{32}(\+[^,]+)*)*$/
- return Collection
- end
resource_class = nil
Rails.application.eager_load!
diff --git a/services/api/app/models/collection.rb b/services/api/app/models/collection.rb
index 41f25b0..c05cac5 100644
--- a/services/api/app/models/collection.rb
+++ b/services/api/app/models/collection.rb
@@ -6,6 +6,9 @@ class Collection < ArvadosModel
api_accessible :user, extend: :common do |t|
t.add :data_size
t.add :files
+ t.add :name
+ t.add :description
+ t.add :properties
end
api_accessible :with_data, extend: :user do |t|
@@ -98,10 +101,6 @@ class Collection < ArvadosModel
end
end
- def self.uuid_like_pattern
- "________________________________+%"
- end
-
def self.normalize_uuid uuid
hash_part = nil
size_part = nil
diff --git a/services/api/app/models/link.rb b/services/api/app/models/link.rb
index 3058081..e319190 100644
--- a/services/api/app/models/link.rb
+++ b/services/api/app/models/link.rb
@@ -9,8 +9,7 @@ class Link < ArvadosModel
after_create :maybe_invalidate_permissions_cache
after_destroy :maybe_invalidate_permissions_cache
attr_accessor :head_kind, :tail_kind
- validate :name_link_has_valid_name
- validate :name_link_owner_is_tail
+ validate :name_links_are_obsolete
api_accessible :user, extend: :common do |t|
t.add :tail_uuid
@@ -71,23 +70,14 @@ class Link < ArvadosModel
end
end
- def name_link_has_valid_name
+ def name_links_are_obsolete
if link_class == 'name'
- unless name.is_a? String and !name.empty?
- errors.add('name', 'must be a non-empty string')
- end
+ errors.add('name', 'Name links are obsolete')
else
true
end
end
- def name_link_owner_is_tail
- if link_class == 'name'
- self.owner_uuid = tail_uuid
- ensure_owner_uuid_is_permitted
- end
- end
-
# A user is permitted to create, update or modify a permission link
# if and only if they have "manage" permission on the destination
# object.
commit 6d2599783e2c1bdd94cba48857b51df031396527
Author: Peter Amstutz <peter.amstutz at curoverse.com>
Date: Thu Aug 14 14:18:42 2014 -0400
3036: Removed "add can_read link after creating collection record" logic.
diff --git a/services/api/app/controllers/arvados/v1/collections_controller.rb b/services/api/app/controllers/arvados/v1/collections_controller.rb
index a0c64aa..48002d7 100644
--- a/services/api/app/controllers/arvados/v1/collections_controller.rb
+++ b/services/api/app/controllers/arvados/v1/collections_controller.rb
@@ -57,36 +57,8 @@ class Arvados::V1::CollectionsController < ApplicationController
}
# Save the collection with the stripped manifest.
- act_as_system_user do
- @object = model_class.new resource_attrs.reject { |k,v| k == :owner_uuid }
- begin
- @object.save!
- rescue ActiveRecord::RecordNotUnique
- logger.debug resource_attrs.inspect
- if @object.manifest_text and @object.uuid
- @existing_object = model_class.
- where('uuid=? and manifest_text=?',
- @object.uuid,
- @object.manifest_text).
- first
- @object = @existing_object || @object
- end
- end
- if @object
- link_attrs = {
- owner_uuid: owner_uuid,
- link_class: 'permission',
- name: 'can_read',
- head_uuid: @object.uuid,
- tail_uuid: owner_uuid
- }
- ActiveRecord::Base.transaction do
- if Link.where(link_attrs).empty?
- Link.create! link_attrs
- end
- end
- end
- end
+ @object = model_class.new resource_attrs
+ @object.save!
show
end
@@ -149,7 +121,7 @@ class Arvados::V1::CollectionsController < ApplicationController
logger.debug "visiting #{uuid}"
- if m
+ if m
# uuid is a collection
Collection.readable_by(current_user).where(uuid: uuid).each do |c|
visited[uuid] = c.as_api_response
@@ -166,7 +138,7 @@ class Arvados::V1::CollectionsController < ApplicationController
Job.readable_by(current_user).where(log: uuid).each do |job|
generate_provenance_edges(visited, job.uuid)
end
-
+
else
# uuid is something else
rsc = ArvadosModel::resource_class_for_uuid uuid
@@ -208,7 +180,7 @@ class Arvados::V1::CollectionsController < ApplicationController
logger.debug "visiting #{uuid}"
- if m
+ if m
# uuid is a collection
Collection.readable_by(current_user).where(uuid: uuid).each do |c|
visited[uuid] = c.as_api_response
@@ -226,7 +198,7 @@ class Arvados::V1::CollectionsController < ApplicationController
Job.readable_by(current_user).where(["jobs.script_parameters like ?", "%#{uuid}%"]).each do |job|
generate_used_by_edges(visited, job.uuid)
end
-
+
else
# uuid is something else
rsc = ArvadosModel::resource_class_for_uuid uuid
commit 61b31deac802a32e39953780fb5d2daeaf9c7fde
Author: Peter Amstutz <peter.amstutz at curoverse.com>
Date: Thu Aug 14 14:16:01 2014 -0400
3036: Manually migrated collections and name links on test fixtures.
diff --git a/services/api/test/fixtures/collections.yml b/services/api/test/fixtures/collections.yml
index fbd150c..2421ab0 100644
--- a/services/api/test/fixtures/collections.yml
+++ b/services/api/test/fixtures/collections.yml
@@ -1,5 +1,6 @@
user_agreement:
- uuid: b519d9cb706a29fc7ea24dbea2f05851+249025
+ uuid: 4n8aq-4zz18-t68oksiu9m80s4y
+ portable_data_hash: b519d9cb706a29fc7ea24dbea2f05851+249025
owner_uuid: zzzzz-tpzed-000000000000000
created_at: 2013-12-26T19:22:54Z
modified_by_client_uuid: zzzzz-ozdt8-brczlopd8u8d0jr
@@ -7,9 +8,11 @@ user_agreement:
modified_at: 2013-12-26T19:22:54Z
updated_at: 2013-12-26T19:22:54Z
manifest_text: ". 6a4ff0499484c6c79c95cd8c566bd25f+249025 0:249025:GNU_General_Public_License,_version_3.pdf\n"
+ name: user_agreement
foo_file:
- uuid: 1f4b0bc7583c2a7f9102c395f4ffc5e3+45
+ uuid: 4n8aq-4zz18-znfnqtbbv4spc3w
+ portable_data_hash: 1f4b0bc7583c2a7f9102c395f4ffc5e3+45
owner_uuid: zzzzz-tpzed-000000000000000
created_at: 2014-02-03T17:22:54Z
modified_by_client_uuid: zzzzz-ozdt8-brczlopd8u8d0jr
@@ -17,9 +20,11 @@ foo_file:
modified_at: 2014-02-03T17:22:54Z
updated_at: 2014-02-03T17:22:54Z
manifest_text: ". acbd18db4cc2f85cedef654fccc4a4d8+3 0:3:foo\n"
-
+ name: foo_file
+z
bar_file:
- uuid: fa7aeb5140e2848d39b416daeef4ffc5+45
+ uuid: 4n8aq-4zz18-ehbhgtheo8909or
+ portable_data_hash: fa7aeb5140e2848d39b416daeef4ffc5+45
owner_uuid: zzzzz-tpzed-000000000000000
created_at: 2014-02-03T17:22:54Z
modified_by_client_uuid: zzzzz-ozdt8-brczlopd8u8d0jr
@@ -27,9 +32,11 @@ bar_file:
modified_at: 2014-02-03T17:22:54Z
updated_at: 2014-02-03T17:22:54Z
manifest_text: ". 37b51d194a7513e45b56f6524f2d51f2+3 0:3:bar\n"
+ name: bar_file
baz_file:
- uuid: ea10d51bcf88862dbcc36eb292017dfd+45
+ uuid: 4n8aq-4zz18-y9vne9npefyxh8g
+ portable_data_hash: ea10d51bcf88862dbcc36eb292017dfd+45
owner_uuid: zzzzz-tpzed-000000000000000
created_at: 2014-02-03T17:22:54Z
modified_by_client_uuid: zzzzz-ozdt8-brczlopd8u8d0jr
@@ -37,9 +44,11 @@ baz_file:
modified_at: 2014-02-03T17:22:54Z
updated_at: 2014-02-03T17:22:54Z
manifest_text: ". 73feffa4b7f6bb68e44cf984c85f6e88+3 0:3:baz\n"
+ name: baz_file
multilevel_collection_1:
- uuid: 1fd08fc162a5c6413070a8bd0bffc818+150
+ uuid: 4n8aq-4zz18-pyw8yp9g3pr7irn
+ portable_data_hash: 1fd08fc162a5c6413070a8bd0bffc818+150
owner_uuid: qr1hi-tpzed-000000000000000
created_at: 2014-02-03T17:22:54Z
modified_by_client_uuid: zzzzz-ozdt8-brczlopd8u8d0jr
@@ -47,10 +56,12 @@ multilevel_collection_1:
modified_at: 2014-02-03T17:22:54Z
updated_at: 2014-02-03T17:22:54Z
manifest_text: ". 0:0:file1 0:0:file2 0:0:file3\n./dir1 0:0:file1 0:0:file2 0:0:file3\n./dir1/subdir 0:0:file1 0:0:file2 0:0:file3\n./dir2 0:0:file1 0:0:file2 0:0:file3\n"
+ name: multilevel_collection_1
multilevel_collection_2:
+ uuid: 4n8aq-4zz18-45xf9hw1sxkhl6q
# All of this collection's files are deep in subdirectories.
- uuid: 80cf6dd2cf079dd13f272ec4245cb4a8+48
+ portable_data_hash: 80cf6dd2cf079dd13f272ec4245cb4a8+48
owner_uuid: qr1hi-tpzed-000000000000000
created_at: 2014-02-03T17:22:54Z
modified_by_client_uuid: zzzzz-ozdt8-brczlopd8u8d0jr
@@ -58,10 +69,12 @@ multilevel_collection_2:
modified_at: 2014-02-03T17:22:54Z
updated_at: 2014-02-03T17:22:54Z
manifest_text: "./dir1/sub1 0:0:a 0:0:b\n./dir2/sub2 0:0:c 0:0:d\n"
+ name: multilevel_collection_2
docker_image:
+ uuid: 4n8aq-4zz18-1v45jub259sjjgb
# This Collection has links with Docker image metadata.
- uuid: fa3c1a9cb6783f85f2ecda037e07b8c3+167
+ portable_data_hash: fa3c1a9cb6783f85f2ecda037e07b8c3+167
owner_uuid: qr1hi-tpzed-000000000000000
created_at: 2014-06-11T17:22:54Z
modified_by_client_uuid: zzzzz-ozdt8-brczlopd8u8d0jr
@@ -69,11 +82,13 @@ docker_image:
modified_at: 2014-06-11T17:22:54Z
updated_at: 2014-06-11T17:22:54Z
manifest_text: ". d21353cfe035e3e384563ee55eadbb2f+67108864 5c77a43e329b9838cbec18ff42790e57+55605760 0:122714624:d8309758b8fe2c81034ffc8a10c36460b77db7bc5e7b448c4e5b684f9d95a678.tar\n"
+ name: docker_image
unlinked_docker_image:
+ uuid: 4n8aq-4zz18-d0d8z5wofvfgwad
# This Collection contains a file that looks like a Docker image,
# but has no Docker metadata links pointing to it.
- uuid: 9ae44d5792468c58bcf85ce7353c7027+124
+ portable_data_hash: 9ae44d5792468c58bcf85ce7353c7027+124
owner_uuid: qr1hi-tpzed-000000000000000
created_at: 2014-06-11T17:22:54Z
modified_by_client_uuid: zzzzz-ozdt8-brczlopd8u8d0jr
@@ -81,10 +96,12 @@ unlinked_docker_image:
modified_at: 2014-06-11T17:22:54Z
updated_at: 2014-06-11T17:22:54Z
manifest_text: ". fca529cfe035e3e384563ee55eadbb2f+67108863 0:67108863:bcd02158b8fe2c81034ffc8a10c36460b77db7bc5e7b448c4e5b684f9d95a678.tar\n"
+ name: unlinked_docker_image
empty:
+ uuid: 4n8aq-4zz18-gs9ooj1h9sd5mde
# Empty collection owned by anonymous_group is added with rake db:seed.
- uuid: d41d8cd98f00b204e9800998ecf8427e+0
+ portable_data_hash: d41d8cd98f00b204e9800998ecf8427e+0
owner_uuid: zzzzz-tpzed-000000000000000
created_at: 2014-06-11T17:22:54Z
modified_by_client_uuid: zzzzz-ozdt8-brczlopd8u8d0jr
@@ -92,3 +109,43 @@ empty:
modified_at: 2014-06-11T17:22:54Z
updated_at: 2014-06-11T17:22:54Z
manifest_text: ""
+ name: empty_collection
+
+foo_collection_in_aproject:
+ uuid: 4n8aq-4zz18-fy296fx3hot09f7
+ portable_data_hash: 1f4b0bc7583c2a7f9102c395f4ffc5e3+45
+ owner_uuid: zzzzz-j7d0g-v955i6s2oi1cbso
+ created_at: 2014-04-21 15:37:48 -0400
+ modified_at: 2014-04-21 15:37:48 -0400
+ updated_at: 2014-04-21 15:37:48 -0400
+ manifest_text: ". acbd18db4cc2f85cedef654fccc4a4d8+3 0:3:foo\n"
+ name: "4n8aq-4zz18-znfnqtbbv4spc3w added sometime"
+
+user_agreement_in_anonymously_accessible_project:
+ uuid: 4n8aq-4zz18-uukreo9rbgwsujr
+ portable_data_hash: b519d9cb706a29fc7ea24dbea2f05851+249025
+ owner_uuid: zzzzz-j7d0g-zhxawtyetzwc5f0
+ created_at: 2014-06-13 20:42:26 -0800
+ modified_at: 2014-06-13 20:42:26 -0800
+ updated_at: 2014-06-13 20:42:26 -0800
+ manifest_text: ". 6a4ff0499484c6c79c95cd8c566bd25f+249025 0:249025:GNU_General_Public_License,_version_3.pdf\n"
+ name: GNU General Public License, version 3
+
+baz_collection_name_in_asubproject:
+ uuid: 4n8aq-4zz18-lsitwcf548ui4oe
+ portable_data_hash: ea10d51bcf88862dbcc36eb292017dfd+45
+ owner_uuid: zzzzz-j7d0g-axqo7eu9pwvna1x
+ created_at: 2014-04-21 15:37:48 -0400
+ modified_at: 2014-04-21 15:37:48 -0400
+ updated_at: 2014-04-21 15:37:48 -0400
+ manifest_text: ". 73feffa4b7f6bb68e44cf984c85f6e88+3 0:3:baz\n"
+ name: "4n8aq-4zz18-lsitwcf548ui4oe added sometime"
+
+empty_collection_name_in_active_user_home_project:
+ uuid: 4n8aq-4zz18-5qa38qghh1j3nvv
+ portable_data_hash: d41d8cd98f00b204e9800998ecf8427e+0
+ owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz
+ created_at: 2014-08-06 22:11:51.242392533 Z
+ modified_at: 2014-08-06 22:11:51.242150425 Z
+ manifest_text: ""
+ name: Empty collection
diff --git a/services/api/test/fixtures/links.yml b/services/api/test/fixtures/links.yml
index 4125757..86eef00 100644
--- a/services/api/test/fixtures/links.yml
+++ b/services/api/test/fixtures/links.yml
@@ -9,7 +9,7 @@ user_agreement_required:
tail_uuid: zzzzz-tpzed-000000000000000
link_class: signature
name: require
- head_uuid: b519d9cb706a29fc7ea24dbea2f05851+249025
+ head_uuid: 4n8aq-4zz18-t68oksiu9m80s4y
properties: {}
user_agreement_readable:
@@ -23,7 +23,7 @@ user_agreement_readable:
tail_uuid: zzzzz-j7d0g-fffffffffffffff
link_class: permission
name: can_read
- head_uuid: b519d9cb706a29fc7ea24dbea2f05851+249025
+ head_uuid: 4n8aq-4zz18-t68oksiu9m80s4y
properties: {}
active_user_member_of_all_users_group:
@@ -65,7 +65,7 @@ user_agreement_signed_by_active:
tail_uuid: zzzzz-tpzed-xurymjxw79nv3jz
link_class: signature
name: click
- head_uuid: b519d9cb706a29fc7ea24dbea2f05851+249025
+ head_uuid: 4n8aq-4zz18-t68oksiu9m80s4y
properties: {}
user_agreement_signed_by_inactive:
@@ -79,7 +79,7 @@ user_agreement_signed_by_inactive:
tail_uuid: zzzzz-tpzed-7sg468ezxwnodxs
link_class: signature
name: click
- head_uuid: b519d9cb706a29fc7ea24dbea2f05851+249025
+ head_uuid: 4n8aq-4zz18-t68oksiu9m80s4y
properties: {}
spectator_user_member_of_all_users_group:
@@ -135,7 +135,7 @@ foo_file_readable_by_active:
tail_uuid: zzzzz-tpzed-xurymjxw79nv3jz
link_class: permission
name: can_read
- head_uuid: 1f4b0bc7583c2a7f9102c395f4ffc5e3+45
+ head_uuid: 4n8aq-4zz18-znfnqtbbv4spc3w
properties: {}
foo_file_readable_by_active_duplicate_permission:
@@ -149,7 +149,7 @@ foo_file_readable_by_active_duplicate_permission:
tail_uuid: zzzzz-tpzed-xurymjxw79nv3jz
link_class: permission
name: can_read
- head_uuid: 1f4b0bc7583c2a7f9102c395f4ffc5e3+45
+ head_uuid: 4n8aq-4zz18-znfnqtbbv4spc3w
properties: {}
foo_file_readable_by_active_redundant_permission_via_private_group:
@@ -163,7 +163,7 @@ foo_file_readable_by_active_redundant_permission_via_private_group:
tail_uuid: zzzzz-j7d0g-22xp1wpjul508rk
link_class: permission
name: can_read
- head_uuid: 1f4b0bc7583c2a7f9102c395f4ffc5e3+45
+ head_uuid: 4n8aq-4zz18-znfnqtbbv4spc3w
properties: {}
foo_file_readable_by_aproject:
@@ -177,7 +177,7 @@ foo_file_readable_by_aproject:
tail_uuid: zzzzz-j7d0g-v955i6s2oi1cbso
link_class: permission
name: can_read
- head_uuid: 1f4b0bc7583c2a7f9102c395f4ffc5e3+45
+ head_uuid: 4n8aq-4zz18-znfnqtbbv4spc3w
properties: {}
bar_file_readable_by_active:
@@ -191,7 +191,7 @@ bar_file_readable_by_active:
tail_uuid: zzzzz-tpzed-xurymjxw79nv3jz
link_class: permission
name: can_read
- head_uuid: fa7aeb5140e2848d39b416daeef4ffc5+45
+ head_uuid: 4n8aq-4zz18-ehbhgtheo8909or
properties: {}
bar_file_readable_by_spectator:
@@ -205,7 +205,7 @@ bar_file_readable_by_spectator:
tail_uuid: zzzzz-tpzed-l1s2piq4t4mps8r
link_class: permission
name: can_read
- head_uuid: fa7aeb5140e2848d39b416daeef4ffc5+45
+ head_uuid: 4n8aq-4zz18-ehbhgtheo8909or
properties: {}
baz_file_publicly_readable:
@@ -219,7 +219,7 @@ baz_file_publicly_readable:
tail_uuid: zzzzz-j7d0g-fffffffffffffff
link_class: permission
name: can_read
- head_uuid: ea10d51bcf88862dbcc36eb292017dfd+45
+ head_uuid: 4n8aq-4zz18-y9vne9npefyxh8g
properties: {}
barbaz_job_readable_by_spectator:
@@ -349,64 +349,6 @@ project_viewer_can_read_project:
head_uuid: zzzzz-j7d0g-v955i6s2oi1cbso
properties: {}
-specimen_is_in_two_projects:
- uuid: zzzzz-o0j2j-ryhm1bn83ni03sn
- owner_uuid: zzzzz-j7d0g-axqo7eu9pwvna1x
- created_at: 2014-04-21 15:37:48 -0400
- modified_by_client_uuid: zzzzz-ozdt8-brczlopd8u8d0jr
- modified_by_user_uuid: zzzzz-tpzed-xurymjxw79nv3jz
- modified_at: 2014-04-21 15:37:48 -0400
- updated_at: 2014-04-21 15:37:48 -0400
- tail_uuid: zzzzz-j7d0g-axqo7eu9pwvna1x
- head_uuid: zzzzz-j58dm-5gid26432uujf79
- link_class: name
- name: "I'm in a subproject, too"
- properties: {}
-
-template_name_in_aproject:
- uuid: zzzzz-o0j2j-4kpwf3d6rwkeqhl
- owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz
- created_at: 2014-04-29 16:47:26 -0400
- modified_by_client_uuid: zzzzz-ozdt8-brczlopd8u8d0jr
- modified_by_user_uuid: zzzzz-tpzed-xurymjxw79nv3jz
- modified_at: 2014-04-29 16:47:26 -0400
- updated_at: 2014-04-29 16:47:26 -0400
- tail_uuid: zzzzz-j7d0g-v955i6s2oi1cbso
- head_uuid: zzzzz-p5p6p-aox0k0ofxrystgw
- link_class: name
- name: "I'm a template in a project"
- properties: {}
-
-job_name_in_aproject:
- uuid: zzzzz-o0j2j-1kt6dppqcxbl1yt
- owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz
- created_at: 2014-04-29 16:47:26 -0400
- modified_by_client_uuid: zzzzz-ozdt8-brczlopd8u8d0jr
- modified_by_user_uuid: zzzzz-tpzed-xurymjxw79nv3jz
- modified_at: 2014-04-29 16:47:26 -0400
- updated_at: 2014-04-29 16:47:26 -0400
- tail_uuid: zzzzz-j7d0g-v955i6s2oi1cbso
- head_uuid: zzzzz-8i9sb-pshmckwoma9plh7
- link_class: name
- name: "I'm a job in a project"
- properties: {}
-
-foo_collection_name_in_aproject:
- uuid: zzzzz-o0j2j-fooprojectname1
- owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz
- created_at: 2014-04-21 15:37:48 -0400
- modified_by_client_uuid: zzzzz-ozdt8-brczlopd8u8d0jr
- modified_by_user_uuid: zzzzz-tpzed-xurymjxw79nv3jz
- modified_at: 2014-04-21 15:37:48 -0400
- updated_at: 2014-04-21 15:37:48 -0400
- tail_uuid: zzzzz-j7d0g-v955i6s2oi1cbso
- head_uuid: 1f4b0bc7583c2a7f9102c395f4ffc5e3+45
- link_class: name
- # This should resemble the default name assigned when a
- # Collection is added to a Project.
- name: "1f4b0bc7583c2a7f9102c395f4ffc5e3+45 added sometime"
- properties: {}
-
foo_collection_tag:
uuid: zzzzz-o0j2j-eedahfaho8aphiv
owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz
@@ -416,7 +358,7 @@ foo_collection_tag:
modified_at: 2014-04-21 15:37:48 -0400
updated_at: 2014-04-21 15:37:48 -0400
tail_uuid: ~
- head_uuid: 1f4b0bc7583c2a7f9102c395f4ffc5e3+45
+ head_uuid: 4n8aq-4zz18-znfnqtbbv4spc3w
link_class: tag
name: foo_tag
properties: {}
@@ -446,7 +388,7 @@ multilevel_collection_1_readable_by_active:
tail_uuid: zzzzz-tpzed-xurymjxw79nv3jz
link_class: permission
name: can_read
- head_uuid: 1fd08fc162a5c6413070a8bd0bffc818+150
+ head_uuid: 4n8aq-4zz18-pyw8yp9g3pr7irn
properties: {}
has_symbol_keys_in_database_somehow:
@@ -500,20 +442,6 @@ anonymous_group_can_read_anonymously_accessible_project:
head_uuid: zzzzz-j7d0g-zhxawtyetzwc5f0
properties: {}
-user_agreement_in_anonymously_accessible_project:
- uuid: zzzzz-o0j2j-k0ukddp35mt6ok1
- owner_uuid: zzzzz-j7d0g-zhxawtyetzwc5f0
- created_at: 2014-06-13 20:42:26 -0800
- modified_by_client_uuid: zzzzz-ozdt8-brczlopd8u8d0jr
- modified_by_user_uuid: zzzzz-tpzed-d9tiejq69daie8f
- modified_at: 2014-06-13 20:42:26 -0800
- updated_at: 2014-06-13 20:42:26 -0800
- link_class: name
- name: GNU General Public License, version 3
- tail_uuid: zzzzz-j7d0g-zhxawtyetzwc5f0
- head_uuid: b519d9cb706a29fc7ea24dbea2f05851+249025
- properties: {}
-
user_agreement_readable_by_anonymously_accessible_project:
uuid: zzzzz-o0j2j-o5ds5gvhkztdc8h
owner_uuid: zzzzz-j7d0g-zhxawtyetzwc5f0
@@ -536,7 +464,7 @@ active_user_permission_to_docker_image_collection:
tail_uuid: zzzzz-tpzed-xurymjxw79nv3jz
link_class: permission
name: can_read
- head_uuid: fa3c1a9cb6783f85f2ecda037e07b8c3+167
+ head_uuid: 4n8aq-4zz18-1v45jub259sjjgb
properties: {}
active_user_permission_to_unlinked_docker_image_collection:
@@ -550,7 +478,7 @@ active_user_permission_to_unlinked_docker_image_collection:
tail_uuid: zzzzz-tpzed-xurymjxw79nv3jz
link_class: permission
name: can_read
- head_uuid: 9ae44d5792468c58bcf85ce7353c7027+124
+ head_uuid: 4n8aq-4zz18-d0d8z5wofvfgwad
properties: {}
docker_image_collection_hash:
@@ -564,7 +492,7 @@ docker_image_collection_hash:
link_class: docker_image_hash
name: d8309758b8fe2c81034ffc8a10c36460b77db7bc5e7b448c4e5b684f9d95a678
tail_uuid: ~
- head_uuid: fa3c1a9cb6783f85f2ecda037e07b8c3+167
+ head_uuid: 4n8aq-4zz18-1v45jub259sjjgb
properties:
image_timestamp: "2014-06-10T14:30:00.184019565Z"
@@ -579,7 +507,7 @@ docker_image_collection_repository:
link_class: docker_image_repository
name: arvados/apitestfixture
tail_uuid: ~
- head_uuid: fa3c1a9cb6783f85f2ecda037e07b8c3+167
+ head_uuid: 4n8aq-4zz18-1v45jub259sjjgb
properties:
image_timestamp: "2014-06-10T14:30:00.184019565Z"
@@ -594,7 +522,7 @@ docker_image_collection_tag:
link_class: docker_image_repo+tag
name: arvados/apitestfixture:latest
tail_uuid: ~
- head_uuid: fa3c1a9cb6783f85f2ecda037e07b8c3+167
+ head_uuid: 4n8aq-4zz18-1v45jub259sjjgb
properties:
image_timestamp: "2014-06-10T14:30:00.184019565Z"
@@ -609,7 +537,7 @@ docker_image_collection_tag2:
link_class: docker_image_repo+tag
name: arvados/apitestfixture:june10
tail_uuid: ~
- head_uuid: fa3c1a9cb6783f85f2ecda037e07b8c3+167
+ head_uuid: 4n8aq-4zz18-1v45jub259sjjgb
properties:
image_timestamp: "2014-06-10T14:30:00.184019565Z"
@@ -628,26 +556,10 @@ ancient_docker_image_collection_hash:
link_class: docker_image_hash
name: d8309758b8fe2c81034ffc8a10c36460b77db7bc5e7b448c4e5b684f9d95a678
tail_uuid: ~
- head_uuid: b519d9cb706a29fc7ea24dbea2f05851+249025
+ head_uuid: 4n8aq-4zz18-t68oksiu9m80s4y
properties:
image_timestamp: "2010-06-10T14:30:00.184019565Z"
-anonymous_group_can_read_empty_collection:
- # Permission link giving anonymous_group permission to read the
- # empty collection. This link is added in production by the
- # empty_collection helper.
- uuid: zzzzz-o0j2j-emptycollection
- owner_uuid: zzzzz-tpzed-000000000000000
- created_at: 2014-06-13 20:42:26 -0800
- modified_by_client_uuid: zzzzz-tpzed-000000000000000
- modified_by_user_uuid: zzzzz-tpzed-000000000000000
- modified_at: 2014-06-13 20:42:26 -0800
- updated_at: 2014-06-13 20:42:26 -0800
- link_class: permission
- name: can_read
- tail_uuid: zzzzz-j7d0g-anonymouspublic
- head_uuid: d41d8cd98f00b204e9800998ecf8427e+0
-
job_reader_can_read_previous_job_run:
# Permission link giving job_reader permission
# to read previous_job_run
@@ -677,33 +589,3 @@ job_reader_can_read_foo_repo:
name: can_read
tail_uuid: zzzzz-tpzed-905b42d1dd4a354
head_uuid: zzzzz-s0uqq-382brsig8rp3666
-
-baz_collection_name_in_asubproject:
- uuid: zzzzz-o0j2j-bazprojectname2
- owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz
- created_at: 2014-04-21 15:37:48 -0400
- modified_by_client_uuid: zzzzz-ozdt8-brczlopd8u8d0jr
- modified_by_user_uuid: zzzzz-tpzed-xurymjxw79nv3jz
- modified_at: 2014-04-21 15:37:48 -0400
- updated_at: 2014-04-21 15:37:48 -0400
- tail_uuid: zzzzz-j7d0g-axqo7eu9pwvna1x
- head_uuid: ea10d51bcf88862dbcc36eb292017dfd+45
- link_class: name
- # This should resemble the default name assigned when a
- # Collection is added to a Project.
- name: "ea10d51bcf88862dbcc36eb292017dfd+45 added sometime"
- properties: {}
-
-empty_collection_name_in_active_user_home_project:
- uuid: zzzzz-o0j2j-i3n6m552x6tmoi4
- owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz
- created_at: 2014-08-06 22:11:51.242392533 Z
- modified_by_client_uuid: zzzzz-ozdt8-brczlopd8u8d0jr
- modified_by_user_uuid: zzzzz-tpzed-xurymjxw79nv3jz
- modified_at: 2014-08-06 22:11:51.242150425 Z
- tail_uuid: zzzzz-tpzed-xurymjxw79nv3jz
- link_class: name
- name: Empty collection
- head_uuid: d41d8cd98f00b204e9800998ecf8427e+0
- properties: {}
- updated_at: 2014-08-06 22:11:51.242010312 Z
-----------------------------------------------------------------------
hooks/post-receive
--
More information about the arvados-commits
mailing list