Abe
Abe

Reputation: 13534

how to install a bzr plugin?

For a novice, the steps required to can install the bzr plugin push-and-update are not clear.

The plugin is described here in the bzr documentation, and there is another documentation page that explains how to install plugins

But there is no clear guide to installation.

Upvotes: 1

Views: 416

Answers (1)

Abe
Abe

Reputation: 13534

  • find the plugin directory

    python
    >>> from bzrlib import plugin
    >>> list_of_bzr_plugin_paths = [os.path.abspath(p)
    ... for p in plugin.get_standard_plugins_path()]
    

    The libraries (on ubuntu) are:

    • $HOME/.bazaar/plugins'
    • /usr/lib/python2.7/dist-packages/bzrlib/plugins'

* Install from launchpad

    bzr branch lp:bzr-push-and-update 

  • Install from launchpad, renaming the directory to avoid errors.

    bzr branch lp:bzr-push-and-update ~/.bazaar/plugins/push_and_update
    

Upvotes: 3

Related Questions