krfkeith / metacello

Automatically exported from code.google.com/p/metacello
0 stars 0 forks source link

validator ought to issue critical warnings when versionString in version pragma doesn't match parsed version printString #179

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
In a nutshell, when a version is specified as follows

  <version: '4.04' imports: #('4.2-baseline' )> 

the following is NOT true:

 '4.04' asMetacelloVersionNumber versionString = '4.04'

instead 

  '4.04' asMetacelloVersionNumber versionString

returns '4-04'. This is worth a critical warning at minimum!

for more details see:

  http://groups.google.com/group/metacello/msg/eb5b5a2af58c7141

Original issue reported on code.google.com by henrichs...@gmail.com on 28 Feb 2012 at 12:42

GoogleCodeExporter commented 9 years ago
The "correct" version string would be '4.4' as Metacello sorts numeric values 
correctly and leading '0' is not needed. The leading '0' is only needed as a 
place holder if versions sorted as strings... 

Original comment by henrichs...@gmail.com on 28 Feb 2012 at 12:44

GoogleCodeExporter commented 9 years ago

Original comment by henrichs...@gmail.com on 19 May 2012 at 7:41