-
Notifications
You must be signed in to change notification settings - Fork 111
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
BF: Let save -a
commit modified submodules too (closes: gh-636)
#739
Conversation
I think symlinks strike back
|
Hmm, I have no idea. Is there any records of how to deal with this? On Aug 29, 2016 20:24, "Yaroslav Halchenko" notifications@github.com
|
I cannot replicate the travis failure with |
Just to make sure, you did have that directory a symlink to /tmp right? > ln -sf /tmp /tmp/symlink; TMPDIR=/tmp/symlink nosetests -s -v datalad.interface.tests.test_save
datalad.interface.tests.test_save.test_save ... ERROR
======================================================================
ERROR: datalad.interface.tests.test_save.test_save
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest
self.test(*self.arg)
File "/home/yoh/proj/datalad/datalad/datalad/tests/utils.py", line 666, in newfunc
t(*(arg + (uri,)), **kw)
File "/home/yoh/proj/datalad/datalad/datalad/interface/tests/test_save.py", line 56, in test_save
subds = Dataset(opj(ds.path, 'sub ds')).create(add_to_super=True)
File "/home/yoh/proj/datalad/datalad/datalad/distribution/dataset.py", line 438, in apply_func
return f(**kwargs)
File "/home/yoh/proj/datalad/datalad/datalad/distribution/create.py", line 172, in __call__
annex_init_opts=annex_init_opts)
File "/home/yoh/proj/datalad/datalad/datalad/distribution/dataset.py", line 297, in create_subdataset
raise ValueError("path %s outside dataset %s" % (path, self))
ValueError: path /tmp/symlink/datalad_temp_clone_url_vyYYDq/sub ds outside dataset <Dataset path=/tmp/datalad_temp_clone_url_vyYYDq> |
https://github.com/datalad/datalad/pull/743/files#diff-3947667888c8ff9d4bfc6c26f2be70f9R391 (pushed a temp PR -- didn't finish messing with it yet) might help with it... feel free to absorb that piece of code if does |
FTR: this issue sits deeper than expected. Even in the construction of On Aug 30, 2016 03:12, "Yaroslav Halchenko" notifications@github.com
|
Current coverage is 86.79% (diff: 100%)@@ master #739 diff @@
==========================================
Files 198 198
Lines 17890 17898 +8
Methods 0 0
Messages 0 0
Branches 0 0
==========================================
+ Hits 15517 15534 +17
+ Misses 2373 2364 -9
Partials 0 0
|
No description provided.