File: Watch__47__assistant__47__webapp_documentation.mdwn

package info (click to toggle)
git-annex 7.20190129-3
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 56,292 kB
  • sloc: haskell: 59,105; sh: 1,255; makefile: 225; perl: 136; ansic: 44
file content (12 lines) | stat: -rw-r--r-- 945 bytes parent folder | download | duplicates (11)
1
2
3
4
5
6
7
8
9
10
11
12
Hello,

I'm not sure about the differences and interactions between watch / assistant / webapp / direct mode. I think I figured the following out, can someone confirm this, and perhaps a few words to the documentation / man page?

- git annex watch uses inotify to find new files, and runs git annex add on them (it does not do regular git add)
- git annex assistant does the same as watch, but also runs git annex sync for each new file (does it also enable direct mode?)
- git annex webapp does the same as assistant, and also starts a webapp (in my case it immediately started sending files to origin, without asking for confirmation, which was surprising, I guess this is because I have * annex.numcopies=2 set, and there was only one copy. Still I interpreted the documentation as if it would only show me an interface, not start doing things right away.)

Do these commands do anything else than what I described above?

best regards,
Tom