[ARVADOS] updated: e09e57378e5f98235e472a35c18a3e3a2bac97fb
git at public.curoverse.com
git at public.curoverse.com
Mon Sep 15 13:59:20 EDT 2014
Summary of changes:
sdk/python/arvados/commands/copy.py | 5 -----
1 file changed, 5 deletions(-)
via e09e57378e5f98235e472a35c18a3e3a2bac97fb (commit)
from 1ecc9b7b0b0f88a4e1a96b9bcb77aa580f68cc89 (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 e09e57378e5f98235e472a35c18a3e3a2bac97fb
Author: Tim Pierce <twp at curoverse.com>
Date: Mon Sep 15 13:58:44 2014 -0400
3699: back out attempts to change tempfile.tempdir
Too many error conditions -- if the disk is full, have the user change
it manually with TMPDIR=/scratch
diff --git a/sdk/python/arvados/commands/copy.py b/sdk/python/arvados/commands/copy.py
index d8ce4f4..3fd54a0 100755
--- a/sdk/python/arvados/commands/copy.py
+++ b/sdk/python/arvados/commands/copy.py
@@ -336,11 +336,6 @@ def copy_git_repo(src_git_repo, src, dst, dst_git_repo):
dst_git_push_url = r['items'][0]['push_url']
logger.debug('dst_git_push_url: {}'.format(dst_git_push_url))
- # If there is a /scratch partition available, attempt to use it
- # to check out the git repo (which can be quite large)
- if os.path.exists('/scratch'):
- tempfile.tempdir = '/scratch/{}'.format(getpass.getuser())
- os.mkdir(tempfile.tempdir)
tmprepo = tempfile.mkdtemp()
dst_branch = re.sub(r'\W+', '_', src_git_url)
-----------------------------------------------------------------------
hooks/post-receive
--
More information about the arvados-commits
mailing list