Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
converse.js
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
converse.js
Commits
ff35716c
Commit
ff35716c
authored
Jul 10, 2015
by
Michal Humpula
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
post_commit/post_push update doc
parent
c5a0f71a
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
27 additions
and
0 deletions
+27
-0
docs/admin/config.rst
docs/admin/config.rst
+20
-0
docs/admin/projects.rst
docs/admin/projects.rst
+7
-0
No files found.
docs/admin/config.rst
View file @
ff35716c
...
...
@@ -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
...
...
docs/admin/projects.rst
View file @
ff35716c
...
...
@@ -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.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment