diff options
author | 2010-12-31 19:09:17 -0400 | |
---|---|---|
committer | 2010-12-31 19:09:17 -0400 | |
commit | 700aed13cff27f9315df1209e0cd37d5e51f5390 (patch) | |
tree | 4b28a2499293b1aea9cac2ac661a6bc68c319478 /doc/todo/git-annex-shell.mdwn | |
parent | 30e0065ab97843f866a7fe095b8a18ee6eb4c321 (diff) |
git-annex-shell now exclusively used for all remote access
Diffstat (limited to 'doc/todo/git-annex-shell.mdwn')
-rw-r--r-- | doc/todo/git-annex-shell.mdwn | 37 |
1 files changed, 2 insertions, 35 deletions
diff --git a/doc/todo/git-annex-shell.mdwn b/doc/todo/git-annex-shell.mdwn index 47db0c1ca..a9e3b43ed 100644 --- a/doc/todo/git-annex-shell.mdwn +++ b/doc/todo/git-annex-shell.mdwn @@ -1,3 +1,5 @@ +[[done]] + I've been considering adding a `git-annex-shell` command. This would be similar to `git-shell` (and in fact would pass unknown commands off to `git-shell`). @@ -11,38 +13,3 @@ be similar to `git-shell` (and in fact would pass unknown commands off to * Could possibly allow multiple things to be done with one ssh connection in future. * Allows expanding `~` and `~user` in repopath on the remote system. - -## Design - -`git-annex-shell -c <command> <repopath> <arguments>` - -### options - -Need at least `--quiet`, `--backend`, `--key`, `--force` - -### commands - -* `configlist repopath` - - Returns `git config --list`, for use by `tryGitConfigRead`. - - May filter the listed config to only the options git-annex really needs, - to prevent info disclosure. - -* `inannex repopath key ...` - - Checks if the keys are in the annex; shell exits zero if so. - -* `dropkey repopath key ... ` - - Same as `git annex dropkey`, and taking the same dashed options. - -* `setkey repopath tmpfile` - - Same as `git annex setkey`, and taking the same dashed options. - -### TODO - -* To be usable as a locked down shell, needs a way to launch the - rsync server, for file receiving. Safely? -* Also needs a way to support receiving files by scp. |