external backends wip

It's able to start them up, the only thing not implemented is generating
and verifying keys. And, the key translation for HasExt.
This commit is contained in:
Joey Hess 2020-07-29 15:23:18 -04:00
parent b5d6a36db0
commit f75be32166
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38
24 changed files with 482 additions and 136 deletions

View file

@ -179,11 +179,8 @@ It's important that two different programs don't use the same name, because
that would result in bad behavior if the wrong program were used with a
repository with keys generated by the other program.
Here is a list of programs, to avoid picking the same name. Edit this page
to add yours to the list.
* [[git-annex-backend-XFOO]] is a demo program implementing this protocol
with a shell script.
To avoid picking the same name, there is a list of known external backend
programs in [[backends]].
## signals

View file

@ -7,7 +7,7 @@
set -e
hashfile {
hashfile () {
local contentfile="$1"
# could send PROGRESS while doing this, but it's
# hard to implement that in shell