RFC: bzr --version should also announce installed plugins

Alexander Belchenko bialix at ukr.net
Thu Mar 22 20:04:24 GMT 2007


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

Jari Aalto пишет:

> Consider this Cygwin example:
>
>     $ bzr --version
>
>     Bazaar (bzr) 0.15.0candidate2
>     Using python interpreter: /usr/bin/python2.5
>     Using python standard library: /usr/lib/python2.5
>     Using bzrlib: /usr/lib/python2.5/site-packages/bzrlib
>     Using bazaar configuration: /cygdrive/x/home/jaalto/.bazaar
>
>     Copyright 2005, 2006, 2007 Canonical Ltd.
>     http://bazaar-vcs.org/
>
>     bzr comes with ABSOLUTELY NO WARRANTY.  bzr is free software, and
>     you may use, modify and redistribute it under the terms of the GNU
>     General Public License version 2 or later.
>
> it'd be nice if the lines would also indicate what plugins are
> installed with the bzr. Let me suggest
>
>     Bazaar (bzr) 0.15.0candidate2
>     Using python interpreter: /usr/bin/python2.5
>     Using python standard library: /usr/lib/python2.5
>     Using bzrlib: /usr/lib/python2.5/site-packages/bzrlib
>     Using bazaar configuration: /cygdrive/x/home/jaalto/.bazaar
> +   plugin directory: /usr/lib/python2.5/site-packages/bzrlib/plugins
> +   plugins: bzrtools 0.15.3, ...
>     ...
>
> I believe it would be easy to iterate over directory
>
>     /usr/lib/python2.5/site-packages/bzrlib
>
> and gather the information needed for the display
>
Run:
bzr plugins

[µ]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGAuFIzYr338mxwCURAu0SAJ4/s3Kn5qGwjX6zQbwlpuU5y2wp4gCfTqVl
Qoor7/g/9OUB33nmBvWOgXk=
=mp1s
-----END PGP SIGNATURE-----



More information about the bazaar mailing list