[PING] [PATCH] show full name of plugin in help
Aaron Bentley
aaron.bentley at utoronto.ca
Thu Oct 19 07:36:45 BST 2006
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Alexander Belchenko wrote:
> Anyone can simply download tarball with plugin release, unpack it and
> simply place it to ~/.bazaar/plugins. And it's *just* *works*.You don't
> need to care about period, comma and all that jazz. And IMO it's *right*
> *thing*.
I would prefer for the tarball to be extracted without renaming the
directory, but I think it's more important to adhere to Python package
naming conventions. I'll see if I can improve the bzrtools installation
instructions, though.
> All commands that I use from bzrtools works well either bzrtools in
> bzrtools-0.11 (0.12) directory or simply bzrtools, or even
> bzrtools.bialix (when I want to hacking it a bit). If bzrtools have
> hardwired assumptions about their location in bzrlib.plugins.bzrtools --
> then it stupid for me.
The hardwired assumptions are in the test suite.
> Because bzr-gtk is such stupid thing. It *require* to be installed to
> bzrlib.plugins.gtk. That's in turn require to have bzr itself to be
> installed
No, it doesn't. Anything in ~/.bazaar/plugins or the Windows equivalent
will be named as bzrlib.plugins.foo
But also, if you want to put the plugin in bzrlib/plugins instead,
that's fine. And it still doesn't require to you install bzr.
> I think that installing plugins it's *bad* idea and break main plugins
> idea. And require to plugin have canonical python name is also bad idea
> because now it works in any case.
Having non-canonical names doesn't give you much, because you can only
have one copy of a plugin at a time. It makes it hard for bzr to detect
particular plugins, and for plugins to detect and use each other.
Aaron
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFFNxz90F+nu1YWqI0RAiPwAJ4sTF7JtNgB0hTaJ4BMzhXpMfNckQCeLe5+
7qYCngt8NjEZSkr8VsKn0jA=
=d6OG
-----END PGP SIGNATURE-----
More information about the bazaar
mailing list