Announce: simple 'hello' plugin

John Arbash Meinel john at arbash-meinel.com
Fri Oct 26 17:40:36 BST 2007


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

I just put together a very simple "bzr hello" plugin. I wanted a simple way to
measure the latency of connecting to a smart server, and communicating with it.

The plugin outputs something like:
% bzr hello bzr+ssh://bazaar.launchpad.net
get_transport: 0.274s
connecting ... response: ('ok', '2')
first hello: 3.787s
Average ping: 155.0ms

It is available as "lp:bzr-hello", or the more complete path of:
https://launchpad.net/bzr-hello

I don't think this is really worthy of merging into core. Though it might be
nice to have some sort of quick check that you have a remote smart server running.

The other reason I wrote it, was to see what the handshake time was, compared
to the latency. (Plus bazaar.launchpad.net is not 'ping'-able.)

The attached MD is just the complete history of the branch, in case you want to
install it directly. Just download the bundle and

bzr init ~/.bazaar/plugins/hello
cd ~/.bazaar/plugins/hello
bzr pull ~/hello.patch

John
=:->
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHIhiEJdeBCYSNAAMRAoNGAKDN6wBvTvTyde2053pTaahuo/ngtACeL4Ev
UbPR40m3mLvCs/QtNeML3Ek=
=Fy8y
-----END PGP SIGNATURE-----
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: hello.patch
Url: https://lists.ubuntu.com/archives/bazaar/attachments/20071026/bcdcb9e4/attachment-0001.diff 


More information about the bazaar mailing list