summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorGravatar Joey Hess <joeyh@joeyh.name>2017-08-31 15:41:48 -0400
committerGravatar Joey Hess <joeyh@joeyh.name>2017-08-31 15:47:23 -0400
commitc9629ab97875721c8d36bdaceec25768de610b5e (patch)
treeb6a5284cd81765d5097d16b2bad64534e7e3d9bd /doc
parenta7383bc94e41d94e77e67406e1a4085d34241bfc (diff)
implement export.log and resolve export conflicts
Incremental export updates work now too. This commit was sponsored by Anthony DeRobertis on Patreon.
Diffstat (limited to 'doc')
-rw-r--r--doc/internals.mdwn8
-rw-r--r--doc/todo/export.mdwn6
2 files changed, 7 insertions, 7 deletions
diff --git a/doc/internals.mdwn b/doc/internals.mdwn
index 7d39b1068..4b24ce443 100644
--- a/doc/internals.mdwn
+++ b/doc/internals.mdwn
@@ -185,8 +185,12 @@ content expression.
Tracks what trees have been exported to special remotes by
[[git-annex-export]](1).
-Each line starts with a timestamp, then the uuid of the special remote,
-followed by the sha1 of the tree that was exported to that special remote.
+Each line starts with a timestamp, then the uuid of the repository
+that exported to the special remote, followed by the sha1 of the tree
+that was exported, and then by the uuid of the special remote. For example:
+
+ 1317929189.157237s e605dca6-446a-11e0-8b2a-002170d25c55 bb08b1abd207aeecccbc7060e523b011d80cb35b 26339d22-446b-11e0-9101-002170d25c55
+ 1317923000.251111s e605dca6-446a-11e0-8b2a-002170d25c55 7c7af825782b7c8706039b855c72709993542be4 26339d22-446b-11e0-9101-002170d25c55
(The exported tree is also grafted into the git-annex branch, at
`export.tree`, to prevent git from garbage collecting it. However, the head
diff --git a/doc/todo/export.mdwn b/doc/todo/export.mdwn
index 354dc84e7..914febe34 100644
--- a/doc/todo/export.mdwn
+++ b/doc/todo/export.mdwn
@@ -17,14 +17,10 @@ there need to be a new interface in supported remotes?
Work is in progress. Todo list:
-* Remember the previously exported tree (in git-annex branch, see design)
- and use to make next export more efficient.
* Only export to remotes that were initialized to support it.
* Prevent using export remotes for key/value storage.
-* When exporting, update location tracking to allow getting from exports,
* Use retrieveExport when getting from export remotes.
* Efficient handling of renames.
-* Detect export conflicts (see design)
* Support export to aditional special remotes (S3 etc)
* Support export to external special remotes.
* If the same content is present in two different files, export
@@ -36,4 +32,4 @@ Work is in progress. Todo list:
And, once one of the files is uploaded, the location log will
say the content is present, so the pass over the tree won't try to
- upload the other file.
+ upload the other file. (See design for a fix for this.)