[ARVADOS] updated: 112d422913b3ef68723b113a50fece7d32d13ec2

git at public.curoverse.com git at public.curoverse.com
Thu Aug 21 12:13:15 EDT 2014


Summary of changes:
 sdk/python/arvados/commands/put.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

       via  112d422913b3ef68723b113a50fece7d32d13ec2 (commit)
      from  e8670f2a3e44458c963bb4b08a57d812a9b9d902 (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 112d422913b3ef68723b113a50fece7d32d13ec2
Author: Peter Amstutz <peter.amstutz at curoverse.com>
Date:   Thu Aug 21 12:13:11 2014 -0400

    3504: Set owner_uuid when creating collection (will set owner_uuid of name link
    on old apiserver, and set owner of collection object directly on new
    apiserver.)

diff --git a/sdk/python/arvados/commands/put.py b/sdk/python/arvados/commands/put.py
index 8cf56b6..da26a3c 100644
--- a/sdk/python/arvados/commands/put.py
+++ b/sdk/python/arvados/commands/put.py
@@ -463,7 +463,8 @@ def main(arguments=None, stdout=sys.stdout, stderr=sys.stderr):
             try:
                 if 'name' in collection:
                     arvados.api().collections().update(uuid=output,
-                                                       body={"name": project_link["name"]}).execute()
+                                                       body={"owner_uuid": project_link["tail_uuid"],
+                                                             "name": project_link["name"]}).execute()
                 else:
                     create_project_link(output, project_link)
             except apiclient.errors.Error as error:

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


hooks/post-receive
-- 




More information about the arvados-commits mailing list