[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-----
Hash: SHA1

James Westby wrote:
> Hi,
> 
> 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
> bzr_whatever?
> 
> Hopefully Martin's plugin installer work will mitigate this even
> more, but I think this is a benefit to have anyway.
> 
> Thanks,
> 
> James

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".

BB:approve

This is very bzr-project specific, but the plugins are bzr-project
specific, so it is okay.

John
=:->

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFH3nimJdeBCYSNAAMRAnQmAKC0hO6BJ7KWNhuHevBtzdvgcucR3ACgkME6
YDZSxAndwhE/vE5apGPQPSg=
=1mWc
-----END PGP SIGNATURE-----



More information about the bazaar mailing list