plugin: sftp transport

Robey Pointer robey at lag.net
Wed Oct 19 22:55:25 BST 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


On 19 Oct 2005, at 6:36, John Arbash Meinel wrote:

> Also, you have it require paramiko, which means that you can't even  
> run
> bzr anymore.
>
> The exception really should be such that if it can't load the sftp  
> code,
> that it at most gives a warning and continues.
>
> That way people who chose not to install paramiko yet, don't have to,
> and still have full usability for a local system.

I agree.  How about letting plugins raise an exception  
("PluginFailedException"?) which causes bzr to silently ignore the  
plugin.  That way, the SFTP plugin could immediately abort when  
paramiko fails to load (possibly logging a warning?), but not hook  
itself into bzr and not cause bzr to abort.

robey

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (Darwin)

iD8DBQFDVsDRQQDkKvyJ6cMRAjGIAKCEjzkmzeUWohI5hBN65jBmM8ar2QCfZPo/
LEjjIvsp5J1u4FMSdnA8XnY=
=EEHI
-----END PGP SIGNATURE-----




More information about the bazaar mailing list