Writing Plugins
John Arbash Meinel
john at arbash-meinel.com
Sat Jul 4 16:16:25 BST 2009
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Russel Winder wrote:
> In a plugin, if I have:
>
> version_info = ( 0 , 0 , 0 , 'dev' , 0 )
>
> then "bzr plugins" reports a version number of 0.0dev. If however I
> have:
>
> version_info = ( 0 , 0 , 0 , 'dev' , 1 )
>
> then "bzr plugins" reports a version number of 0.0.0.dev.1. Is this the
> intended behaviour?
>
Yes.
It is actually expected that you wouldn't have anything after a 'dev'
statement, and the code used to abort in that case. (You shouldn't every
*really* release 'dev', that is what 'final' and 'candidate' are for.)
The last dot is meant as "1.16.1-rcX", which doesn't make much sense in
'dev'.
I believe bzr-gtk forced the issue, by *releasing* (0, 96, 1, 'dev', 1)
at some point in the past.
John
=:->
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iEYEARECAAYFAkpPckkACgkQJdeBCYSNAAPtqgCfVSB2Vm9287xXYibmtvhw4Rhh
zIgAoNXAaCuyAUv/+7BgItgL5LZ8Gi20
=jcQJ
-----END PGP SIGNATURE-----
More information about the bazaar
mailing list