-
Notifications
You must be signed in to change notification settings - Fork 110
Add annex.private to ephemeral clones. That would make git-annex not assign shared (in git-annex branch) annex uuid. #6702
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Makes sense and LGTM. Thx!
Codecov Report
@@ Coverage Diff @@
## maint #6702 +/- ##
=======================================
Coverage 91.18% 91.18%
=======================================
Files 353 353
Lines 44515 44523 +8
=======================================
+ Hits 40591 40599 +8
Misses 3924 3924
Continue to review full report at Codecov.
|
Set annex.private=true when cloning with --reckless=ephemeral. This is better than declaring 'dead here', since it not only prevents availability from 'here' to be propagated, but also the location (uuid) itself. Otherwise workflows based on ephemeral clones would accumulate lots of locations that are essentially gone by the time another repo learns about their existence. However, still declare dead regardless. Seamingly superfluous in combination with private mode, but a safeguard: Should an older annex happen to touch the repo, at least the availability is still not propagated. Closes datalad#5835
something nagging me about use case where I would want to know but can't come up with it... hence -- sounds great! @bpoldrack -- please rebase on maint -- I have mitigated the |
I rebased to current |
The docfailure is fixed in
I restarted the failed Appveyor build to see if its a fluke. In any case, it seems unrelated to the changes proposed in this PR. |
Even though it brings a behavioral change, I would not mind having it merged. |
🚀 PR was released in |
Set annex.private=true when cloning with --reckless=ephemeral. This is
better than declaring 'dead here', since it not only prevents
availability from 'here' to be propagated, but also the location (uuid)
itself. Otherwise workflows based on ephemeral clones would accumulate
lots of locations that are essentially gone by the time another repo
learns about their existence.
However, still declare dead regardless. Seamingly superfluous in
combination with private mode, but a safeguard: Should an older annex
happen to touch the repo, at least the availability is still not
propagated.
Closes #5835
Changelog
💫 Enhancements and new features
datalad clone --reckless=ephemeral
now uses git-annex' private repositories