What's up with plugins and 0.15?
Aaron Bentley
aaron.bentley at utoronto.ca
Wed Apr 4 19:24:58 BST 2007
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Wichmann, Mats D wrote:
> My first look at 0.15 wasn't terribly positive...
>
> Unable to load plugin 'bzr-tags' from '/home/mats/.bazaar/plugins': It
> is not a valid python module name.
> Unable to load plugin 'bzr-gtk' from '/home/mats/.bazaar/plugins': It is
> not a valid python module name.
> Unable to load plugin 'pqm-submit' from '/home/mats/.bazaar/plugins': It
> is not a valid python module name.
> Unable to load plugin 'update-mirrors' from
> '/home/mats/.bazaar/plugins': It is not a valid python module name.
>
> The other plugins in my home directory are not
> saying this.
>
> What's up with this?
Hypens are no longer permitted in plugin names. We want plugins to have
valid python identifiers, so that we can refer to them with
"bzrlib.plugins.$NAME". But hyphens aren't permitted in python identifiers.
"bzr-gtk" should be renamed to "gtk" and "pqm-submit" should be renamed
to "pqm". (I don't know what bzr-tags or update-mirrors should be).
Aaron
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFGE+160F+nu1YWqI0RAv7xAKCALhNfGpJCIb6CTTCfJccDcpZoJACfebxz
APSJyW1vuzLpQ6Lj090/Dug=
=DGvD
-----END PGP SIGNATURE-----
More information about the bazaar
mailing list