~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to doc/en/user-guide/plugins.txt

  • Committer: Vincent Ladeuil
  • Date: 2009-09-16 10:37:29 UTC
  • mto: (4695.1.1 integration)
  • mto: This revision was merged to the branch mainline in revision 4696.
  • Revision ID: v.ladeuil+lp@free.fr-20090916103729-m6h1pyvjprm6puvm
Respect items() protocol for registry objects.

* bzrlib/tests/test_registry.py:
(TestRegistryIter): Test some corner cases where object are
registered while the registry is iterated.

* bzrlib/registry.py:
(Registry): iteritems() and items() have different intents, don't
mix them under the covers or devs get tricked (see bug #277048
which seemed to have fixed the issue).

Show diffs side-by-side

added added

removed removed

Lines of Context:
15
15
* adding new commands
16
16
* providing additional network transports
17
17
* customizing log output.
18
 
 
 
18
  
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
26
26
Bazaar itself.
27
27
 
28
 
Where to find plugins
 
28
Where to find plugins 
29
29
---------------------
30
30
 
31
 
We keep our list of plugins on the http://wiki.bazaar.canonical.com/BzrPlugins page.
 
31
We keep our list of plugins on the http://bazaar-vcs.org/BzrPlugins page.
32
32
 
33
 
How to install a plugin
 
33
How to install a plugin 
34
34
-----------------------
35
35
 
36
36
Installing a plugin is very easy! If not already created, create a
37
37
``plugins`` directory under your Bazaar configuration directory,
38
 
``~/.bazaar/`` on Unix and
 
38
``~/.bazaar/`` on Linux and
39
39
``C:\Documents and Settings\<username>\Application Data\Bazaar\2.0\``
40
40
on Windows. Within this directory (referred to as $BZR_HOME below),
41
41
each plugin is placed in its own subdirectory.
42
42
 
43
43
Plugins work particularly well with Bazaar branches. For example, to
44
 
install the bzrtools plugins for your main user account on GNU/Linux,
45
 
one can perform the following::
 
44
install the bzrtools plugins for your main user account on Linux,
 
45
one can perform the following:: 
46
46
 
47
47
    bzr branch http://panoramicfeedback.com/opensource/bzr/bzrtools
48
48
    ~/.bazaar/plugins/bzrtools