Program version numbers?

Status
Not open for further replies.

Dan P

Ars Scholae Palatinae
832
Subscriptor++
Is there a generally accepted way of doing version numbers for a program. For example, what meaning does version 1.11 versus version .051b have? I tried searching on google for this type of information but I couldnt' find anything. I could have sworn it was discussed on ars before, but a search for "versioning" didn't bring up anything useful.

Could someone help a relative n00b out on this?
 

CanSpice

Ars Tribunus Angusticlavius
7,147
You're pretty much on your own for this one. However, if you want to follow the Mozilla/Linux kernel philosophy, you have versions consisting of three numbers like so:

Code:
 xx.yy.zz

xx is for major releases, like a Mozilla 1.0.0 release (which hasn't happened yet). yy is for minor releases. A level above bugfixes, but not offering so much more over the previous version that it warrants being called a major release. zz is for fixes.

Note that a release of 0.10.1 would generally be released after a release of 0.9.9. This doesn't always hold true, as development branches can fork, allowing some people to work on the 0.9.9 tree (and they would presumably release releases numbered 0.9.10, 0.9.11, and so on) and others to work on the 0.10 tree.

And if you're busting into beta versions, you can just say "1.0 beta", which in Mozilla-speak would be almost an equivalent of 0.9.9.

However, you're pretty much free to define versions however you want. One project I worked on had releases that went 0.999.99cz, 0.999.99da, and so on, because the lead guy didn't want a 1.0 release. :) (And if he's reading, you know who you are!)

[edit] OMG. I should post this there too. :) [/edit]
 
Status
Not open for further replies.