summaryrefslogtreecommitdiff
path: root/doc/design/exporting_trees_to_special_remotes/comment_6_3217c2f852e5d9b1e4be2adff995dd24._comment
blob: 4b1265bdd4ac92610f9df42d8784890b3b4b2642 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
[[!comment format=mdwn
 username="joey"
 subject="""comment 6"""
 date="2017-07-12T18:09:00Z"
 content="""
That would almost work without any smarts on the git-annex side.
When it tells the special remote to `REMOVEEXPORT`, the special remote
could remove the file from the HEAD equivilant but retain the content in its
versioned snapshots, and keep the url to that registered. But, that
doesn't actually work, because the url is registered for that special
remote, not the web special remote. Once git-annex thinks the file has been
removed from the special remote, it will never try to use the url
registered for that special remote.

So, to support versioning-capable special remotes, there would need to be
an additional response to `REMOVEEXPORT` that says "I removed it from HEAD,
but I still have a copy in this url, which can be accessed using
the web special remote".
"""]]