File: day_628__external_key_backends.mdwn

package info (click to toggle)
git-annex 8.20210223-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 68,764 kB
  • sloc: haskell: 70,359; javascript: 9,103; sh: 1,304; makefile: 212; perl: 136; ansic: 44
file content (10 lines) | stat: -rw-r--r-- 527 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
Today I implemented [[external backends|design/external_backend_protocol]]
for keys. So unusual new hashes can be used by writing a small program.

Probably lots of other uses for this too; I don't know if I'll like
them all. It has the potential to warp git-annex in some directions I don't
want to deal with. Still, it's good to have this feature.

I was able to reuse a lot of the external special remote code for this,
and only had to write around 400 lines of new code. Dunno how that all
happened in 8 hours, but it did!