summaryrefslogtreecommitdiff
path: root/doc/todo/New_special_remote_suggeston_-_clean_directory
diff options
context:
space:
mode:
authorGravatar gan <gan@web>2013-12-07 01:15:47 +0000
committerGravatar admin <admin@branchable.com>2013-12-07 01:15:47 +0000
commit9066b589ae8bf7fb728b36308d1801a5929c0372 (patch)
tree8fec58d1691a755977e7333476ca437ed5d8e556 /doc/todo/New_special_remote_suggeston_-_clean_directory
parent26ef5f228bb238dddfd379114013db039a465164 (diff)
Added a comment: Hook implementation?
Diffstat (limited to 'doc/todo/New_special_remote_suggeston_-_clean_directory')
-rw-r--r--doc/todo/New_special_remote_suggeston_-_clean_directory/comment_8_21712dfee4f37232c34eddbce2427691._comment11
1 files changed, 11 insertions, 0 deletions
diff --git a/doc/todo/New_special_remote_suggeston_-_clean_directory/comment_8_21712dfee4f37232c34eddbce2427691._comment b/doc/todo/New_special_remote_suggeston_-_clean_directory/comment_8_21712dfee4f37232c34eddbce2427691._comment
new file mode 100644
index 000000000..3aeb04e53
--- /dev/null
+++ b/doc/todo/New_special_remote_suggeston_-_clean_directory/comment_8_21712dfee4f37232c34eddbce2427691._comment
@@ -0,0 +1,11 @@
+[[!comment format=mdwn
+ username="gan"
+ ip="85.224.8.104"
+ subject="Hook implementation?"
+ date="2013-12-07T01:15:46Z"
+ content="""
+1. I would propose the name \"plain directory\" for this special remote. Clean is not a good description, IMHO.
+
+2. When I read this a week ago I took the opportunity to play with the special remote hook, because as far as I can understand this could be a relatively trivial implementation that need not necessarily be in git-annex \"core\". And I'd like to contribute back to the git-annex community and help a brother out... I used the method of calling a single script from all hook points, and inside it look at what operation was requested.
+I didn't get that far before giving up however. I got the feeling that hook would benefit from some extension and a bit more complete API to really create the opportunity for third-party extensions to git-annex this way. I would prefer that the hook script can handle several instances of remotes without creating custom hook scripts for each instance. Specifically I think a hook is needed also for \"init\" of a new remote (to get a unique identifier, and other parameters given by the user such as in this particular case, the path to the \"clean directory\") What do you think?
+"""]]