aboutsummaryrefslogtreecommitdiff
path: root/doc/todo
diff options
context:
space:
mode:
authorGravatar yarikoptic <yarikoptic@web>2018-02-01 18:54:18 +0000
committerGravatar admin <admin@branchable.com>2018-02-01 18:54:18 +0000
commitae4b695ec7a4f87830941536db3ffc79d5b30331 (patch)
tree320365c4131cdfba11fa088ea9e37cf3ff718d20 /doc/todo
parent82515168357c014099eea0d07d090527bc198a2a (diff)
Added a comment: any chance to avoid necessity to config the hook(s)?
Diffstat (limited to 'doc/todo')
-rw-r--r--doc/todo/lockdown_hooks/comment_1_649dbc3c951bbabc550e12e87e45b319._comment10
1 files changed, 10 insertions, 0 deletions
diff --git a/doc/todo/lockdown_hooks/comment_1_649dbc3c951bbabc550e12e87e45b319._comment b/doc/todo/lockdown_hooks/comment_1_649dbc3c951bbabc550e12e87e45b319._comment
new file mode 100644
index 000000000..8c35613c4
--- /dev/null
+++ b/doc/todo/lockdown_hooks/comment_1_649dbc3c951bbabc550e12e87e45b319._comment
@@ -0,0 +1,10 @@
+[[!comment format=mdwn
+ username="yarikoptic"
+ avatar="http://cdn.libravatar.org/avatar/f11e9c84cb18d26a1748c33b48c924b4"
+ subject="any chance to avoid necessity to config the hook(s)?"
+ date="2018-02-01T18:54:18Z"
+ content="""
+Thank you Joey for looking into this issue! I am though a bit worried that necessity to configure using some kind of a hook would be ... suboptimal for a number of reasons. Before laying out my argumentation, let me first ask: why alternative \"lockdown\" mechanisms could not be sensed/configured per each repository during `init` and implemented within git-annex?
+
+As you have noted ```git-annex init's probe of the write bit handling fails...``` so git-annex already checks for a possible way to establish the \"lockdown\" for a given repository location. It just tries one possible mechanism ATM. But it could as well try multiple ways to achieve it, starting from current \"POSIX\", and then trying \"ACL\" if appropriate (i.e. tools found). Then if non-POSIX handling is needed, would simple add yet another configuration to .git/config of that repository, and consult to it to switch to corresponding lockdown implementation **within git-annex**. This would be much more user friendly, and it would allow 3rd party tools using git-annex (such as datalad) to not worry about necessity to configure some additional hooks for a particular location, etc.
+"""]]