-
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
Cannot get data from clone of a clone #3926
Comments
Here is the code
If we start inheriting any configured remote (or just Also, I don't see why we should limit such a feature to local clones. |
I will look into this feature addition as part of #3966 |
An implementation of this feature is now available in #3966 Please have a look. |
I checked a bit the issues and google but this does not seem to have been reported before.
What is the problem?
When working in a local server (i.e., only local paths involved), cloning a dataset A into B, and cloning B into C, makes C look into its source (that is B) when getting the data. As a result, if data is only in A, C will fail to retrieve the data with
datalad get
. This is somewhat counter intuitive because a new install should know in theory about other copies of the dataset and be able to retrieve the data from one of the copy locations. It also forces the users that need to be parsimonious on storage to clone from A only, at whichever status that is.What steps will reproduce the problem?
I can provide tomorrow some code if the problem is not easy to reproduce.
What version of DataLad are you using (run
datalad --version
)? On what operating system (consider runningdatalad wtf
)?0.12.rc6
Is there anything else that would be useful to know in this context?
Not sure how this can be resolved, maybe adding more git-annex locations for each file, or perhaps by adding the remote A during the install process from B to C. In principle though, new installs should always be able to scout the data even when a clone is cloned.
Have you had any success using DataLad before? (to assess your expertise/prior luck. We would welcome your testimonial additions to https://github.com/datalad/datalad/wiki/Testimonials as well)
NA
The text was updated successfully, but these errors were encountered: