[Pharo-project] About configurationOfPharoRB
Hi there is stable: spec <symbolicVersion: #stable> spec for: #'pharo1.0.x' version: '1.2.1'. spec for: #'pharo1.1.x' version: '1.5'. spec for: #'pharo1.2.x' version: '1.7'. spec for: #'pharo1.3.x' version: '1.7'. spec for: #'squeak4.x' version: '1.6'. Now I'm confused because there is only a version 1.0 in this configuration. Did I miss something obvious or this is just deadcode? Stef
Stef, Where did ConfigurationOfPharoRB come from? There is a ConfigurationOfRefactoringBrowser and the stable: method matches. In ConfigurationOfRefactoringBrowser there are versions 1.0 through 1.7.1, so ConfigurationOfPharoRB might just be dead code ... Dale ----- Original Message ----- | From: "Stéphane Ducasse" <stephane.ducasse@inria.fr> | To: "pharo-project Development" <Pharo-project@lists.gforge.inria.fr> | Sent: Sunday, August 7, 2011 12:12:04 PM | Subject: [Pharo-project] About configurationOfPharoRB | | Hi | | there is | | stable: spec | <symbolicVersion: #stable> | spec for: #'pharo1.0.x' version: '1.2.1'. | spec for: #'pharo1.1.x' version: '1.5'. | spec for: #'pharo1.2.x' version: '1.7'. | spec for: #'pharo1.3.x' version: '1.7'. | spec for: #'squeak4.x' version: '1.6'. | | Now I'm confused because there is only a version 1.0 in this | configuration. | Did I miss something obvious or this is just deadcode? | | Stef | |
Stef,
Where did ConfigurationOfPharoRB come from? There is a ConfigurationOfRefactoringBrowser and the stable: method matches. In ConfigurationOfRefactoringBrowser there are versions 1.0 through 1.7.1, so ConfigurationOfPharoRB might just be dead code ...
Ok I see the PharoRB was a configuration we did (probably because we forgot about the other because we needed to start changing part. For example to have Environment not referencing RBParser so that we can use them independently. There was also something about AST. Now I puzzled because I have the two following specs, when I do (ConfigurationOfPharoRB project version: '1.0') load or (ConfigurationOfPharoRB project version: '1.0') load: 'Tests' 'Refactoring-Extensions-Environment' is not load but it is part of Core Do you have an idea? I will at ConfigurationOfRefactoringBrowser baseline10: spec <version: '1.0-baseline'> spec for: #pharo do: [ spec repository: 'http://www.squeaksource.com/rb'. spec package: 'AST-Core' with: [spec repository: 'http://www.squeaksource.com/PharoRB' ]; "We split the original package into two so that AST does not depend on RBParser." package: 'AST-Tests-Core' with: [ spec requires: 'AST-Core' ]; package: 'AST-Semantic' with: [ spec requires: 'AST-Core' ]; package: 'AST-Tests-Semantic' with: [ spec requires: 'AST-Semantic' ]; package: 'Refactoring-Environment' with: [ spec requires: 'AST-Core'. spec repository: 'http://www.squeaksource.com/PharoRB' ]; "We were refactoring the way rb deals with environments because we want it to be parametrized over an environment (since the complete chain should be environmentized so that we can deal with remote compilation and others off image manipulation. so far RB has the idea that an environment by default represents the complete universe and we will have to change that in the future." package: 'Refactoring-Tests-Environment' with: [ spec requires: 'Refactoring-Environment'. spec repository: 'http://www.squeaksource.com/PharoRB' ]; package: 'Refactoring-Extensions-Environment' with: [ spec repository: 'http://www.squeaksource.com/PharoRB' ]; package: 'Refactoring-Changes' with: [ spec repository: 'http://www.squeaksource.com/PharoRB'; requires: 'Refactoring-Environment' ]; package: 'Refactoring-Tests-Changes' with: [ spec requires: 'Refactoring-Changes' ]; package: 'Refactoring-Core' with: [ spec requires: 'Refactoring-Changes' ]; package: 'Refactoring-Tests-Core' with: [ spec requires: 'Refactoring-Core' ]; package: 'Refactoring-Critics' with: [ spec requires: 'Refactoring-Changes' ]; package: 'Refactoring-Tests-Critics' with: [ spec requires: 'Refactoring-Critics' ]; package: 'Refactoring-Spelling' with: [ spec requires: 'Refactoring-Critics'. spec postLoadDoIt: #postLoadRBSpelling ]; package: 'Refactoring-Tests-Spelling' with: [ spec requires: 'Refactoring-Tests-Critics'. ]. spec group: 'default' with: #('Core' ); group: 'Core' with: #( 'AST-Core' 'AST-Semantic' 'Refactoring-Environment' 'Refactoring-Extensions-Environment' 'Refactoring-Changes' 'Refactoring-Core' 'Refactoring-Critics' 'Refactoring-Spelling' ); group: 'Tests' with: #( 'AST-Tests-Core' 'AST-Tests-Semantic' 'Refactoring-Tests-Environment' 'Refactoring-Tests-Changes' 'Refactoring-Tests-Core' 'Refactoring-Tests-Critics' 'Refactoring-Tests-Spelling' ); group: 'Core Tests' with: #('Core' 'Tests' ); yourself. ]. baseline10: spec <version: '1.0-baseline'> spec for: #pharo do: [ spec repository: 'http://www.squeaksource.com/rb'. spec package: 'AST-Core' with: [spec repository: 'http://www.squeaksource.com/PharoRB' ]; "We split the original package into two so that AST does not depend on RBParser." package: 'AST-Tests-Core' with: [ spec requires: 'AST-Core' ]; package: 'AST-Semantic' with: [ spec requires: 'AST-Core' ]; package: 'AST-Tests-Semantic' with: [ spec requires: 'AST-Semantic' ]; package: 'Refactoring-Environment' with: [ spec requires: 'AST-Core'. spec repository: 'http://www.squeaksource.com/PharoRB' ]; "We were refactoring the way rb deals with environments because we want it to be parametrized over an environment (since the complete chain should be environmentized so that we can deal with remote compilation and others off image manipulation. so far RB has the idea that an environment by default represents the complete universe and we will have to change that in the future." package: 'Refactoring-Tests-Environment' with: [ spec requires: 'Refactoring-Environment'. spec repository: 'http://www.squeaksource.com/PharoRB' ]; package: 'Refactoring-Extensions-Environment' with: [ spec repository: 'http://www.squeaksource.com/PharoRB' ]; package: 'Refactoring-Changes' with: [ spec repository: 'http://www.squeaksource.com/PharoRB'; requires: 'Refactoring-Environment' ]; package: 'Refactoring-Tests-Changes' with: [ spec requires: 'Refactoring-Changes' ]; package: 'Refactoring-Core' with: [ spec requires: 'Refactoring-Changes' ]; package: 'Refactoring-Tests-Core' with: [ spec requires: 'Refactoring-Core' ]; package: 'Refactoring-Critics' with: [ spec requires: 'Refactoring-Changes' ]; package: 'Refactoring-Tests-Critics' with: [ spec requires: 'Refactoring-Critics' ]; package: 'Refactoring-Spelling' with: [ spec requires: 'Refactoring-Critics'. spec postLoadDoIt: #postLoadRBSpelling ]; package: 'Refactoring-Tests-Spelling' with: [ spec requires: 'Refactoring-Tests-Critics'. ]. spec group: 'default' with: #('Core' ); group: 'Core' with: #( 'AST-Core' 'AST-Semantic' 'Refactoring-Environment' 'Refactoring-Extensions-Environment' 'Refactoring-Changes' 'Refactoring-Core' 'Refactoring-Critics' 'Refactoring-Spelling' ); group: 'Tests' with: #( 'AST-Tests-Core' 'AST-Tests-Semantic' 'Refactoring-Tests-Environment' 'Refactoring-Tests-Changes' 'Refactoring-Tests-Core' 'Refactoring-Tests-Critics' 'Refactoring-Tests-Spelling' ); group: 'Core Tests' with: #('Core' 'Tests' ); yourself. ].
I'm currently checking configurationOfRefactoringBrowser and it would be good that package: 'Refactoring-Changes' with: [ spec repository: 'http://www.squeaksource.com/PharoTaskForces'; requires: 'Refactoring-Environment' ]; gets moved to PharoRB project. I will start to do that for 1.4 and after I will add the changes we did in the other configurations if I succeed to make it load what I want. At least having only one configuration should help. Stef
Dale I added stable: spec <symbolicVersion: #stable> spec for: #'pharo1.0.x' version: '1.2.1'. spec for: #'pharo1.1.x' version: '1.5'. spec for: #'pharo1.2.x' version: '1.7'. spec for: #'pharo1.3.x' version: '1.7'. spec for: #'pharo1.4.x' version: '1.8'. spec for: #'squeak4.x' version: '1.6'. and a new baseline and version but when I do (ConfigurationOfRefactoringBrowser project version: #'stable') load I get an error. Do you have an idea? Stef version18: spec <version: '1.8' imports: #('1.8-baseline' )> spec for: #'common' do: [ spec blessing: #'release'. spec description: 'RefactoringBrowser for pharo 1.4 alpha. For this version we just move the place to look for Refactoring-Changes. Now there is a project for RB for pharo: It is called PharoRB'. spec author: 'StephaneDucasse'. spec timestamp: '2011-08-07T21:54:25+00:00'. "DateAndTime now asString" ]. spec for: #'pharo' do: [ spec package: 'AST-Core' with: 'AST-Core-lr.87'; package: 'AST-Tests-Core' with: 'AST-Tests-Core-lr.11'; package: 'AST-Semantic' with: 'AST-Semantic-lr.15'; package: 'AST-Tests-Semantic' with: 'AST-Tests-Semantic-lr.3'; package: 'Refactoring-Environment' with: 'Refactoring-Environment-lr.7'; package: 'Refactoring-Tests-Environment' with: 'Refactoring-Tests-Environment-lr.1'; package: 'Refactoring-Changes' with: 'Refactoring-Changes-GuillermoPolito.17'; package: 'Refactoring-Tests-Changes' with: 'Refactoring-Tests-Changes-lr.14'; package: 'Refactoring-Core' with: 'Refactoring-Core-lr.153'; package: 'Refactoring-Tests-Core' with: 'Refactoring-Tests-Core-lr.51'; package: 'Refactoring-Critics' with: 'Refactoring-Critics-lr.9'; package: 'Refactoring-Tests-Critics' with: 'Refactoring-Tests-Critics-lr.3'; package: 'Refactoring-Spelling' with: 'Refactoring-Spelling-pmm.25'; package: 'Refactoring-Tests-Spelling' with: 'Refactoring-Tests-Spelling-lr.6'. ]. spec for: #'squeak' do: [ spec description: 'Squeak support based on Squeak4.2-Trunk-10628'. spec package: 'AST-Core' with: 'AST-Core-lr.85'; package: 'AST-Semantic' with: 'AST-Semantic-lr.15'; package: 'Refactoring-Core' with: 'Refactoring-Core-lr.153'; package: 'Refactoring-Environment' with: 'Refactoring-Environment-lr.4'; package: 'Refactoring-Critics' with: 'Refactoring-Critics-lr.4'; package: 'Refactoring-Spelling' with: 'Refactoring-Spelling-lr.23'; package: 'Refactoring-Changes' with: 'Refactoring-Changes-lr.16']. spec for: #'gemstone' do: [ spec author: 'DaleHenrichs'. spec project: 'GsCore' with: '0.241'. spec package: 'AST-Core' with: 'AST-Core-DaleHenrichs.84'; package: 'AST-Tests-Core' with: 'AST-Tests-Core-DaleHenrichs.11'.].
Stef, I think I will have to make a new release defining attributes for Pharo 1.4... This is related to Metacello Issue 146[1]. Pharo1.4 would be a good place to introduce a method to define the Metacello attributes for the platform ... I think if you arrange to hang a method off of SmallImage (?) called defaultMetacelloPlatformAttributes that returned the following collection: ^#(#squeakCommon #pharo #'pharo1.x' #'pharo1.4.x') Then I could make a quick release of Metacello 1.0-beta.1.30.1 that would use that method and you'd be in business... Dale [1] http://code.google.com/p/metacello/issues/detail?id=146 ----- Original Message ----- | From: "Stéphane Ducasse" <stephane.ducasse@inria.fr> | To: Pharo-project@lists.gforge.inria.fr | Sent: Sunday, August 7, 2011 1:30:14 PM | Subject: Re: [Pharo-project] About configurationOfPharoRB | | Dale | | I added | | stable: spec | <symbolicVersion: #stable> | | spec for: #'pharo1.0.x' version: '1.2.1'. | spec for: #'pharo1.1.x' version: '1.5'. | spec for: #'pharo1.2.x' version: '1.7'. | spec for: #'pharo1.3.x' version: '1.7'. | spec for: #'pharo1.4.x' version: '1.8'. | spec for: #'squeak4.x' version: '1.6'. | | and a new baseline and version but when I do | | | (ConfigurationOfRefactoringBrowser project version: #'stable') load | | I get an error. | | Do you have an idea? | | Stef | | | | version18: spec | <version: '1.8' imports: #('1.8-baseline' )> | | spec for: #'common' do: [ | spec blessing: #'release'. | spec description: 'RefactoringBrowser for pharo 1.4 alpha. For this | version we just move the place to look for Refactoring-Changes. | Now there is a project for RB for pharo: It is called PharoRB'. | spec author: 'StephaneDucasse'. | spec timestamp: '2011-08-07T21:54:25+00:00'. "DateAndTime now | asString" | ]. | | spec for: #'pharo' do: [ | spec | | package: 'AST-Core' with: 'AST-Core-lr.87'; | package: 'AST-Tests-Core' with: 'AST-Tests-Core-lr.11'; | | package: 'AST-Semantic' with: 'AST-Semantic-lr.15'; | package: 'AST-Tests-Semantic' with: 'AST-Tests-Semantic-lr.3'; | | package: 'Refactoring-Environment' with: | 'Refactoring-Environment-lr.7'; | package: 'Refactoring-Tests-Environment' with: | 'Refactoring-Tests-Environment-lr.1'; | | package: 'Refactoring-Changes' with: | 'Refactoring-Changes-GuillermoPolito.17'; | package: 'Refactoring-Tests-Changes' with: | 'Refactoring-Tests-Changes-lr.14'; | | package: 'Refactoring-Core' with: 'Refactoring-Core-lr.153'; | package: 'Refactoring-Tests-Core' with: | 'Refactoring-Tests-Core-lr.51'; | | package: 'Refactoring-Critics' with: 'Refactoring-Critics-lr.9'; | package: 'Refactoring-Tests-Critics' with: | 'Refactoring-Tests-Critics-lr.3'; | | package: 'Refactoring-Spelling' with: | 'Refactoring-Spelling-pmm.25'; | package: 'Refactoring-Tests-Spelling' with: | 'Refactoring-Tests-Spelling-lr.6'. | | ]. | | spec for: #'squeak' do: [ | spec description: 'Squeak support based on Squeak4.2-Trunk-10628'. | spec | package: 'AST-Core' with: 'AST-Core-lr.85'; | package: 'AST-Semantic' with: 'AST-Semantic-lr.15'; | package: 'Refactoring-Core' with: 'Refactoring-Core-lr.153'; | package: 'Refactoring-Environment' with: | 'Refactoring-Environment-lr.4'; | package: 'Refactoring-Critics' with: 'Refactoring-Critics-lr.4'; | package: 'Refactoring-Spelling' with: | 'Refactoring-Spelling-lr.23'; | package: 'Refactoring-Changes' with: 'Refactoring-Changes-lr.16']. | spec for: #'gemstone' do: [ | spec author: 'DaleHenrichs'. | spec project: 'GsCore' with: '0.241'. | spec | package: 'AST-Core' with: 'AST-Core-DaleHenrichs.84'; | package: 'AST-Tests-Core' with: | 'AST-Tests-Core-DaleHenrichs.11'.]. |
I will wait a bit for more inputs and consider it to be done. http://code.google.com/p/pharo/issues/detail?id=4613 Stef On Aug 9, 2011, at 6:37 PM, Dale Henrichs wrote:
Stef,
I think I will have to make a new release defining attributes for Pharo 1.4... This is related to Metacello Issue 146[1]. Pharo1.4 would be a good place to introduce a method to define the Metacello attributes for the platform ...
I think if you arrange to hang a method off of SmallImage (?) called defaultMetacelloPlatformAttributes that returned the following collection:
^#(#squeakCommon #pharo #'pharo1.x' #'pharo1.4.x')
Then I could make a quick release of Metacello 1.0-beta.1.30.1 that would use that method and you'd be in business...
Dale
[1] http://code.google.com/p/metacello/issues/detail?id=146
----- Original Message ----- | From: "Stéphane Ducasse" <stephane.ducasse@inria.fr> | To: Pharo-project@lists.gforge.inria.fr | Sent: Sunday, August 7, 2011 1:30:14 PM | Subject: Re: [Pharo-project] About configurationOfPharoRB | | Dale | | I added | | stable: spec | <symbolicVersion: #stable> | | spec for: #'pharo1.0.x' version: '1.2.1'. | spec for: #'pharo1.1.x' version: '1.5'. | spec for: #'pharo1.2.x' version: '1.7'. | spec for: #'pharo1.3.x' version: '1.7'. | spec for: #'pharo1.4.x' version: '1.8'. | spec for: #'squeak4.x' version: '1.6'. | | and a new baseline and version but when I do | | | (ConfigurationOfRefactoringBrowser project version: #'stable') load | | I get an error. | | Do you have an idea? | | Stef | | | | version18: spec | <version: '1.8' imports: #('1.8-baseline' )> | | spec for: #'common' do: [ | spec blessing: #'release'. | spec description: 'RefactoringBrowser for pharo 1.4 alpha. For this | version we just move the place to look for Refactoring-Changes. | Now there is a project for RB for pharo: It is called PharoRB'. | spec author: 'StephaneDucasse'. | spec timestamp: '2011-08-07T21:54:25+00:00'. "DateAndTime now | asString" | ]. | | spec for: #'pharo' do: [ | spec | | package: 'AST-Core' with: 'AST-Core-lr.87'; | package: 'AST-Tests-Core' with: 'AST-Tests-Core-lr.11'; | | package: 'AST-Semantic' with: 'AST-Semantic-lr.15'; | package: 'AST-Tests-Semantic' with: 'AST-Tests-Semantic-lr.3'; | | package: 'Refactoring-Environment' with: | 'Refactoring-Environment-lr.7'; | package: 'Refactoring-Tests-Environment' with: | 'Refactoring-Tests-Environment-lr.1'; | | package: 'Refactoring-Changes' with: | 'Refactoring-Changes-GuillermoPolito.17'; | package: 'Refactoring-Tests-Changes' with: | 'Refactoring-Tests-Changes-lr.14'; | | package: 'Refactoring-Core' with: 'Refactoring-Core-lr.153'; | package: 'Refactoring-Tests-Core' with: | 'Refactoring-Tests-Core-lr.51'; | | package: 'Refactoring-Critics' with: 'Refactoring-Critics-lr.9'; | package: 'Refactoring-Tests-Critics' with: | 'Refactoring-Tests-Critics-lr.3'; | | package: 'Refactoring-Spelling' with: | 'Refactoring-Spelling-pmm.25'; | package: 'Refactoring-Tests-Spelling' with: | 'Refactoring-Tests-Spelling-lr.6'. | | ]. | | spec for: #'squeak' do: [ | spec description: 'Squeak support based on Squeak4.2-Trunk-10628'. | spec | package: 'AST-Core' with: 'AST-Core-lr.85'; | package: 'AST-Semantic' with: 'AST-Semantic-lr.15'; | package: 'Refactoring-Core' with: 'Refactoring-Core-lr.153'; | package: 'Refactoring-Environment' with: | 'Refactoring-Environment-lr.4'; | package: 'Refactoring-Critics' with: 'Refactoring-Critics-lr.4'; | package: 'Refactoring-Spelling' with: | 'Refactoring-Spelling-lr.23'; | package: 'Refactoring-Changes' with: 'Refactoring-Changes-lr.16']. | spec for: #'gemstone' do: [ | spec author: 'DaleHenrichs'. | spec project: 'GsCore' with: '0.241'. | spec | package: 'AST-Core' with: 'AST-Core-DaleHenrichs.84'; | package: 'AST-Tests-Core' with: | 'AST-Tests-Core-DaleHenrichs.11'.]. |
participants (2)
-
Dale Henrichs -
Stéphane Ducasse