diff options
author | Joey Hess <joeyh@joeyh.name> | 2018-08-29 14:09:18 -0400 |
---|---|---|
committer | Joey Hess <joeyh@joeyh.name> | 2018-08-29 14:09:18 -0400 |
commit | 5b78952f780e5be7372dc443ecc4178fd9ff6066 (patch) | |
tree | b1a7dcd890d6339329fe7a0a763b2d9ba6c5011b /doc | |
parent | e216c1831857ee19830a6d95a3ab3281aa4ed1c3 (diff) |
misunderstood some code; simplify
Diffstat (limited to 'doc')
-rw-r--r-- | doc/todo/versioning_in_export_remotes.mdwn | 17 |
1 files changed, 1 insertions, 16 deletions
diff --git a/doc/todo/versioning_in_export_remotes.mdwn b/doc/todo/versioning_in_export_remotes.mdwn index c44f0b7a70..718443830c 100644 --- a/doc/todo/versioning_in_export_remotes.mdwn +++ b/doc/todo/versioning_in_export_remotes.mdwn @@ -75,19 +75,7 @@ and make at sync --content/assistant use that. Note that git-annex export does not rely on location tracking to determine which files still need to be sent to an export. It uses the export database -to keep track of that. Except there's this: - - notpresent ek = (||) - <$> liftIO (notElem loc <$> getExportedLocation db (asKey ek)) - -- If content was removed from the remote, the export db - -- will still list it, so also check location tracking. - <*> (notElem (uuid r) <$> loggedLocations (asKey ek)) - -Seems that loggedLocations should not be checked there for these versioned -remotes, because just because they contain a key does not mean it's in -their current head. In fact, that last line was added to make content be -re-sent after fsck notices the remote lost it, and otherwise it relies on -the export database to know what's in an export. +to keep track of that. ## final plan @@ -102,9 +90,6 @@ configured, and use them for when retrieving keys and for checkpresent. Make S3 refuse to removeKey when configured appendOnly, failing with an error. -Make `git annex export` not check loggedLocations for appendOnly remotes, -since they can contain content that is not in their head tree. - Make `git annex export` check appendOnly when removing a file from an export, and not update the location log, since the remote still contains the content. |