On Wednesday 29 December 2010 01:04:40 Thomas Perl wrote:
> Hi all,
> 

> 
> The 1.0.0 beta 1 could have a version number of 0.99.1 (beta
> 2 could have 0.99.2, etc..) - this would allow the version
> number to always be "dotted decimal" and have the versions
> correctly ordered by comparison.
> 
> I know that we can't change this for now, but maybe this
> could be a consideration for the future (i.e. the "1.1" beta
> 1 could be "1.0.99.1" or whatever).
> 
> This way, beta versions are sorted "before" the final
> releases, but still work fine for total ordering. Let's say
> the imaginary version 1.1 would have four beta releases and
> the final release:
> 
> 1.0.99.1
> 1.0.99.2
> 1.0.99.3
> 1.0.99.4
> 1.1
> 
> Now, you write your application and depend on a feature
> introduced in beta 2 (i.e. "1.0.99.2") - you could now make
> a version check for "greater than 1.0.99.2", and it will
> have the correct dependency (assuming that the feature isn't
> removed in later betas). Oh, and due to the way tuples are
> compared, you could literally write "PySide.__version_info__
> >= (1, 0, 99, 2)" :)
> 
> Again, this does not solve the current problem, but it could
> help in defining a policy to follow for future (post-1.0.0)
> releases and beta releases :)
> 
> 
> HTH.
> Thomas

Yes, it does, Thomas!
I agree with you 100%, but there is nothing magic in x.x.x 
numbering. It could well be y.y.y.y   :)

I take the pragmatic view - nobody will want to change version 
numbers backwards.  By all means let us start in future with 
1.0.1, then 1.0.2 etc. ever with increasing number (never 
decreasing).  But I will live with anything, provided it clearly 
identifies the version!

Al.

Hell, it's 2:46 hrs here ... Not good for oldies to be up and 
about.  :)
A.
> _______________________________________________
> PySide mailing list
> [email protected]
> http://lists.openbossa.org/listinfo/pyside

-- 
Algis
http://akabaila.pcug.org.au
_______________________________________________
PySide mailing list
[email protected]
http://lists.openbossa.org/listinfo/pyside

Reply via email to