ScriptUO
General => Off Topic => Topic started by: cgeorgemo on October 29, 2009, 07:13:32 AM
-
I'm confused about the numbering system that people use for the scripts.
I mean I understand that version 1 is older than version 2 but how do you decide when to change a version number.
Is it every time you fix a bug and resubmit your script or do you wait and gather a few issues and fix them all at once?
If you do a change to a few subs to streamline them is that worth a jump from say version 1 to version 2?
-
Version 1.0 is the first, fully functional version of the script.
Versions 1.1 - 1.9 or even 1.10 - 1.99 are variations of the original to add/change/modify the script, but not so much as to warrant a new version
Version 2.0 is enough of a difference from v1.0 that it deserves a new version number.
That's just my thoughts....
-
In reality. not saying everyone does this, but it should be similar to this. version 2.123 lets say. 2. being the actually version of the script and the .123 being updates or upgrades or fixes to that version of the script.
-
I have no rhyme or reason to my version numbering from script to script. I've been thinking about moving to a strict numbering system so that I can do math on a version number to select if a script is compatible due to version additional features.
-
Whole number = New Feature Release
Decimal Number = Fix to the feature release
Each Decimal place = Fix to a fix (basically)
For example:
1.0 = initial release
1.1 = Fix to a problem or slight enhancement to 1.0
1.11 = Adjustment to the enhancement in 1.1
2.0 = Added a whole new function/feature
Etc
-
I've also seen people who use dates...
v1.091029 (YYMMDD)
-
I use the same philosophy is Cerv.
-
No real Rymth or reason But generally
X.y
X = Major updates over a lower X (new features)
y = Minor updates over a Lower Y (old features fixes)
Sometimes ill update X if its a scipt that is only updated very infrequent .. like my GM detector .. updated about once a year so what ever update minor or major it gets a +x
If thiers been a significatant amount of Y increases ill bump to a new X, even if no major new features are added.
Depending on the shift of the moon, the color of the sky, the ambient outside air temperature, what side of the bed i woke up on, if i had my tea yet, how many phone calls i have gotten or other misc infleuences all of the above is chucked out the window and pure random x,y increases decreases can happen.
-
I go along with most everyone here. For instance, my W.I.T. is in version 0.95 Beta. I consider it beta since it does not yet have all the features and rails I plan on including with it, and therefore has not yet adopted the 1.0 version.
-
I just increment numbers. Of course, I'm not nearly as good at scripting as most reading this thread...
:)