[ARVADOS] updated: d5ba0e97f8522ba3ce6ad36edf099c661a43f6b7

git at public.curoverse.com git at public.curoverse.com
Tue Jan 21 17:06:35 EST 2014


Summary of changes:
 sdk/python/arvados/__init__.py                     |   11 ++++++++++-
 .../controllers/arvados/v1/schema_controller.rb    |    1 +
 2 files changed, 11 insertions(+), 1 deletions(-)

       via  d5ba0e97f8522ba3ce6ad36edf099c661a43f6b7 (commit)
       via  202622a47e9c300341be4cbd81484b02360897ab (commit)
       via  391d87d025449737ad6c7836ae66a980aef4c57a (commit)
      from  2c7150729fcf1521d831b38c6aab016818b6b66a (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 d5ba0e97f8522ba3ce6ad36edf099c661a43f6b7
Merge: 2c71507 202622a
Author: Tom Clegg <tom at curoverse.com>
Date:   Tue Jan 21 14:04:30 2014 -0800

    Merge branch '1922-cache-discovery-python'

diff --cc sdk/python/arvados/__init__.py
index b881066,18bde85..2d19259
--- a/sdk/python/arvados/__init__.py
+++ b/sdk/python/arvados/__init__.py
@@@ -128,14 -129,16 +128,22 @@@ def _cast_objects_too(value, schema_typ
          return _cast_orig(value, schema_type)
  apiclient.discovery._cast = _cast_objects_too
  
+ def http_cache(data_type):
+     path = os.environ['HOME'] + '/.cache/arvados/' + data_type
+     try:
+         util.mkdir_dash_p(path)
+     except OSError:
+         path = None
+     return path
+ 
  def api(version=None):
      global services, config
 +
 +    if not config:
 +        config = ArvadosConfig(os.environ['HOME'] + '/.config/arvados')
 +        if 'ARVADOS_DEBUG' in config:
 +            logging.basicConfig(level=logging.DEBUG)
 +
      if not services.get(version):
          apiVersion = version
          if not version:

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


hooks/post-receive
-- 




More information about the arvados-commits mailing list