summaryrefslogtreecommitdiff
path: root/doc/design/assistant/desymlink.mdwn
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2013-01-10 13:14:02 -0400
committerGravatar Joey Hess <joey@kitenet.net>2013-01-10 13:14:02 -0400
commit5667c79f54bf9eb57dae838e0863beaf34f0b991 (patch)
tree5dcf305f31793d2d4f3cd106e0455bcada6495e4 /doc/design/assistant/desymlink.mdwn
parent50d4e0a6fb0f1d082328a72b8fa5c87750ba35bc (diff)
update
Diffstat (limited to 'doc/design/assistant/desymlink.mdwn')
-rw-r--r--doc/design/assistant/desymlink.mdwn24
1 files changed, 14 insertions, 10 deletions
diff --git a/doc/design/assistant/desymlink.mdwn b/doc/design/assistant/desymlink.mdwn
index fa22923af..0b3cc4a76 100644
--- a/doc/design/assistant/desymlink.mdwn
+++ b/doc/design/assistant/desymlink.mdwn
@@ -95,25 +95,29 @@ is converted to a real file when it becomes present.
passed to `sendAnnex` that is called if the file is modified as it's
transferred. That would then remove the probably corrupted file from the
remote. (The full transfer would still run, unless there was also a way
- to cancel an in progress transfer.)
+ to cancel an in progress transfer.) **done** (untested)
- With the above, there is some potential for the bed content being
+ (With the above, there is some potential for the bad content being
downloaded from the special remote into another repo. This would only
happen if the other repo for some reason thinks the special remote
has the content. Since the location log would not be updated until the
- transfer is successful, this should not happen.
+ transfer is successful, this should not happen.)
- For git remotes, add a flag to `git-annex-shell recvkey` (using a field
- after the "--" to remain back-compat). With this flag, after receiving
- the data, the remote should wait for a signal that the data is good
- before it updates the location log. The signal could just be a "1"
- sent over the ssh channel. Or another `git-annex-shell` command.
+ For local git remotes, need to check the direct mode file after it's
+ copied and before it's put into place as a key's content. **done**
+ (untested)
- Also `git-annex-shell sendkey` needs to do something if it sent bad
+ `git-annex-shell sendkey` needs to do something if it sent bad
data. This seems to not need protocol changes; it can just detect
the problem and exit nonzero. Would need to do something to clean up
the temp file, which is probably corrupt. (Could in future use it as a
- basis for transferring the new key..)
+ basis for transferring the new key..) **done** (untested)
+
+ For git remotes, add a flag to `git-annex-shell recvkey` (using a field
+ after the "--" to remain back-compat). With this flag, after receiving
+ the data, the remote should wait for a signal that the data is good
+ before it updates the location log. The signal could just be a "1"
+ sent over the ssh channel. Or another `git-annex-shell` command. **TODO**
* kqueue does not deliver an event when an existing file is modified.
This doesn't affect OSX, which uses FSEvents now, but it makes direct