15
15
* adding new commands
16
16
* providing additional network transports
17
17
* customizing log output.
19
19
The sky is the limit for the customization that can be done through plugins.
20
20
In fact, plugins often work as a way for developers to test new features for
21
21
Bazaar prior to inclusion in the official codebase. Plugins are helpful
25
25
Plugins are good for users, good for external developers and good for
29
29
---------------------
31
31
We keep our list of plugins on the http://bazaar-vcs.org/BzrPlugins page.
33
How to install a plugin
33
How to install a plugin
34
34
-----------------------
36
36
Installing a plugin is very easy! If not already created, create a
43
43
Plugins work particularly well with Bazaar branches. For example, to
44
44
install the bzrtools plugins for your main user account on Linux,
45
one can perform the following::
45
one can perform the following::
47
47
bzr branch http://panoramicfeedback.com/opensource/bzr/bzrtools
48
48
~/.bazaar/plugins/bzrtools
56
56
Alternative plugin locations
57
57
----------------------------
59
If you have the necessary permissions, plugins can also be installed on a
60
system-wide basis. One can additionally override the personal plugins
61
location by setting the environment variable ``BZR_PLUGIN_PATH`` (see `User
62
Reference <../user-reference/bzr_man.html#bzr-plugin-path>`_ for a detailed
59
If you have the necessary permissions, plugins can also be installed on
60
a system-wide basis. Two locations are currently checked for plugins:
62
1. the system location - bzrlib/plugins
63
2. the personal location - $BZR_HOME/plugins.
65
On a Linux installation, these locations are typically
66
``/usr/lib/python2.4/site-packages/bzrlib/plugins/`` and
67
``$HOME/.bazaar/plugins/``.
68
On a Windows installation, the system location might be
69
``C:\\Program Files\\Bazaar\\plugins``
70
while the personal location might be
71
``C:\Documents and Settings\<username>\Application Data\Bazaar\2.0\plugins``.
73
One can additionally override the personal plugins location
74
by setting the environment variable ``BZR_PLUGIN_PATH``
75
to a directory that contains plugins.
65
77
Listing the installed plugins
66
78
-----------------------------