diff options
author | https://www.google.com/accounts/o8/id?id=AItOawmWg4VvDTer9f49Y3z-R0AH16P4d1ygotA <Tobias@web> | 2013-05-22 10:40:33 +0000 |
---|---|---|
committer | admin <admin@branchable.com> | 2013-05-22 10:40:33 +0000 |
commit | 6e366832d4f4554e256065a108808cd1ce74bb96 (patch) | |
tree | a1bfb0f3f2fb4e5f38ee70b856b65e35c4eca13f /doc | |
parent | 073394354eedff76e5bfa832e62a10c20314480b (diff) |
Added a comment: Hooks too
Diffstat (limited to 'doc')
-rw-r--r-- | doc/todo/wishlist:_Advanced_settings_for_xmpp_and_webdav/comment_1_11c7444ab4988c60732af505b52bde3c._comment | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/doc/todo/wishlist:_Advanced_settings_for_xmpp_and_webdav/comment_1_11c7444ab4988c60732af505b52bde3c._comment b/doc/todo/wishlist:_Advanced_settings_for_xmpp_and_webdav/comment_1_11c7444ab4988c60732af505b52bde3c._comment new file mode 100644 index 000000000..61cd3fc2e --- /dev/null +++ b/doc/todo/wishlist:_Advanced_settings_for_xmpp_and_webdav/comment_1_11c7444ab4988c60732af505b52bde3c._comment @@ -0,0 +1,20 @@ +[[!comment format=mdwn + username="https://www.google.com/accounts/o8/id?id=AItOawmWg4VvDTer9f49Y3z-R0AH16P4d1ygotA" + nickname="Tobias" + subject="Hooks too" + date="2013-05-22T10:40:33Z" + content=""" +It would actually be very nice if this could be done with hooks too. + +Especially with the new hook method. + +Take this hook + + mega-hook = /usr/bin/python2 ~/sources/megaannex/megaannex.py + +git-annex could make a request with either the parameter(or environment variable) \"getsettingsobject\" that could return. {\"username\": \"\", \"password\": \"\", \"folder\": \"\"}. + +The point being git-annex can request from the hooks program what settings it takes, and give a web interface to set it. Then store the information in the creds folder(ew ew, that folder is unencrypted, oh well) and pass it to the hook on run. + +The advantage being that users wouldn't have to edit a settings file manually (this is currently also the case for the IMAP special remote, which also requires a settings file). +"""]] |