Dear List,
I experience a problem with ConfigurationOfXMLSupport. Apparently the last version is not the right one. In ConfigurationOfXMLSupport, there are 3 methods: version100: spec <version: '1.0' imports: #('1.0-baseline') > version101: spec <version: '1.0.1' imports: #('1.0.1-baseline') > version102: spec <version: '1.0.2' imports: #('1.0.1-baseline') > According to the version number schema proposed by Dale, I would expect 1.0.2 to be the last version. But apparently this is not the case: ConfigurationOfXMLSupport project latestVersion => ~1.0 [ConfigurationOfXMLSupport] By looking at the definition of the versionXXX and baselineXXX methods, I haven't spotted something that is obviously wrong. Help would be appreciated. Cheers, Alexandre -- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;. |
On 24 févr. 2010, at 04:45, Alexandre Bergel wrote: > Dear List, > > I experience a problem with ConfigurationOfXMLSupport. Apparently the last version is not the right one. > In ConfigurationOfXMLSupport, there are 3 methods: > version100: spec > <version: '1.0' imports: #('1.0-baseline') > > > version101: spec > <version: '1.0.1' imports: #('1.0.1-baseline') > > > version102: spec > <version: '1.0.2' imports: #('1.0.1-baseline') > > > According to the version number schema proposed by Dale, I would expect 1.0.2 to be the last version. But apparently this is not the case: > > ConfigurationOfXMLSupport project latestVersion > => ~1.0 [ConfigurationOfXMLSupport] > > By looking at the definition of the versionXXX and baselineXXX methods, I haven't spotted something that is obviously wrong. Usually it's a problem with blessings. lastVersion gets the most recent version which is not a baseline, broken, or a development. Looking at the code, both 1.0.1 and 1.0.2 are tagged with development, so it's not a surprise to get 1.0 as the latestVersion -- Simon |
On 24 févr. 2010, at 08:25, Simon Denier wrote: > > On 24 févr. 2010, at 04:45, Alexandre Bergel wrote: > >> Dear List, >> >> I experience a problem with ConfigurationOfXMLSupport. Apparently the last version is not the right one. >> In ConfigurationOfXMLSupport, there are 3 methods: >> version100: spec >> <version: '1.0' imports: #('1.0-baseline') > >> >> version101: spec >> <version: '1.0.1' imports: #('1.0.1-baseline') > >> >> version102: spec >> <version: '1.0.2' imports: #('1.0.1-baseline') > >> >> According to the version number schema proposed by Dale, I would expect 1.0.2 to be the last version. But apparently this is not the case: >> >> ConfigurationOfXMLSupport project latestVersion >> => ~1.0 [ConfigurationOfXMLSupport] >> >> By looking at the definition of the versionXXX and baselineXXX methods, I haven't spotted something that is obviously wrong. > > > Usually it's a problem with blessings. lastVersion gets the most recent version which is not a baseline, broken, or a development. > Looking at the code, both 1.0.1 and 1.0.2 are tagged with development, so it's not a surprise to get 1.0 as the latestVersion Sorry, should have proofread myself latestVersion gets the most recent version which is not a baseline, broken, or a development. lastVersion gets the last version according to the total ordering of versions -- Simon |
Excellent!
Thanks Simon, Alexandre On 24 Feb 2010, at 06:30, Simon Denier wrote: > > On 24 févr. 2010, at 08:25, Simon Denier wrote: > >> >> On 24 févr. 2010, at 04:45, Alexandre Bergel wrote: >> >>> Dear List, >>> >>> I experience a problem with ConfigurationOfXMLSupport. Apparently >>> the last version is not the right one. >>> In ConfigurationOfXMLSupport, there are 3 methods: >>> version100: spec >>> <version: '1.0' imports: #('1.0-baseline') > >>> >>> version101: spec >>> <version: '1.0.1' imports: #('1.0.1-baseline') > >>> >>> version102: spec >>> <version: '1.0.2' imports: #('1.0.1-baseline') > >>> >>> According to the version number schema proposed by Dale, I would >>> expect 1.0.2 to be the last version. But apparently this is not >>> the case: >>> >>> ConfigurationOfXMLSupport project latestVersion >>> => ~1.0 [ConfigurationOfXMLSupport] >>> >>> By looking at the definition of the versionXXX and baselineXXX >>> methods, I haven't spotted something that is obviously wrong. >> >> >> Usually it's a problem with blessings. lastVersion gets the most >> recent version which is not a baseline, broken, or a development. >> Looking at the code, both 1.0.1 and 1.0.2 are tagged with >> development, so it's not a surprise to get 1.0 as the latestVersion > > > Sorry, should have proofread myself > > latestVersion gets the most recent version which is not a baseline, > broken, or a development. > > lastVersion gets the last version according to the total ordering of > versions > > -- > Simon > > -- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;. |
Free forum by Nabble | Edit this page |