| 1 |
<?xml version="1.0" encoding="utf-8"?> |
| 2 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
| 3 |
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> |
| 4 |
<head> |
| 5 |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> |
| 6 |
<meta name="generator" content="Docutils 0.21.2: https://docutils.sourceforge.io/" /> |
| 7 |
<title>hooklib</title> |
| 8 |
<link rel="stylesheet" href="../style.css" type="text/css" /> |
| 9 |
</head> |
| 10 |
<body> |
| 11 |
<div class="document" id="hooklib"> |
| 12 |
<span id="ext-hooklib"></span> |
| 13 |
<h1 class="title">hooklib</h1> |
| 14 |
|
| 15 |
<div class="contents htmlonly topic" id="contents"> |
| 16 |
<p class="topic-title"><a class="reference internal" href="#top">Contents</a></p> |
| 17 |
<ul class="simple"> |
| 18 |
<li><a class="reference internal" href="#description" id="toc-entry-1">Description</a></li> |
| 19 |
</ul> |
| 20 |
</div> |
| 21 |
<p>collection of simple hooks for common tasks (EXPERIMENTAL)</p> |
| 22 |
<div class="section" id="description"> |
| 23 |
<h1><a class="toc-backref" href="#contents">Description</a></h1> |
| 24 |
<p>This extension provides a number of simple hooks to handle issues |
| 25 |
commonly found in repositories with many contributors: |
| 26 |
- email notification when changesets move from draft to public phase |
| 27 |
- email notification when changesets are obsoleted |
| 28 |
- enforcement of draft phase for all incoming changesets |
| 29 |
- enforcement of a no-branch-merge policy |
| 30 |
- enforcement of a no-multiple-heads policy</p> |
| 31 |
<p>The implementation of the hooks is subject to change, e.g. whether to |
| 32 |
implement them as individual hooks or merge them into the notify |
| 33 |
extension as option. The functionality itself is planned to be supported |
| 34 |
long-term.</p> |
| 35 |
</div> |
| 36 |
</div> |
| 37 |
</body> |
| 38 |
</html> |