ChadSmiley Blog Things about family, life, coding, and more

6Jun/062

Template Build discussion

Currently Set Template Version uses three pieces of information TemplateBuildName, TemplateBuild, and TemplateBuildDate.  Each of these is a string which is not a problem, but Vince created a web service for checking for updates that uses Project, BuildNumber, and BuildName as strings but BuildNumber is a double.  The double is needed to see if there is a new version available, and a string can not be used because 1.1.1 is different than 1.01.01 or 1.1.10.  Thus the discussion!

I would like to see some consistency between these so the Build Template class can work.  The two are very close TemplateBuildName = Project and TemplateBuild = BuildName.  The only difference is the BuildNumber with no corresponding field on the $TemplateBuild shared field.  What I am proposing is enhancing Set Template Version to include on more additional field called Template Build which would be a number allowing a decimal.  Leaving Template Version (TemplateBuild) as a string will allow for 1.0.0 beta 1 and multiple decimals.
Please let me know your thoughts.

Filed under: Domino 2 Comments