1
0
Fork 0
mirror of https://github.com/Kozea/Radicale.git synced 2025-08-13 18:50:53 +00:00

default config: new placeholders

This commit is contained in:
Peter Bieringer 2025-08-12 16:10:32 +02:00
parent eae5daae54
commit 0c16f86bd4

3
config
View file

@ -234,9 +234,12 @@
# %(user)s: logged-in user # %(user)s: logged-in user
# %(cwd)s : current working directory # %(cwd)s : current working directory
# %(path)s: full path of item # %(path)s: full path of item
# %(to_path)s: full path of destination item (only set on MOVE request)
# %(request)s: request method
# Command will be executed with base directory defined in filesystem_folder # Command will be executed with base directory defined in filesystem_folder
# For "git" check DOCUMENTATION.md for bootstrap instructions # For "git" check DOCUMENTATION.md for bootstrap instructions
# Example(test): echo \"user=%(user)s path=%(path)s cwd=%(cwd)s\" # Example(test): echo \"user=%(user)s path=%(path)s cwd=%(cwd)s\"
# Example(test/json): echo \"hook-json {'user':'%(user)s', 'cwd':'%(cwd)s', 'path':'%(path)s', 'request':'%(request)s', 'to_path':'%(to_path)s'}\"
# Example(git): git add -A && (git diff --cached --quiet || git commit -m "Changes by \"%(user)s\"") # Example(git): git add -A && (git diff --cached --quiet || git commit -m "Changes by \"%(user)s\"")
#hook = #hook =