This commit is contained in:
Joey Hess 2024-08-07 11:49:53 -04:00
parent b8f8c38e88
commit 8864a9e353
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38
3 changed files with 24 additions and 3 deletions

View file

@ -6,6 +6,9 @@ git-annex (10.20240732) UNRELEASED; urgency=medium
can store objects in .git/annex/objects, as well as an exported tree.
* Support proxying to special remotes configured with
exporttree=yes annexobjects=yes.
* post-retrieve: When proxying is enabled for an exporttree=yes
special remote and the configured remote.name.annex-tracking-branch
is received, the tree is exported to the special remote.
* git-remote-annex: Store objects in exportree=yes special remotes
in the same paths used by annexobjects=yes.
* When proxying an upload to a special remote, verify the hash.

View file

@ -18,8 +18,9 @@ out. The hook updates the work tree when run in such a repository,
the same as running `git-annex merge` would.
When a repository is configured to proxy to a special remote with
exporttree=yes, the hook handles updating the tree exported to the special
remote.
exporttree=yes, and the configured remote.name.annex-tracking-branch
is received, the hook handles updating the tree exported to the
special remote.
# OPTIONS
@ -33,6 +34,8 @@ remote.
[[git-annex-merge]](1)
[[git-annex-export]](1)
# AUTHOR
Joey Hess <id@joeyh.name>

View file

@ -41,7 +41,7 @@ Planned schedule of work:
export not supported
failed
* Prevent `enableproxy` from enabling an exporttree=yes special remote
* Prevent `updateproxy` from enabling an exporttree=yes special remote
that does not have annexobjects=yes, to avoid foot shooting.
* Handle cases where a single key is used by multiple files in the exported
@ -54,6 +54,21 @@ Planned schedule of work:
Each key will need to be downloaded from it in order to export the key
back to it, if the proxy is to support such a remote.
## completed items for August
* Special remotes configured with exporttree=yes annexobjects=yes
can store objects in .git/annex/objects, as well as an exported tree.
* Support proxying to special remotes configured with
exporttree=yes annexobjects=yes.
* post-retrieve: When proxying is enabled for an exporttree=yes
special remote and the configured remote.name.annex-tracking-branch
is received, the tree is exported to the special remote.
* When getting from a P2P HTTP remote, prompt for credentials when
required, instead of failing.
## items deferred until later for p2p protocol over http
* `git-annex p2phttp` should support serving several repositories at the same