RFC: bzr --version should also announce installed plugins
Jari Aalto
jari.aalto at cante.net
Thu Mar 22 19:52:38 GMT 2007
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
Jari
More information about the bazaar
mailing list