I think that:

  #(#squeakCommon #pharo #'pharo2.x' #'pharo2.0.x')

is the standard pattern. #'pharo2.x' implies that the code is common across the 
whole pharo2 family. #'pharo2.0.x' covers the pharo2.0 family. 

If you want to explicitly exclude pharo2.1, pharo2.2, etc. and beyond then the 
following would suffice:

  #(#squeakCommon #pharo #'pharo2.0.x')

but I think it is better to define the full range of versions for each platform 
rather than exclude some. Then if a developer finds that they've got code that 
runs in 2.0 and 2.1 they can have an attribute available to cover their needs.

The #'pharo2.x' is looking forward towards future releases...

Dale

----- Original Message -----
| From: "stephane ducasse" <[email protected]>
| To: "Pharo Development" <[email protected]>
| Sent: Friday, October 26, 2012 1:20:24 PM
| Subject: [Pharo-project] is Smalltalk metacelloPlatformAttributes incorrect   
in 2.0
| 
| Smalltalk metacelloPlatformAttributes #(#squeakCommon #pharo
| #'pharo2.x' #'pharo2.0.x')
| 
| I have the impression that we should better have
| 
| #(#squeakCommon #pharo #'pharo2.0' #'pharo2.0.x')
| 
| what do you think?
| 
| Stef
| 

Reply via email to