[ARVADOS] updated: 04eaf6ed0818f876017f59b3e22157a0165ad706

git at public.curoverse.com git at public.curoverse.com
Mon Jan 6 15:27:52 EST 2014


Summary of changes:
 doc/api/schema/Link.textile    |   27 +++++++++------------------
 sdk/python/arvados/__init__.py |    2 ++
 2 files changed, 11 insertions(+), 18 deletions(-)

       via  04eaf6ed0818f876017f59b3e22157a0165ad706 (commit)
       via  fe6783db8366694c5ac0a886eb00fa3f147f7a70 (commit)
       via  f7c6991be9078fffb8b200e83012c33a60ad4c18 (commit)
      from  6562cb9dce40bee18424cab67b76b524f33e8c9a (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 04eaf6ed0818f876017f59b3e22157a0165ad706
Author: Tom Clegg <tom at curoverse.com>
Date:   Mon Jan 6 12:27:44 2014 -0800

    Remove extra line breaks in textile paragraphs.

diff --git a/doc/api/schema/Link.textile b/doc/api/schema/Link.textile
index 66130b0..a03dfb8 100644
--- a/doc/api/schema/Link.textile
+++ b/doc/api/schema/Link.textile
@@ -8,21 +8,11 @@ navorder: 12
 
 h1. Link
 
-**Links** describe relationships between Arvados objects, and from
-objects to primitives.
-
-Links are directional: each metadata object has a tail (subject),
-class, name, properties, and head (object or value).  A Link may
-describe a relationship between two objects in an Arvados database:
-e.g. a _permission_ link between a User and a Group defines the
-permissions that User has to read or modify the Group.  Other Links
-simply represent metadata for a single object, e.g. the _identifier_
-Link, in which the _name_ property represents a human-readable
-identifier for the object at the link's head.
-
-For links that don't make sense to share between API clients, a
-_link_class_ that begins with @client@ (like @client.my_app_id@ or
- at client.my_app_id.anythinghere@) should be used.
+**Links** describe relationships between Arvados objects, and from objects to primitives.
+
+Links are directional: each metadata object has a tail (subject), class, name, properties, and head (object or value).  A Link may describe a relationship between two objects in an Arvados database: e.g. a _permission_ link between a User and a Group defines the permissions that User has to read or modify the Group.  Other Links simply represent metadata for a single object, e.g. the _identifier_ Link, in which the _name_ property represents a human-readable identifier for the object at the link's head.
+
+For links that don't make sense to share between API clients, a _link_class_ that begins with @client@ (like @client.my_app_id@ or @client.my_app_id.anythinghere@) should be used.
 
 h2. Methods
 

commit fe6783db8366694c5ac0a886eb00fa3f147f7a70
Author: Tom Clegg <tom at curoverse.com>
Date:   Mon Jan 6 12:08:38 2014 -0800

    Reword tag convention. refs #1508

diff --git a/doc/api/schema/Link.textile b/doc/api/schema/Link.textile
index 6156414..66130b0 100644
--- a/doc/api/schema/Link.textile
+++ b/doc/api/schema/Link.textile
@@ -76,11 +76,12 @@ table(table table-bordered table-condensed).
 
 h3. tag
 
-A **tag** link is a keyword string that identifies a group of collections.  A collection may be assigned multiple tags, and a tag will typically include many collections.
+A **tag** link describes an object using an unparsed plain text string. Tags can be used to annotate objects that are not editable, like collections and objects shared as read-only.
 
 table(table table-bordered table-condensed).
-|_. tail_type→head_type|_. name→head_uuid {properties}|_. Notes|
-|→Collection           | _tag name_ → _collection uuid_||
+|_. tail_type→head_type|_. name→head_uuid {properties}|
+|→Collection           | _tag name_ → _collection uuid_|
+|→Job                  | _tag name_ → _job uuid_|
 
 h3. human_trait
 

commit f7c6991be9078fffb8b200e83012c33a60ad4c18
Author: Tom Clegg <tom at curoverse.com>
Date:   Mon Jan 6 12:04:18 2014 -0800

    Accept comma-separated list of locators in Keep.get()

diff --git a/sdk/python/arvados/__init__.py b/sdk/python/arvados/__init__.py
index ba220cc..a7b3b32 100644
--- a/sdk/python/arvados/__init__.py
+++ b/sdk/python/arvados/__init__.py
@@ -995,6 +995,8 @@ class KeepClient(object):
         return pseq
 
     def get(self, locator):
+        if re.search(r',', locator):
+            return ''.join(self.get(x) for x in locator.split(','))
         if 'KEEP_LOCAL_STORE' in os.environ:
             return KeepClient.local_store_get(locator)
         expect_hash = re.sub(r'\+.*', '', locator)

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


hooks/post-receive
-- 




More information about the arvados-commits mailing list