[ARVADOS] created: 2185f76a9aeb9fbde23e189cda1db4dcc0949177
git at public.curoverse.com
git at public.curoverse.com
Tue Jan 13 11:43:48 EST 2015
at 2185f76a9aeb9fbde23e189cda1db4dcc0949177 (commit)
commit 2185f76a9aeb9fbde23e189cda1db4dcc0949177
Author: Peter Amstutz <peter.amstutz at curoverse.com>
Date: Thu Jan 8 21:26:32 2015 -0500
4968: Fix polling refresh on project directories
diff --git a/services/fuse/arvados_fuse/__init__.py b/services/fuse/arvados_fuse/__init__.py
index 80ad6b3..148a9a6 100644
--- a/services/fuse/arvados_fuse/__init__.py
+++ b/services/fuse/arvados_fuse/__init__.py
@@ -526,6 +526,8 @@ class ProjectDirectory(Directory):
self.project_object = project_object
self.project_object_file = None
self.uuid = project_object['uuid']
+ self._poll = poll
+ self._poll_time = poll_time
def createDirectory(self, i):
if collection_uuid_pattern.match(i['uuid']):
diff --git a/services/fuse/bin/arv-mount b/services/fuse/bin/arv-mount
index 5b161fd..68cd09c 100755
--- a/services/fuse/bin/arv-mount
+++ b/services/fuse/bin/arv-mount
@@ -98,6 +98,7 @@ with "--".
elif args.home:
dir_class = ProjectDirectory
dir_args.append(usr)
+ dir_args.append(True)
elif args.collection is not None:
# Set up the request handler with the collection at the root
dir_class = CollectionDirectory
@@ -117,6 +118,7 @@ with "--".
e._entries['by_tag'] = operations.inodes.add_entry(TagsDirectory(*dir_args))
dir_args.append(usr)
+ dir_args.append(True)
e._entries['home'] = operations.inodes.add_entry(ProjectDirectory(*dir_args))
e._entries['shared'] = operations.inodes.add_entry(SharedDirectory(*dir_args))
-----------------------------------------------------------------------
hooks/post-receive
--
More information about the arvados-commits
mailing list