| Left: | ||
| Right: |
| LEFT | RIGHT |
|---|---|
| 1 # Mercurial hooks | 1 # Mercurial hooks |
| 2 | 2 |
| 3 `sitescripts/hg` contains Mercurial hooks for integration with other components | 3 `sitescripts/hg` contains Mercurial hooks for integration with other components |
| 4 of our infrastructure. | 4 of our infrastructure. |
| 5 | 5 |
| 6 ## IRC integration | 6 ## IRC integration |
| 7 | 7 |
| 8 `irchook.py` contains a commit hook that posts the information about new pushed | 8 `irchook.py` contains a commit hook that posts the information about new pushed |
| 9 commits to an IRC channel. | 9 commits to an IRC channel. |
| 10 | 10 |
| (...skipping 23 matching lines...) Expand all Loading... | |
| 34 [hg] | 34 [hg] |
| 35 trac_xmlrpc_url=https://abpbot:abpbot@issues.adblockplus.org/login/xmlrpc | 35 trac_xmlrpc_url=https://abpbot:abpbot@issues.adblockplus.org/login/xmlrpc |
| 36 issue_url_template=https://issues.adblockplus.org/ticket/{id} | 36 issue_url_template=https://issues.adblockplus.org/ticket/{id} |
| 37 | 37 |
| 38 `hg.track_xmlrpc_url` key from is used to determine the address of XMLRPC | 38 `hg.track_xmlrpc_url` key from is used to determine the address of XMLRPC |
| 39 interface of Trac and `hg.issue_url_template` as a template for producing links | 39 interface of Trac and `hg.issue_url_template` as a template for producing links |
| 40 to the referenced issues that are displayed in the log. | 40 to the referenced issues that are displayed in the log. |
| 41 | 41 |
| 42 ### Python dependencies of the hook | 42 ### Python dependencies of the hook |
| 43 | 43 |
| 44 The hook requires `Jinja2` to be importable by the Python that runs `hg`. | 44 The hook requires `Jinja2`. |
|
mathias
2019/05/14 09:32:01
The "to be importable by the Python that runs `hg`
Vasily Kuznetsov
2019/05/14 10:28:59
Done.
| |
| LEFT | RIGHT |