summaryrefslogtreecommitdiffstats
path: root/imagrc.toml
diff options
context:
space:
mode:
authorMatthias Beyer <mail@beyermatthias.de>2016-07-15 23:25:09 +0200
committerMatthias Beyer <mail@beyermatthias.de>2016-09-07 22:05:27 +0200
commit7776e95345a17c14abeca9f4023cc9930428c427 (patch)
tree7cde4dfdd8cd3ba4838c2617a3c2ffa84bb46929 /imagrc.toml
parent2562b705b811596f4eb033787cf108bbd8619411 (diff)
Add vcs (git) hook settings in imagrc example
Diffstat (limited to 'imagrc.toml')
-rw-r--r--imagrc.toml32
1 files changed, 24 insertions, 8 deletions
diff --git a/imagrc.toml b/imagrc.toml
index 82a2dae3..af8145a5 100644
--- a/imagrc.toml
+++ b/imagrc.toml
@@ -12,25 +12,41 @@ implicit-create = false
# store, so these hooks should be chosen carefully.
store-unload-hook-aspects = [ "debug" ]
-pre-create-hook-aspects = [ "debug" ]
-post-create-hook-aspects = [ "debug" ]
+pre-create-hook-aspects = [ "debug", "vcs" ]
+post-create-hook-aspects = [ "debug", "vcs" ]
pre-move-hook-aspects = [ "debug" ]
post-move-hook-aspects = [ "debug" ]
-pre-retrieve-hook-aspects = [ "debug" ]
-post-retrieve-hook-aspects = [ "debug" ]
+pre-retrieve-hook-aspects = [ "debug", "vcs" ]
+post-retrieve-hook-aspects = [ "debug", "vcs" ]
-pre-update-hook-aspects = [ "debug" ]
-post-update-hook-aspects = [ "debug" ]
+pre-update-hook-aspects = [ "debug", "vcs" ]
+post-update-hook-aspects = [ "debug", "vcs" ]
-pre-delete-hook-aspects = [ "debug" ]
-post-delete-hook-aspects = [ "debug" ]
+pre-delete-hook-aspects = [ "debug", "vcs" ]
+post-delete-hook-aspects = [ "debug", "vcs" ]
[store.aspects.debug]
parallel = false
mutable_hooks = true
+[store.aspects.vcs]
+parallel = false
+mutable_hooks = false
+
[store.hooks.stdhook_debug]
aspect = "debug"
+[store.hooks.stdhook_git_create]
+aspect = "vcs"
+
+[store.hooks.stdhook_git_delete]
+aspect = "vcs"
+
+[store.hooks.stdhook_git_retrieve]
+aspect = "vcs"
+
+[store.hooks.stdhook_git_update]
+aspect = "vcs"
+