Mantis - Squeak
Viewing Issue Advanced Details
7308 System minor always 03-06-09 21:37 10-03-09 19:33
Keith_Hodges  
andreas  
high  
assigned  
reopened  
none    
none 3.10.2bc  
0007308: SystemVersion product and majorMinorVersion
In the current era of multiple forks SystemVersion has no facilities for returning the #product #major #majorMinor #suffix portions of the version string.

There is currently a #majorMinorVersion which is provided as an extension by SqueakMap.

This changeset provides a new implementation named #majorMinor so as to enable the many packages which use it to migrate, and for SM to remove their extension.
child of 0007423new  Fixes included in Level Playing Field 
 SystemVersion.kph.1.cs [^] (2,212 bytes) 03-06-09 21:56

Notes
(0013010)
Keith_Hodges   
03-06-09 21:38   
"fix begin"
Installer mantis bug: 7308 fix: 'SystemVersion.kph.1.cs'.
"fix end"
(0013214)
Damien Cassou   
07-30-09 12:52   
This changeset has problems:

- #poductMajorMinor instead of #productMajorMinor
- #major also returns the product name
- #majorMinor returns a Stream whereas the others return a String
(0013215)
Damien Cassou   
07-30-09 12:59   
Unit tests would also help and are easy to do.
The SqueakMap method #majorMinorVersion should not be removed from the changeset.