status update after day 1 of new project
authorJoey Hess <joeyh@joeyh.name>
Tue, 4 Jun 2024 18:55:54 +0000 (14:55 -0400)
committerJoey Hess <joeyh@joeyh.name>
Tue, 4 Jun 2024 18:55:54 +0000 (14:55 -0400)
doc/todo/git-annex_proxies.mdwn

index 4ae8bc1f3920dd96139a065265d1b2c7c0a644d1..ddac3b9cad2562bce02d64df80e7fc1af791d2b3 100644 (file)
@@ -22,22 +22,27 @@ Planned schedule of work:
 
 # work notes
 
+In development on the `proxy` branch.
+
 For June's work on [[design/passthrough_proxy]], implementation plan:
 
 1. UUID discovery via git-annex branch. Add a log file listing UUIDs
    accessible via proxy UUIDs. It also will contain the names
    of the remotes that the proxy is a proxy for, 
-   from the perspective of the proxy.
+   from the perspective of the proxy. (done)
+
+1. Add `git-annex updateproxy` command and remote.name.annex-proxy
+   configuration. (done)
 
-   Note that remote names coming from the git-annex branch need to be
-   limited to what's legal in git remote names. 
+1. getProxies should be cached to avoid repeatedly reading the log and
+   parsing.
+
+1. Remote names coming from the git-annex branch need to be
+   limited to what's legal in git remote names. If a remote name is not
+   legal, munge it until it is.
    This will also prevent remote names being a security hazard
    via eg escape characters.
 
-1. Add a command that is run on the proxy to update the proxy log file.
-   This is how the user sets it up as a proxy, and selects the remotes its
-   proxying for.
-
 2. Remote instantiation for proxies. When a remote "foo" is a proxy,
    and has a remote "bar", instantiate a remote "foo-bar" that has the UUID
    of bar but is of the same type and configuration of remote "foo".