/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to doc/en/admin-guide/hooks-plugins.txt

  • Committer: Breezy landing bot
  • Author(s): Jelmer Vernooij
  • Date: 2020-08-23 01:15:41 UTC
  • mfrom: (7520.1.4 merge-3.1)
  • Revision ID: breezy.the.bot@gmail.com-20200823011541-nv0oh7nzaganx2qy
Merge lp:brz/3.1.

Merged from https://code.launchpad.net/~jelmer/brz/merge-3.1/+merge/389690

Show diffs side-by-side

added added

removed removed

Lines of Context:
8
8
specific tasks are specified by *hooks* that run during certain steps of the
9
9
version control process.  
10
10
 
11
 
For full documentation on the available hooks, see ``bzr help hooks``.  Among
 
11
For full documentation on the available hooks, see ``brz help hooks``.  Among
12
12
those, some of the most significant hooks from an administration
13
13
standpoint are `pre_commit`, `post_commit` and `post_change_branch_tip`.
14
14
A `pre_commit` hook can inspect a commit before it happens and cancel it if
24
24
Information on the whole range of Bazaar plugins is available at
25
25
http://doc.bazaar.canonical.com/plugins/en/.  For purposes of installation,
26
26
plugins are simply python packages.  They can be installed alongside Bazaar in
27
 
the ``bzrlib.plugins`` package using each plugin's ``setup.py``.  They can
 
27
the ``breezy.plugins`` package using each plugin's ``setup.py``.  They can
28
28
also be installed in the plugin path which is the user's
29
29
``~/.config/breezy/plugins`` directory or can be specified with the
30
 
``BZR_PLUGIN_PATH`` environment variable.  See ``bzr help configuration`` for
 
30
``BRZ_PLUGIN_PATH`` environment variable.  See ``brz help configuration`` for
31
31
more on specifying the location of plugins.
32
32
 
33
33
 
55
55
in the ``locations.conf`` file or individually in each branch's
56
56
``branch.conf`` file.  The sender's email address can be specified as
57
57
``post_commit_sender`` if it is different than the email address reported by
58
 
``bzr whoami``.  The ``post_commit_mailer`` option specifies how the
 
58
``brz whoami``.  The ``post_commit_mailer`` option specifies how the
59
59
mail should be sent.  If it isn't set, email is sent via ``/usr/bin/mail``.
60
60
It can also be configured to communicate directly with an SMTP server.
61
61
For more details on configuring this plugin, see
287
287
This plugin is a more advanced version of `checkeol` that can check such
288
288
coding style guidelines such as trailing whitespace, long lines and files that
289
289
don't end with a newline.  It is configured using Bazaar's built in rules
290
 
specification in ``BZR_HOME/rules`` (see ``bzr help rules`` for more
 
290
specification in ``BRZ_HOME/rules`` (see ``bzr help rules`` for more
291
291
information.  For different types of undesired changes, you can specify
292
292
different types of actions.  For example
293
293