]> dgit.raspbian.org Git - git-annex.git/commitdiff
update
authorJoey Hess <joeyh@joeyh.name>
Wed, 12 Jun 2024 19:21:23 +0000 (15:21 -0400)
committerJoey Hess <joeyh@joeyh.name>
Wed, 12 Jun 2024 19:21:23 +0000 (15:21 -0400)
doc/design/passthrough_proxy.mdwn
doc/todo/git-annex_proxies.mdwn

index 92cec5044a264c7ab3386a4e4a5a62da55ea9fb4..2478bca9b521780e04f8952a11b26930ea272c1a 100644 (file)
@@ -166,6 +166,17 @@ If the user later does `git-annex copy --to proxy-bar`, it would avoid
 another upload (and the user would learn at that point that it was in
 proxy-bar). This avoids needing to change the `storeKey` interface.
 
+Should a proxy always fanout? if `git-annex copy --to proxy` is what does
+fanout, and `git-annex copy --to proxy-foo` doesn't, then the user has
+content. But if the latter does fanout, that might be annoying to users who
+want to use proxies, but want full control over what lands where, and don't
+want to use preferred content to do it. So probably fanout should be
+configurable. But it can't be configured client side, because the fanout
+happens on the proxy. Seems like remote.name.annex-fanout could be set to
+false to prevent fanout to a specific remote. (This is analagous to a
+remote having `git-annex assistant` running on it, it might fan out uploads
+to it to other repos, and only the owner of that repo can control it.)
+
 A command like `git-annex push` would see all the instantiated remotes and
 would pick ones to send content to. If the proxy does fanout, this would
 lead to `git-annex push` doing extra work iterating over instantiated
index b63fc865aea5ab3bfa39cb4c6357e1101e0972d6..c79219a62a0a179ddaaa38dbfdcd3377447bdaab 100644 (file)
@@ -44,10 +44,10 @@ For June's work on [[design/passthrough_proxy]], implementation plan:
 * Consider getting instantiated remotes into git remote list.
   See design.
 
-* Implement single upload with fanout to proxied remotes.
-
 * Implement clusters.
 
+* Implement single upload with fanout to proxied remotes.
+
 * Support proxies-of-proxies better, eg foo-bar-baz.
   Currently, it does work, but have to run `git-annex updateproxy`
   on foo in order for it to notice the bar-baz proxied remote exists,