Commit ff35716c authored by Michal Humpula's avatar Michal Humpula

post_commit/post_push update doc

parent c5a0f71a
......@@ -458,6 +458,26 @@ Weblate comes with few example hook scripts which you might find useful:
.. seealso:: :ref:`processing`
.. setting:: POST_COMMIT_SCRIPTS
POST_COMMIT_SCRIPTS
-------------------
.. versionadded:: 2.5
List of scripts which are allowed as post commit scripts. The script needs to be
later enabled in the :ref:`component`.
.. setting:: POST_PUSH_SCRIPTS
POST_PUSH_SCRIPTS
-------------------
.. versionadded:: 2.5
List of scripts which are allowed as post push scripts. The script needs to be
later enabled in the :ref:`component`.
.. setting:: REGISTRATION_CAPTCHA
REGISTRATION_CAPTCHA
......
......@@ -194,6 +194,13 @@ Pre-commit script
One of scripts defined in :setting:`PRE_COMMIT_SCRIPTS` which is executed
before commit. This can be used to generate some metadata about translation
or to generate binary form of a translation.
Post-commit script
One of scripts defined in :setting:`POST_COMMIT_SCRIPTS` which is executed
after commit. This can be used to notify external parties about the change.
Post-push script
One of scripts defined in :setting:`POST_PUSH_SCRIPTS` which is executed
after push to remote repository. This can be used to generate notify external
parties about the change in repository (i.e. create pull request).
Additional commit file
Additional file to include in commit, usually this one is generated by pre
commit script described above.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment