[MERGE] Strip "bzr_" from the start of the suggested plugin name.
John Arbash Meinel
john at arbash-meinel.com
Mon Mar 17 13:56:54 GMT 2008
-----BEGIN PGP SIGNED MESSAGE-----
James Westby wrote:
> Here's another small improvement suggested by Andrew.
> If the user does bzr branch lp:bzr-svn to install it
> they will get a directory named bzr-svn. bzr won't load
> this, and will suggest bzr_svn instead, but this then
> breaks bzr-svn.
> This change strips bzr_ from the front of the suggestion.
> Does anyone know of a plugin that requires itself to be named
> Hopefully Martin's plugin installer work will mitigate this even
> more, but I think this is a benefit to have anyway.
I think this is fine. As a general rule we name our plugins "bzr-foo"
and they should be installed as "foo". The only exception I know of is
"bzrtools" which is installed as "bzrtools".
This is very bzr-project specific, but the plugins are bzr-project
specific, so it is okay.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
-----END PGP SIGNATURE-----
More information about the bazaar