NF: clone: --reckless='ephemeral' #4099
For use in a datalad command context, we shouldn't assume to be able to write to tmpfile and also not import a whole lot from datalad's test machinery. Finally, we want to know, whether we can create a symlink at a specific location, not just somewhere. Therefore use arbitrary path to test-build a symlink and delete afterwards. Suiteable location can therefore be determined by high lever code. datalad.tests.utils.has_symlink_capability RF'ed to make use of the new one.
@@ Coverage Diff @@ ## master #4099 +/- ## ========================================== + Coverage 89.63% 89.74% +0.11% ========================================== Files 274 275 +1 Lines 36742 37772 +1030 ========================================== + Hits 32932 33897 +965 - Misses 3810 3875 +65
Thanks, @kyleam - will address those comments.
I can reproduce that, yes. However, I don't think we can do much about that, other than maybe enhancing the doc for it (and possibly complain to Joey). Annex complains about the object for the file you saved in origin, since in
So, in my (current) view, we should add to the doc, that a symlinked annex comes with some potential issues (it's called
The things we possibly could do, I think, are:
What do you think @mih ?