File: git-annex-shell.mdwn

package info (click to toggle)
git-annex 3.20120629
  • links: PTS
  • area: main
  • in suites: wheezy
  • size: 6,000 kB
  • sloc: haskell: 12,228; makefile: 93; ansic: 84; perl: 37; sh: 10
file content (15 lines) | stat: -rw-r--r-- 556 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
[[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`).

## Reasons

* Allows locking down an account to only be able to use git-annex (and
  git).
* Avoids needing to construct complex shell commands to run on the remote
  system. (Mostly already avoided by the plumbing level commands.)
* Could possibly allow multiple things to be done with one ssh connection
  in future.
* Allows expanding `~` and `~user` in repopath on the remote system.