How to tell to bzr version of plugin?
Robert Collins
robertc at robertcollins.net
Thu Oct 4 03:11:49 BST 2007
On Wed, 2007-10-03 at 07:13 -0500, John Arbash Meinel wrote:
> I believe it uses:
>
> version_info = (0, 0, 1, 'dev', 0)
yes
> I would have thought it would also use
>
> __version__ = '0.0.1.dev.0'
it does not.
> But it certainly uses the 'version_info' style.
I wanted to be able to depend on the structured data of version_info,
and in the spirit of DRY, having string formatted versions in each
plugin is redundant, and - noting how Martin changed the formatter in
bzr in 0.91 - prone to skew. (BTW, what was that change for?)
-Rob
--
GPG key available at: <http://www.robertcollins.net/keys.txt>.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20071004/e52ccaa9/attachment.pgp
More information about the bazaar
mailing list