Bundling more plugins into bzrtools

Robert Collins robertc at robertcollins.net
Thu Feb 14 21:02:29 GMT 2008


On Thu, 2008-02-14 at 10:54 -0800, Toshio Kuratomi wrote:
> 
> > Perhaps it'd be worth configuring bzr to look in
> > /usr/lib/pythonX.Y/site-packages/bzrlib/plugins too for your amd64
> > builds?
> > 
> If bzr could do that it would be awesome!  I don't know how the
> plugin 
> architecture works internally but if it relies on python's import to 
> find the plugins you'll have some code to write, though.

bzr already lookins in two locations, adding a third is easy.

Right now you could globally export BZR_PLUGINS_PATH on your system. But
better would be a fairly trivial patch to bzrlib.plugin to
add /usr/lib/pythonX.Y/site-packages/bzrlib/plugins to the default
path.

-Rob
-- 
GPG key available at: <http://www.robertcollins.net/keys.txt>.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20080215/864c1762/attachment.pgp 


More information about the bazaar mailing list