Confused by ConfigurationOfGrease

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
8 messages Options
Reply | Threaded
Open this post in threaded view
|

Confused by ConfigurationOfGrease

Stéphane Ducasse

Hi

in my project I defined on Pharo2.0
I did
                project: 'Grease Core' with: [
                                spec
                                        className: 'ConfigurationOfGrease';
                                        loads: #('Core' );
                                        file: 'ConfigurationOfGrease';
                                        repository: 'http://smalltalkhub.com/mc/Seaside/MetacelloConfigurations/main' ];


Now it loads Grease-Core.pmm.76
and not Name: Grease-Core-MattSpr.77 which correctly handles trim extension..

I tried
(ConfigurationOfGrease project version: #stable) record

a MetacelloNullRecordingMCSpecLoader(linear load :
        linear load : 1.0.8 [ConfigurationOfGrease]
                load : ConfigurationOfRefactoringBrowser
        linear load : 1.0.8 [ConfigurationOfGrease]
                load : Grease-Core-pmm.72
                load : Grease-Pharo20-Core-pmm.1
                load : Grease-Slime-topa.15)

So I thought that it woudl be better.


I tried so change my configuration to load the "stable" version

project: 'Grease Core' with: [
                                spec
                                        className: 'ConfigurationOfGrease';
                                        loads: #('Core' );
                                        versionString: #stable;
                                        file: 'ConfigurationOfGrease';
                                        repository: 'http://smalltalkhub.com/mc/Seaside/MetacelloConfigurations/main' ];

and it crashed on me.


Grease-Pharo20-Core.pmm.1 GRDelegatingStream is not there.

So is there a version loading well (without dirty packages) in Pharo2.0?


I tried to use the development version and I still dirty packages…….


Thanks

Stef




_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: Confused by ConfigurationOfGrease

Stephan Eggermont-3
Hi Stef,

On Pharo-contributions we have green builds of the Seaside images.
The stable, 20 build uses Grease-Core-pmm.72 and is clean.
That is a Grease10
The bleedingEdge, 20 build uses Grease-Core-pmm.82 from Grease 11

Stephan  
_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: Confused by ConfigurationOfGrease

Stéphane Ducasse
Ok here is what I did in a fresh 2.0 without package cache.



Gofer new
        smalltalkhubUser: 'Seaside' project: 'MetacelloConfigurations';
        package: 'ConfigurationOfGrease';
        load.
       
(ConfigurationOfGrease project version: #stable) load

and it loaded clean!

tx
_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: Confused by ConfigurationOfGrease

Tudor Girba-2
Thanks. We should update the ConfigurationOfGlamour to use the latest Magritte.

Doru


On Thu, Sep 26, 2013 at 9:33 AM, Stéphane Ducasse <[hidden email]> wrote:
Ok here is what I did in a fresh 2.0 without package cache.



Gofer new
        smalltalkhubUser: 'Seaside' project: 'MetacelloConfigurations';
        package: 'ConfigurationOfGrease';
        load.

(ConfigurationOfGrease project version: #stable) load

and it loaded clean!

tx
_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev



--

"Every thing has its own flow"

_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: Confused by ConfigurationOfGrease

Stéphane Ducasse
now strangely enough

(ConfigurationOfCitezen project version: '2.0') load: { 'NoWeb'}.
does not load the correct version of grease….

I will soon remove all the web stuff from citezen configuration and create separated ones.


baseline16: spec
        <version: '1.6-baseline'>

        spec for: #common do: [
                spec blessing: #baseline.
                spec description: 'Removing Outputers'.
                spec author: 'StephaneDucasse'.
                spec repository: 'http://smalltalkhub.com/mc/RMoD/Citezen/main'.
               
                spec
                        project: 'Seaside' with: [
                                spec
                                        className: 'ConfigurationOfSeaside30';
                                        file: 'ConfigurationOfSeaside30';
                                        versionString: #stable;
                                        loads: #('Base');
                                        repository: 'http://www.squeaksource.com/MetacelloRepository' ];
                        project: 'Magritte' copyFrom: 'Seaside' with: [
                                spec
                                        className: 'ConfigurationOfMagritte2';
                                        loads: #('Core' 'Magritte-Seaside');
                                        file: 'ConfigurationOfMagritte2';
                                        repository: 'http://www.squeaksource.com/MetacelloRepository' ];
                        project: 'Pier' copyFrom: 'Seaside' with: [
                                spec
                                        className: 'ConfigurationOfPier2';
                                        loads: #('Core');
                                        file: 'ConfigurationOfPier2';
                                        repository: 'http://www.squeaksource.com/MetacelloRepository' ];
                        project: 'Grease Core' with: [
                                spec
                                        className: 'ConfigurationOfGrease';
                                        loads: #('Core' );
                                        versionString: #stable;
                                        file: 'ConfigurationOfGrease';
                                        repository: 'http://smalltalkhub.com/mc/Seaside/MetacelloConfigurations/main' ];
                        project: 'OSProcess' with: [
                                spec
                                        className: 'ConfigurationOfOSProcess';
                                        file: 'ConfigurationOfOSProcess';
                                        repository: 'http://www.squeaksource.com/MetacelloRepository' ];
                        project: 'SmaCC' with: [
                                spec
                                        className: 'ConfigurationOfSmaCC';
                                        file: 'ConfigurationOfSmaCC';
                                        repository: 'http://www.squeaksource.com/MetacelloRepository' ].
                       

                spec
                        package: 'Citezen-Model';
                        package: 'Citezen-Parsers' with: [ spec requires: #('Citezen-Model' 'SmaCC')];
                        package: 'Citezen-Rendering' with: [ spec requires: 'Citezen-Model' ];
                        package: 'Citezen-Tools' with: [ spec requires: 'Citezen-Model' ];
                        package: 'Citezen-Query' with: [ spec requires: 'Citezen-Model'];
                        package: 'Citezen-Reborn' with: [spec requires: 'Citezen-Model'];
                        package: 'Citezen-Seaside' with: [ spec requires: #('Core' 'Seaside'  'Citezen-Tests' 'Citezen-Magritte') ]; "ugly and wrong it also requires Magritte"
                        package: 'Citezen-Magritte' with: [ spec requires: 'Magritte' ];
                        package: 'Citezen-Pier' with: [ spec requires: #('Core' 'Pier' 'Citezen-Seaside' 'Citezen-Magritte') ];
                        package: 'Citezen-Checking' with: [ spec requires: 'Core' ];
                        package: 'Citezen-Stef' with: [ spec requires: 'Citezen-Reborn' ];
                        package: 'Citezen-Herve' with: [ spec requires: 'Citezen-Reborn' ];
                        package: 'Citezen-CommandLine' with: [ spec requires: #('Core' 'OSProcess') ];
                        package: 'Citezen-Tests' with: [ spec requires: #('Core') ].
                       
                spec
                        group: 'default' with: #('NoWeb');
                        group: 'NoWeb' with: #('Core' 'Tests' 'Grease Core');
                        group: 'Core' with: #('Citezen-Model'
                                                         'Citezen-Parsers'
                                                         'Citezen-Rendering'
                                                         'Citezen-Query'
                                                         'Citezen-Checking'
                                                         'Citezen-Reborn'
                                                         'Citezen-Tools'
                                                        'Citezen-Stef'
                                                        'Citezen-Herve'); "one day we will have to split core"
                        group: 'CommandLine' with: #('NoWeb' 'Citezen-CommandLine');
                        group: 'Web' with: #('Citezen-Seaside' 'Citezen-Magritte' 'Citezen-Pier');
                        group: 'Tests' with: #('Citezen-Tests')
        ]
_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: Confused by ConfigurationOfGrease

DiegoLont
Stef,

Please update these configurations to use Smalltalkhub. I know of the configurations below that they are no longer maintained on squeak source. So replace

On Sep 26, 2013, at 10:22 AM, Stéphane Ducasse wrote:

project: 'Seaside' with: [
spec
className: 'ConfigurationOfSeaside30';
file: 'ConfigurationOfSeaside30';
versionString: #stable;
loads: #('Base');
repository: 'http://www.squeaksource.com/MetacelloRepository' ];
project: 'Magritte' copyFrom: 'Seaside' with: [
spec
className: 'ConfigurationOfMagritte2';
loads: #('Core' 'Magritte-Seaside');
file: 'ConfigurationOfMagritte2';
repository: 'http://www.squeaksource.com/MetacelloRepository' ];
project: 'Pier' copyFrom: 'Seaside' with: [
spec
className: 'ConfigurationOfPier2';
loads: #('Core');
file: 'ConfigurationOfPier2';
repository: 'http://www.squeaksource.com/MetacelloRepository' ];

with the following:
project: 'Seaside' with: [
spec
className: 'ConfigurationOfSeaside3';
file: 'ConfigurationOfSeaside3';
versionString: #stable;
loads: #('Base');
repository: 'http://smalltalkhub.com/mc/Seaside/MetacelloConfigurations/main' ];
project: 'Magritte' copyFrom: 'Seaside' with: [
spec
className: 'ConfigurationOfMagritte2';
loads: #('Core' 'Magritte-Seaside');
file: 'ConfigurationOfMagritte2';
repository: 'http://smalltalkhub.com/mc/Magritte/Magritte2/main' ];
project: 'Pier' copyFrom: 'Seaside' with: [
spec
className: 'ConfigurationOfPier2';
loads: #('Core');
file: 'ConfigurationOfPier2';
repository: 'http://smalltalkhub.com/mc/Pier/Pier2/main' ];

And you should be fine.

Cheers,
Diego

_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: Confused by ConfigurationOfGrease

Stephan Eggermont-3
In reply to this post by Stéphane Ducasse
Though just

        project: 'Pier' copyFrom: 'Seaside' with: [
                spec
                        className: 'ConfigurationOfPier2';
                        loads: #('Core');
                        file: 'ConfigurationOfPier2';
                        repository: 'http://smalltalkhub.com/mc/Pier/Pier2/main' ];

ought to be enough. Your copyFrom: only sets the version.

Stephan
_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: Confused by ConfigurationOfGrease

DiegoLont
To be clear,

This means:
        project: 'Pier' with: [
                spec
                        className: 'ConfigurationOfPier2';
                        loads: #('Core');
                        versionString: #stable;
                        file: 'ConfigurationOfPier2';
                        repository: 'http://smalltalkhub.com/mc/Pier/Pier2/main' ];

Since Pier refers to (the correct version of) Magritte and Seaside, and Seaside and Magritte refer to (the correct version of) Grease. So no direct reference to Grease, Magritte or Seaside is needed.

On Sep 26, 2013, at 1:58 PM, Stephan Eggermont wrote:

> Though just
>
> project: 'Pier' copyFrom: 'Seaside' with: [
> spec
> className: 'ConfigurationOfPier2';
> loads: #('Core');
> file: 'ConfigurationOfPier2';
> repository: 'http://smalltalkhub.com/mc/Pier/Pier2/main' ];
>
> ought to be enough. Your copyFrom: only sets the version.
>
> Stephan
> _______________________________________________
> Moose-dev mailing list
> [hidden email]
> https://www.iam.unibe.ch/mailman/listinfo/moose-dev


_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev