bzr --version should also report plugin versions (bzrlib ...)

Jari Aalto jari.aalto at cante.net
Fri Aug 3 21:02:45 BST 2007


* Fri 2007-08-03 John Arbash Meinel <john AT arbash-meinel.com>
* Message-Id: 46B37205.5060101 AT arbash-meinel.com
> Jari Aalto wrote:
>
>> I would have a small wish to next bzr version:
>>
>>     $ bzr --version
>>
>>     Bazaar (bzr) 0.18.0
>>       from bzr checkout /usr/lib/python2.5/site-packages/bzrlib
>>         revision: 2
>>         revid: jari.aalto AT cante.net-20070401090549-bigooycypl8hej66
>>         branch nick: bzrlib
>>     Using Python interpreter: /usr/bin/python
>>     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
>>     Using Bazaar log file: /cygdrive/x/home/jaalto/.bzr.log
>>
>> It would be nice if the plugin version numbers were also reported:
>>
>>     Using bzrlib: /usr/lib/python2.5/site-packages/bzrlib 0.18.0
>>
>> It's a little difficult to grep under
>>
>>     /usr/lib/python2.5/site-packages/bzrlib
>>
>> and decode where the version infomation might be.
>>
>> Jari
>
> I could see putting that into 'bzr plugins', I wouldn't really do it for 'bzr
> --version' though.
>
> I realize I'm probably not typical, but I have 9 plugins installed right now,
> and 39 more in my "DEACTIVATED" folder, because I don't use them as often.
>
> Also, many plugins don't provide a version number. 

I think this should be a mandatory for all plugins. That would help
communicating with the developers, reporting problems and sorting
out possible compatibility issues.

> But I think it would be
> reasonable for 'bzr plugins' to list a version number if it can find one.

Good idea. In that case --version should not display any plugin
information.

Jari




More information about the bazaar mailing list