Metacello and Squeak4.4

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

Metacello and Squeak4.4

Dale Henrichs
I have a small 3 class package (Metacello-Base[1]) that I would hope could be included in the Squeak4.4 release.

Of the 3 classes, the Metacello class is a stub class for the Metacello Scripting Api[2], that will bootstrap Metacello _if_ you use the scripting api. I am promoting the scripting api as the cross platform way to use Metacello. Instead of seeing install scripts fly by that look like this:

  Gofer new
    package: 'ConfigurationOfSeaside30';
    squeaksource: 'MetacelloRepository';
    load.
  ((Smalltalk at: #ConfigurationOfSeaside30) version: #stable) load.

(with the caveat that Installer should be used for Squeak)...the install scripts will look like this:

  Metacello new
    configuration: 'Seaside30';
    version: #stable;
    squeaksource: 'MetacelloRepository';
    load.

The same script will "do the right thing" on all three supported platforms (Squeak, Pharo, GemStone), presuming that the class Metacello is present in the base images:)

I've recently released a preview version[4] and am actively collecting feedback. I would think that I can finalize the visible portion of the scripting api by September...

I've been ensuring that the metacello preview release is functional on Squeak all along and I am currently running CI builds against Squeak4.3 using travis ci[5]. Moving forward I would add Squeak4.4 to the list of platforms for CI and publish updates to the Metacello-Base pacakge as needed.

The class comments for each of the classes provides basic documentation for using Metacello so I think that Metacello-Base is a clean and small presence for Metacello and will enable the use of "cross-platform install scripts for Metacello."

Thanks,

Dale

[1] http://seaside.gemstone.com/ss/metacello/Metacello-Base-dkh.96.mcz
[2] https://github.com/dalehenrich/metacello-work/blob/master/docs/MetacelloUserGuide.md
[4] http://forum.world.st/Metacello-Preview-release-1-0-beta-32-2-tt4642064.html
[5] http://travis-ci.org/#!/dalehenrich/metacello-work/builds/2012331

Reply | Threaded
Open this post in threaded view
|

Re: Metacello and Squeak4.4

Colin Putney-3


On Thu, Aug 2, 2012 at 1:33 PM, Dale Henrichs <[hidden email]> wrote:
I have a small 3 class package (Metacello-Base[1]) that I would hope could be included in the Squeak4.4 release.

+1

It would be nice to have a cross-dialect API for install scripts. Thanks for keeping Squeak support up to date.

Colin

 



Reply | Threaded
Open this post in threaded view
|

Re: Metacello and Squeak4.4

Chris Muller-3
In reply to this post by Dale Henrichs
If there's little or no danger of any serious regressions elsewhere in
the system, then I'm +1.  Like Frank, I think it's important for
Squeak to continue to put out stable releases.

Dale, your efforts on cross-platform are amazing, thanks!


On Thu, Aug 2, 2012 at 3:33 PM, Dale Henrichs <[hidden email]> wrote:

> I have a small 3 class package (Metacello-Base[1]) that I would hope could be included in the Squeak4.4 release.
>
> Of the 3 classes, the Metacello class is a stub class for the Metacello Scripting Api[2], that will bootstrap Metacello _if_ you use the scripting api. I am promoting the scripting api as the cross platform way to use Metacello. Instead of seeing install scripts fly by that look like this:
>
>   Gofer new
>     package: 'ConfigurationOfSeaside30';
>     squeaksource: 'MetacelloRepository';
>     load.
>   ((Smalltalk at: #ConfigurationOfSeaside30) version: #stable) load.
>
> (with the caveat that Installer should be used for Squeak)...the install scripts will look like this:
>
>   Metacello new
>     configuration: 'Seaside30';
>     version: #stable;
>     squeaksource: 'MetacelloRepository';
>     load.
>
> The same script will "do the right thing" on all three supported platforms (Squeak, Pharo, GemStone), presuming that the class Metacello is present in the base images:)
>
> I've recently released a preview version[4] and am actively collecting feedback. I would think that I can finalize the visible portion of the scripting api by September...
>
> I've been ensuring that the metacello preview release is functional on Squeak all along and I am currently running CI builds against Squeak4.3 using travis ci[5]. Moving forward I would add Squeak4.4 to the list of platforms for CI and publish updates to the Metacello-Base pacakge as needed.
>
> The class comments for each of the classes provides basic documentation for using Metacello so I think that Metacello-Base is a clean and small presence for Metacello and will enable the use of "cross-platform install scripts for Metacello."
>
> Thanks,
>
> Dale
>
> [1] http://seaside.gemstone.com/ss/metacello/Metacello-Base-dkh.96.mcz
> [2] https://github.com/dalehenrich/metacello-work/blob/master/docs/MetacelloUserGuide.md
> [4] http://forum.world.st/Metacello-Preview-release-1-0-beta-32-2-tt4642064.html
> [5] http://travis-ci.org/#!/dalehenrich/metacello-work/builds/2012331
>

Reply | Threaded
Open this post in threaded view
|

Re: Metacello and Squeak4.4

Frank Shearar-3
On 2 August 2012 21:49, Chris Muller <[hidden email]> wrote:
> If there's little or no danger of any serious regressions elsewhere in
> the system, then I'm +1.  Like Frank, I think it's important for
> Squeak to continue to put out stable releases.

I need to hack on the CI server first, but if a kind soul wouldn't
mind just loading Dale's mcz and running the full suite of tests, I'd
be grateful. I don't see how that could cause regressions, but I'm
paranoid.

> Dale, your efforts on cross-platform are amazing, thanks!

Seconded!

frank

> On Thu, Aug 2, 2012 at 3:33 PM, Dale Henrichs <[hidden email]> wrote:
>> I have a small 3 class package (Metacello-Base[1]) that I would hope could be included in the Squeak4.4 release.
>>
>> Of the 3 classes, the Metacello class is a stub class for the Metacello Scripting Api[2], that will bootstrap Metacello _if_ you use the scripting api. I am promoting the scripting api as the cross platform way to use Metacello. Instead of seeing install scripts fly by that look like this:
>>
>>   Gofer new
>>     package: 'ConfigurationOfSeaside30';
>>     squeaksource: 'MetacelloRepository';
>>     load.
>>   ((Smalltalk at: #ConfigurationOfSeaside30) version: #stable) load.
>>
>> (with the caveat that Installer should be used for Squeak)...the install scripts will look like this:
>>
>>   Metacello new
>>     configuration: 'Seaside30';
>>     version: #stable;
>>     squeaksource: 'MetacelloRepository';
>>     load.
>>
>> The same script will "do the right thing" on all three supported platforms (Squeak, Pharo, GemStone), presuming that the class Metacello is present in the base images:)
>>
>> I've recently released a preview version[4] and am actively collecting feedback. I would think that I can finalize the visible portion of the scripting api by September...
>>
>> I've been ensuring that the metacello preview release is functional on Squeak all along and I am currently running CI builds against Squeak4.3 using travis ci[5]. Moving forward I would add Squeak4.4 to the list of platforms for CI and publish updates to the Metacello-Base pacakge as needed.
>>
>> The class comments for each of the classes provides basic documentation for using Metacello so I think that Metacello-Base is a clean and small presence for Metacello and will enable the use of "cross-platform install scripts for Metacello."
>>
>> Thanks,
>>
>> Dale
>>
>> [1] http://seaside.gemstone.com/ss/metacello/Metacello-Base-dkh.96.mcz
>> [2] https://github.com/dalehenrich/metacello-work/blob/master/docs/MetacelloUserGuide.md
>> [4] http://forum.world.st/Metacello-Preview-release-1-0-beta-32-2-tt4642064.html
>> [5] http://travis-ci.org/#!/dalehenrich/metacello-work/builds/2012331
>>
>

Reply | Threaded
Open this post in threaded view
|

Re: Metacello and Squeak4.4

Hannes Hirzel
+1

On 8/2/12, Frank Shearar <[hidden email]> wrote:

> On 2 August 2012 21:49, Chris Muller <[hidden email]> wrote:
>> If there's little or no danger of any serious regressions elsewhere in
>> the system, then I'm +1.  Like Frank, I think it's important for
>> Squeak to continue to put out stable releases.
>
> I need to hack on the CI server first, but if a kind soul wouldn't
> mind just loading Dale's mcz and running the full suite of tests, I'd
> be grateful. I don't see how that could cause regressions, but I'm
> paranoid.
>
>> Dale, your efforts on cross-platform are amazing, thanks!
>
> Seconded!
>
> frank
>
>> On Thu, Aug 2, 2012 at 3:33 PM, Dale Henrichs <[hidden email]>
>> wrote:
>>> I have a small 3 class package (Metacello-Base[1]) that I would hope
>>> could be included in the Squeak4.4 release.
>>>
>>> Of the 3 classes, the Metacello class is a stub class for the Metacello
>>> Scripting Api[2], that will bootstrap Metacello _if_ you use the
>>> scripting api. I am promoting the scripting api as the cross platform way
>>> to use Metacello. Instead of seeing install scripts fly by that look like
>>> this:
>>>
>>>   Gofer new
>>>     package: 'ConfigurationOfSeaside30';
>>>     squeaksource: 'MetacelloRepository';
>>>     load.
>>>   ((Smalltalk at: #ConfigurationOfSeaside30) version: #stable) load.
>>>
>>> (with the caveat that Installer should be used for Squeak)...the install
>>> scripts will look like this:
>>>
>>>   Metacello new
>>>     configuration: 'Seaside30';
>>>     version: #stable;
>>>     squeaksource: 'MetacelloRepository';
>>>     load.
>>>
>>> The same script will "do the right thing" on all three supported
>>> platforms (Squeak, Pharo, GemStone), presuming that the class Metacello
>>> is present in the base images:)
>>>
>>> I've recently released a preview version[4] and am actively collecting
>>> feedback. I would think that I can finalize the visible portion of the
>>> scripting api by September...
>>>
>>> I've been ensuring that the metacello preview release is functional on
>>> Squeak all along and I am currently running CI builds against Squeak4.3
>>> using travis ci[5]. Moving forward I would add Squeak4.4 to the list of
>>> platforms for CI and publish updates to the Metacello-Base pacakge as
>>> needed.
>>>
>>> The class comments for each of the classes provides basic documentation
>>> for using Metacello so I think that Metacello-Base is a clean and small
>>> presence for Metacello and will enable the use of "cross-platform install
>>> scripts for Metacello."
>>>
>>> Thanks,
>>>
>>> Dale
>>>
>>> [1] http://seaside.gemstone.com/ss/metacello/Metacello-Base-dkh.96.mcz
>>> [2]
>>> https://github.com/dalehenrich/metacello-work/blob/master/docs/MetacelloUserGuide.md
>>> [4]
>>> http://forum.world.st/Metacello-Preview-release-1-0-beta-32-2-tt4642064.html
>>> [5] http://travis-ci.org/#!/dalehenrich/metacello-work/builds/2012331
>>>
>>
>
>

Reply | Threaded
Open this post in threaded view
|

Re: Metacello and Squeak4.4

Bert Freudenberg
In reply to this post by Colin Putney-3
On 02.08.2012, at 13:38, Colin Putney wrote:

> On Thu, Aug 2, 2012 at 1:33 PM, Dale Henrichs <[hidden email]> wrote:
>> I have a small 3 class package (Metacello-Base[1]) that I would hope could be included in the Squeak4.4 release.
>
> +1
>
> It would be nice to have a cross-dialect API for install scripts. Thanks for keeping Squeak support up to date.
>
> Colin

Last time I tried to install something using Metacello it pulled in many unrelated packages (like Gopher). Was that a fault of the package I tried to load, or Metacello's? IOW, will this use Installer to do the actual work or pull in even more stuff?

- Bert -


Reply | Threaded
Open this post in threaded view
|

Re: Metacello and Squeak4.4

Levente Uzonyi-2
In reply to this post by Dale Henrichs
+1 from me if it loads/unloads cleanly (i'm pretty sure it does, but it's
always better to check it out).


Levente

On Thu, 2 Aug 2012, Dale Henrichs wrote:

> I have a small 3 class package (Metacello-Base[1]) that I would hope could be included in the Squeak4.4 release.
>
> Of the 3 classes, the Metacello class is a stub class for the Metacello Scripting Api[2], that will bootstrap Metacello _if_ you use the scripting api. I am promoting the scripting api as the cross platform way to use Metacello. Instead of seeing install scripts fly by that look like this:
>
>  Gofer new
>    package: 'ConfigurationOfSeaside30';
>    squeaksource: 'MetacelloRepository';
>    load.
>  ((Smalltalk at: #ConfigurationOfSeaside30) version: #stable) load.
>
> (with the caveat that Installer should be used for Squeak)...the install scripts will look like this:
>
>  Metacello new
>    configuration: 'Seaside30';
>    version: #stable;
>    squeaksource: 'MetacelloRepository';
>    load.
>
> The same script will "do the right thing" on all three supported platforms (Squeak, Pharo, GemStone), presuming that the class Metacello is present in the base images:)
>
> I've recently released a preview version[4] and am actively collecting feedback. I would think that I can finalize the visible portion of the scripting api by September...
>
> I've been ensuring that the metacello preview release is functional on Squeak all along and I am currently running CI builds against Squeak4.3 using travis ci[5]. Moving forward I would add Squeak4.4 to the list of platforms for CI and publish updates to the Metacello-Base pacakge as needed.
>
> The class comments for each of the classes provides basic documentation for using Metacello so I think that Metacello-Base is a clean and small presence for Metacello and will enable the use of "cross-platform install scripts for Metacello."
>
> Thanks,
>
> Dale
>
> [1] http://seaside.gemstone.com/ss/metacello/Metacello-Base-dkh.96.mcz
> [2] https://github.com/dalehenrich/metacello-work/blob/master/docs/MetacelloUserGuide.md
> [4] http://forum.world.st/Metacello-Preview-release-1-0-beta-32-2-tt4642064.html
> [5] http://travis-ci.org/#!/dalehenrich/metacello-work/builds/2012331
>
>

Reply | Threaded
Open this post in threaded view
|

Re: Metacello and Squeak4.4

David T. Lewis
+1 from me too.

This looks like a light weight addition with benefit for anyone wanting
to use Metacello, and no harm otherwise.

I have not tried unloading Metacello-Base, but it has no dependencies so
it should not be a problem. There is an #unloadMetacello method in the base
package that presumably performs as advertised.

Dave

On Fri, Aug 03, 2012 at 01:05:24AM +0200, Levente Uzonyi wrote:

> +1 from me if it loads/unloads cleanly (i'm pretty sure it does, but it's
> always better to check it out).
>
>
> Levente
>
> On Thu, 2 Aug 2012, Dale Henrichs wrote:
>
> >I have a small 3 class package (Metacello-Base[1]) that I would hope could
> >be included in the Squeak4.4 release.
> >
> >Of the 3 classes, the Metacello class is a stub class for the Metacello
> >Scripting Api[2], that will bootstrap Metacello _if_ you use the scripting
> >api. I am promoting the scripting api as the cross platform way to use
> >Metacello. Instead of seeing install scripts fly by that look like this:
> >
> > Gofer new
> >   package: 'ConfigurationOfSeaside30';
> >   squeaksource: 'MetacelloRepository';
> >   load.
> > ((Smalltalk at: #ConfigurationOfSeaside30) version: #stable) load.
> >
> >(with the caveat that Installer should be used for Squeak)...the install
> >scripts will look like this:
> >
> > Metacello new
> >   configuration: 'Seaside30';
> >   version: #stable;
> >   squeaksource: 'MetacelloRepository';
> >   load.
> >
> >The same script will "do the right thing" on all three supported platforms
> >(Squeak, Pharo, GemStone), presuming that the class Metacello is present
> >in the base images:)
> >
> >I've recently released a preview version[4] and am actively collecting
> >feedback. I would think that I can finalize the visible portion of the
> >scripting api by September...
> >
> >I've been ensuring that the metacello preview release is functional on
> >Squeak all along and I am currently running CI builds against Squeak4.3
> >using travis ci[5]. Moving forward I would add Squeak4.4 to the list of
> >platforms for CI and publish updates to the Metacello-Base pacakge as
> >needed.
> >
> >The class comments for each of the classes provides basic documentation
> >for using Metacello so I think that Metacello-Base is a clean and small
> >presence for Metacello and will enable the use of "cross-platform install
> >scripts for Metacello."
> >
> >Thanks,
> >
> >Dale
> >
> >[1] http://seaside.gemstone.com/ss/metacello/Metacello-Base-dkh.96.mcz
> >[2]
> >https://github.com/dalehenrich/metacello-work/blob/master/docs/MetacelloUserGuide.md
> >[4]
> >http://forum.world.st/Metacello-Preview-release-1-0-beta-32-2-tt4642064.html
> >[5] http://travis-ci.org/#!/dalehenrich/metacello-work/builds/2012331
> >
> >

Reply | Threaded
Open this post in threaded view
|

Re: Metacello and Squeak4.4

Dale Henrichs
In reply to this post by Bert Freudenberg
Bert,

The notion of the Metacello--Base is that the 3 classes are there as a "stub" for the full Metacello system.

If you use the Metacello api, then you will trigger an install of Metacello itself.

I'm only asking that the base image have those 3 classes installed so that the folks who choose to use Metacello will be able to use the Metacello api.

With the Metacello api, the plan is to reduce the public facing dependence upon Gofer, since many Metacello instructions today include a Gofer invocation to get the configuration loaded into the image....

Regarding the implementation of Metacello itself, I have written Metacello against the Gofer api, so Gofer does get loaded into the image in support of Metacello ... Gofer was used because at the time (2009) it was the only cross platform solution for providing a common api to Monticello and frankly at the time I imagined the Gofer would be accepted in the base image for all the platforms, but it has not and I just haven't had the time to changed the architecture ... moving forward I would accept contributions that replaced Gofer with something else on Squeak (I have some basic requirements for functionality that would need to be expressed)...

Using Gofer meant I did't have invent something that works the same on Squeak, but if someone wanted to take on the task of:

  a) providing equivalent functionality on Squeak
  b) helping me rearchitect Metacello to isolate the Gofer dependencies

I'd be supportive of that...

Dale





----- Original Message -----
| From: "Bert Freudenberg" <[hidden email]>
| To: "The general-purpose Squeak developers list" <[hidden email]>
| Sent: Thursday, August 2, 2012 3:37:07 PM
| Subject: Re: [squeak-dev] Metacello and Squeak4.4
|
| On 02.08.2012, at 13:38, Colin Putney wrote:
|
| > On Thu, Aug 2, 2012 at 1:33 PM, Dale Henrichs <[hidden email]>
| > wrote:
| >> I have a small 3 class package (Metacello-Base[1]) that I would
| >> hope could be included in the Squeak4.4 release.
| >
| > +1
| >
| > It would be nice to have a cross-dialect API for install scripts.
| > Thanks for keeping Squeak support up to date.
| >
| > Colin
|
| Last time I tried to install something using Metacello it pulled in
| many unrelated packages (like Gopher). Was that a fault of the
| package I tried to load, or Metacello's? IOW, will this use
| Installer to do the actual work or pull in even more stuff?
|
| - Bert -
|
|
|

Reply | Threaded
Open this post in threaded view
|

Re: Metacello and Squeak4.4

Dale Henrichs
In reply to this post by Frank Shearar-3
Frank,

I haven't tried the Metacello preview in Squeak4.4 yet, so I can't be sure that it works there. I've been testing against Squeak4.3...

Give me a couple of days to hook up Squeak4.4 in my travis ci framework and shake out any Metacello bugs related to Squeak4.4 and then you can take it for a spin.

Dale

----- Original Message -----
| From: "Frank Shearar" <[hidden email]>
| To: "ma chris m" <[hidden email]>, "The general-purpose Squeak developers list"
| <[hidden email]>
| Sent: Thursday, August 2, 2012 2:05:15 PM
| Subject: Re: [squeak-dev] Metacello and Squeak4.4
|
| On 2 August 2012 21:49, Chris Muller <[hidden email]> wrote:
| > If there's little or no danger of any serious regressions elsewhere
| > in
| > the system, then I'm +1.  Like Frank, I think it's important for
| > Squeak to continue to put out stable releases.
|
| I need to hack on the CI server first, but if a kind soul wouldn't
| mind just loading Dale's mcz and running the full suite of tests, I'd
| be grateful. I don't see how that could cause regressions, but I'm
| paranoid.
|
| > Dale, your efforts on cross-platform are amazing, thanks!
|
| Seconded!
|
| frank
|
| > On Thu, Aug 2, 2012 at 3:33 PM, Dale Henrichs <[hidden email]>
| > wrote:
| >> I have a small 3 class package (Metacello-Base[1]) that I would
| >> hope could be included in the Squeak4.4 release.
| >>
| >> Of the 3 classes, the Metacello class is a stub class for the
| >> Metacello Scripting Api[2], that will bootstrap Metacello _if_
| >> you use the scripting api. I am promoting the scripting api as
| >> the cross platform way to use Metacello. Instead of seeing
| >> install scripts fly by that look like this:
| >>
| >>   Gofer new
| >>     package: 'ConfigurationOfSeaside30';
| >>     squeaksource: 'MetacelloRepository';
| >>     load.
| >>   ((Smalltalk at: #ConfigurationOfSeaside30) version: #stable)
| >>   load.
| >>
| >> (with the caveat that Installer should be used for Squeak)...the
| >> install scripts will look like this:
| >>
| >>   Metacello new
| >>     configuration: 'Seaside30';
| >>     version: #stable;
| >>     squeaksource: 'MetacelloRepository';
| >>     load.
| >>
| >> The same script will "do the right thing" on all three supported
| >> platforms (Squeak, Pharo, GemStone), presuming that the class
| >> Metacello is present in the base images:)
| >>
| >> I've recently released a preview version[4] and am actively
| >> collecting feedback. I would think that I can finalize the
| >> visible portion of the scripting api by September...
| >>
| >> I've been ensuring that the metacello preview release is
| >> functional on Squeak all along and I am currently running CI
| >> builds against Squeak4.3 using travis ci[5]. Moving forward I
| >> would add Squeak4.4 to the list of platforms for CI and publish
| >> updates to the Metacello-Base pacakge as needed.
| >>
| >> The class comments for each of the classes provides basic
| >> documentation for using Metacello so I think that Metacello-Base
| >> is a clean and small presence for Metacello and will enable the
| >> use of "cross-platform install scripts for Metacello."
| >>
| >> Thanks,
| >>
| >> Dale
| >>
| >> [1]
| >> http://seaside.gemstone.com/ss/metacello/Metacello-Base-dkh.96.mcz
| >> [2]
| >> https://github.com/dalehenrich/metacello-work/blob/master/docs/MetacelloUserGuide.md
| >> [4]
| >> http://forum.world.st/Metacello-Preview-release-1-0-beta-32-2-tt4642064.html
| >> [5]
| >> http://travis-ci.org/#!/dalehenrich/metacello-work/builds/2012331
| >>
| >
|
|

Reply | Threaded
Open this post in threaded view
|

Re: Metacello and Squeak4.4

Dale Henrichs
In reply to this post by David T. Lewis
I admit that I haven't tested the #unloadMetacello method recently as that test would wreak havoc with my test environment, but then I haven't gotten any bug reports on #unloadmetacello either:)

However, I will add an #unloadMetacello test to travisCI to ensure that it functions as advertised moving forward.

Dale
----- Original Message -----
| From: "David T. Lewis" <[hidden email]>
| To: "The general-purpose Squeak developers list" <[hidden email]>
| Sent: Thursday, August 2, 2012 5:00:35 PM
| Subject: Re: [squeak-dev] Metacello and Squeak4.4
|
| +1 from me too.
|
| This looks like a light weight addition with benefit for anyone
| wanting
| to use Metacello, and no harm otherwise.
|
| I have not tried unloading Metacello-Base, but it has no dependencies
| so
| it should not be a problem. There is an #unloadMetacello method in
| the base
| package that presumably performs as advertised.
|
| Dave
|
| On Fri, Aug 03, 2012 at 01:05:24AM +0200, Levente Uzonyi wrote:
| > +1 from me if it loads/unloads cleanly (i'm pretty sure it does,
| > but it's
| > always better to check it out).
| >
| >
| > Levente
| >
| > On Thu, 2 Aug 2012, Dale Henrichs wrote:
| >
| > >I have a small 3 class package (Metacello-Base[1]) that I would
| > >hope could
| > >be included in the Squeak4.4 release.
| > >
| > >Of the 3 classes, the Metacello class is a stub class for the
| > >Metacello
| > >Scripting Api[2], that will bootstrap Metacello _if_ you use the
| > >scripting
| > >api. I am promoting the scripting api as the cross platform way to
| > >use
| > >Metacello. Instead of seeing install scripts fly by that look like
| > >this:
| > >
| > > Gofer new
| > >   package: 'ConfigurationOfSeaside30';
| > >   squeaksource: 'MetacelloRepository';
| > >   load.
| > > ((Smalltalk at: #ConfigurationOfSeaside30) version: #stable)
| > > load.
| > >
| > >(with the caveat that Installer should be used for Squeak)...the
| > >install
| > >scripts will look like this:
| > >
| > > Metacello new
| > >   configuration: 'Seaside30';
| > >   version: #stable;
| > >   squeaksource: 'MetacelloRepository';
| > >   load.
| > >
| > >The same script will "do the right thing" on all three supported
| > >platforms
| > >(Squeak, Pharo, GemStone), presuming that the class Metacello is
| > >present
| > >in the base images:)
| > >
| > >I've recently released a preview version[4] and am actively
| > >collecting
| > >feedback. I would think that I can finalize the visible portion of
| > >the
| > >scripting api by September...
| > >
| > >I've been ensuring that the metacello preview release is
| > >functional on
| > >Squeak all along and I am currently running CI builds against
| > >Squeak4.3
| > >using travis ci[5]. Moving forward I would add Squeak4.4 to the
| > >list of
| > >platforms for CI and publish updates to the Metacello-Base pacakge
| > >as
| > >needed.
| > >
| > >The class comments for each of the classes provides basic
| > >documentation
| > >for using Metacello so I think that Metacello-Base is a clean and
| > >small
| > >presence for Metacello and will enable the use of "cross-platform
| > >install
| > >scripts for Metacello."
| > >
| > >Thanks,
| > >
| > >Dale
| > >
| > >[1]
| > >http://seaside.gemstone.com/ss/metacello/Metacello-Base-dkh.96.mcz
| > >[2]
| > >https://github.com/dalehenrich/metacello-work/blob/master/docs/MetacelloUserGuide.md
| > >[4]
| > >http://forum.world.st/Metacello-Preview-release-1-0-beta-32-2-tt4642064.html
| > >[5]
| > >http://travis-ci.org/#!/dalehenrich/metacello-work/builds/2012331
| > >
| > >
|
|

Reply | Threaded
Open this post in threaded view
|

Re: Metacello and Squeak4.4

David T. Lewis
My guess would be that nobody has ever actually unloaded it ;-) But it's nice to know that it can be done.

Dave


On Thu, Aug 02, 2012 at 06:11:28PM -0700, Dale Henrichs wrote:

> I admit that I haven't tested the #unloadMetacello method recently as that test would wreak havoc with my test environment, but then I haven't gotten any bug reports on #unloadmetacello either:)
>
> However, I will add an #unloadMetacello test to travisCI to ensure that it functions as advertised moving forward.
>
> Dale
> ----- Original Message -----
> | From: "David T. Lewis" <[hidden email]>
> | To: "The general-purpose Squeak developers list" <[hidden email]>
> | Sent: Thursday, August 2, 2012 5:00:35 PM
> | Subject: Re: [squeak-dev] Metacello and Squeak4.4
> |
> | +1 from me too.
> |
> | This looks like a light weight addition with benefit for anyone
> | wanting
> | to use Metacello, and no harm otherwise.
> |
> | I have not tried unloading Metacello-Base, but it has no dependencies
> | so
> | it should not be a problem. There is an #unloadMetacello method in
> | the base
> | package that presumably performs as advertised.
> |
> | Dave
> |
> | On Fri, Aug 03, 2012 at 01:05:24AM +0200, Levente Uzonyi wrote:
> | > +1 from me if it loads/unloads cleanly (i'm pretty sure it does,
> | > but it's
> | > always better to check it out).
> | >
> | >
> | > Levente
> | >
> | > On Thu, 2 Aug 2012, Dale Henrichs wrote:
> | >
> | > >I have a small 3 class package (Metacello-Base[1]) that I would
> | > >hope could
> | > >be included in the Squeak4.4 release.
> | > >
> | > >Of the 3 classes, the Metacello class is a stub class for the
> | > >Metacello
> | > >Scripting Api[2], that will bootstrap Metacello _if_ you use the
> | > >scripting
> | > >api. I am promoting the scripting api as the cross platform way to
> | > >use
> | > >Metacello. Instead of seeing install scripts fly by that look like
> | > >this:
> | > >
> | > > Gofer new
> | > >   package: 'ConfigurationOfSeaside30';
> | > >   squeaksource: 'MetacelloRepository';
> | > >   load.
> | > > ((Smalltalk at: #ConfigurationOfSeaside30) version: #stable)
> | > > load.
> | > >
> | > >(with the caveat that Installer should be used for Squeak)...the
> | > >install
> | > >scripts will look like this:
> | > >
> | > > Metacello new
> | > >   configuration: 'Seaside30';
> | > >   version: #stable;
> | > >   squeaksource: 'MetacelloRepository';
> | > >   load.
> | > >
> | > >The same script will "do the right thing" on all three supported
> | > >platforms
> | > >(Squeak, Pharo, GemStone), presuming that the class Metacello is
> | > >present
> | > >in the base images:)
> | > >
> | > >I've recently released a preview version[4] and am actively
> | > >collecting
> | > >feedback. I would think that I can finalize the visible portion of
> | > >the
> | > >scripting api by September...
> | > >
> | > >I've been ensuring that the metacello preview release is
> | > >functional on
> | > >Squeak all along and I am currently running CI builds against
> | > >Squeak4.3
> | > >using travis ci[5]. Moving forward I would add Squeak4.4 to the
> | > >list of
> | > >platforms for CI and publish updates to the Metacello-Base pacakge
> | > >as
> | > >needed.
> | > >
> | > >The class comments for each of the classes provides basic
> | > >documentation
> | > >for using Metacello so I think that Metacello-Base is a clean and
> | > >small
> | > >presence for Metacello and will enable the use of "cross-platform
> | > >install
> | > >scripts for Metacello."
> | > >
> | > >Thanks,
> | > >
> | > >Dale
> | > >
> | > >[1]
> | > >http://seaside.gemstone.com/ss/metacello/Metacello-Base-dkh.96.mcz
> | > >[2]
> | > >https://github.com/dalehenrich/metacello-work/blob/master/docs/MetacelloUserGuide.md
> | > >[4]
> | > >http://forum.world.st/Metacello-Preview-release-1-0-beta-32-2-tt4642064.html
> | > >[5]
> | > >http://travis-ci.org/#!/dalehenrich/metacello-work/builds/2012331
> | > >
> | > >
> |
> |

Reply | Threaded
Open this post in threaded view
|

Re: Metacello and Squeak4.4

Dale Henrichs
Agreed:) But when it's mentioned and it's relatively easy to add a test I might as well strike while the iron is hot...

Dale

----- Original Message -----
| From: "David T. Lewis" <[hidden email]>
| To: "The general-purpose Squeak developers list" <[hidden email]>
| Sent: Thursday, August 2, 2012 6:49:30 PM
| Subject: Re: [squeak-dev] Metacello and Squeak4.4
|
| My guess would be that nobody has ever actually unloaded it ;-) But
| it's nice to know that it can be done.
|
| Dave
|
|
| On Thu, Aug 02, 2012 at 06:11:28PM -0700, Dale Henrichs wrote:
| > I admit that I haven't tested the #unloadMetacello method recently
| > as that test would wreak havoc with my test environment, but then
| > I haven't gotten any bug reports on #unloadmetacello either:)
| >
| > However, I will add an #unloadMetacello test to travisCI to ensure
| > that it functions as advertised moving forward.
| >
| > Dale
| > ----- Original Message -----
| > | From: "David T. Lewis" <[hidden email]>
| > | To: "The general-purpose Squeak developers list"
| > | <[hidden email]>
| > | Sent: Thursday, August 2, 2012 5:00:35 PM
| > | Subject: Re: [squeak-dev] Metacello and Squeak4.4
| > |
| > | +1 from me too.
| > |
| > | This looks like a light weight addition with benefit for anyone
| > | wanting
| > | to use Metacello, and no harm otherwise.
| > |
| > | I have not tried unloading Metacello-Base, but it has no
| > | dependencies
| > | so
| > | it should not be a problem. There is an #unloadMetacello method
| > | in
| > | the base
| > | package that presumably performs as advertised.
| > |
| > | Dave
| > |
| > | On Fri, Aug 03, 2012 at 01:05:24AM +0200, Levente Uzonyi wrote:
| > | > +1 from me if it loads/unloads cleanly (i'm pretty sure it
| > | > does,
| > | > but it's
| > | > always better to check it out).
| > | >
| > | >
| > | > Levente
| > | >
| > | > On Thu, 2 Aug 2012, Dale Henrichs wrote:
| > | >
| > | > >I have a small 3 class package (Metacello-Base[1]) that I
| > | > >would
| > | > >hope could
| > | > >be included in the Squeak4.4 release.
| > | > >
| > | > >Of the 3 classes, the Metacello class is a stub class for the
| > | > >Metacello
| > | > >Scripting Api[2], that will bootstrap Metacello _if_ you use
| > | > >the
| > | > >scripting
| > | > >api. I am promoting the scripting api as the cross platform
| > | > >way to
| > | > >use
| > | > >Metacello. Instead of seeing install scripts fly by that look
| > | > >like
| > | > >this:
| > | > >
| > | > > Gofer new
| > | > >   package: 'ConfigurationOfSeaside30';
| > | > >   squeaksource: 'MetacelloRepository';
| > | > >   load.
| > | > > ((Smalltalk at: #ConfigurationOfSeaside30) version: #stable)
| > | > > load.
| > | > >
| > | > >(with the caveat that Installer should be used for
| > | > >Squeak)...the
| > | > >install
| > | > >scripts will look like this:
| > | > >
| > | > > Metacello new
| > | > >   configuration: 'Seaside30';
| > | > >   version: #stable;
| > | > >   squeaksource: 'MetacelloRepository';
| > | > >   load.
| > | > >
| > | > >The same script will "do the right thing" on all three
| > | > >supported
| > | > >platforms
| > | > >(Squeak, Pharo, GemStone), presuming that the class Metacello
| > | > >is
| > | > >present
| > | > >in the base images:)
| > | > >
| > | > >I've recently released a preview version[4] and am actively
| > | > >collecting
| > | > >feedback. I would think that I can finalize the visible
| > | > >portion of
| > | > >the
| > | > >scripting api by September...
| > | > >
| > | > >I've been ensuring that the metacello preview release is
| > | > >functional on
| > | > >Squeak all along and I am currently running CI builds against
| > | > >Squeak4.3
| > | > >using travis ci[5]. Moving forward I would add Squeak4.4 to
| > | > >the
| > | > >list of
| > | > >platforms for CI and publish updates to the Metacello-Base
| > | > >pacakge
| > | > >as
| > | > >needed.
| > | > >
| > | > >The class comments for each of the classes provides basic
| > | > >documentation
| > | > >for using Metacello so I think that Metacello-Base is a clean
| > | > >and
| > | > >small
| > | > >presence for Metacello and will enable the use of
| > | > >"cross-platform
| > | > >install
| > | > >scripts for Metacello."
| > | > >
| > | > >Thanks,
| > | > >
| > | > >Dale
| > | > >
| > | > >[1]
| > | > >http://seaside.gemstone.com/ss/metacello/Metacello-Base-dkh.96.mcz
| > | > >[2]
| > | > >https://github.com/dalehenrich/metacello-work/blob/master/docs/MetacelloUserGuide.md
| > | > >[4]
| > | > >http://forum.world.st/Metacello-Preview-release-1-0-beta-32-2-tt4642064.html
| > | > >[5]
| > | > >http://travis-ci.org/#!/dalehenrich/metacello-work/builds/2012331
| > | > >
| > | > >
| > |
| > |
|
|

Reply | Threaded
Open this post in threaded view
|

Re: Metacello and Squeak4.4

Sean P. DeNigris
Administrator
In reply to this post by Dale Henrichs
Dale Henrichs wrote
I have a small 3 class package (Metacello-Base[1]) that I would hope could be included in the Squeak4.4 release.
...
Metacello-Base is a clean and small presence for Metacello and will enable the use of "cross-platform install scripts for Metacello."
This is exciting and would be *awesome* to have in Squeak, Pharo and gemstone.

Sean
Cheers,
Sean
Reply | Threaded
Open this post in threaded view
|

Re: Metacello and Squeak4.4

Bert Freudenberg
In reply to this post by Dale Henrichs
Makes sense. Thanks for the explanation.

- Bert -

On 02.08.2012, at 17:48, Dale Henrichs wrote:

> Bert,
>
> The notion of the Metacello--Base is that the 3 classes are there as a "stub" for the full Metacello system.
>
> If you use the Metacello api, then you will trigger an install of Metacello itself.
>
> I'm only asking that the base image have those 3 classes installed so that the folks who choose to use Metacello will be able to use the Metacello api.
>
> With the Metacello api, the plan is to reduce the public facing dependence upon Gofer, since many Metacello instructions today include a Gofer invocation to get the configuration loaded into the image....
>
> Regarding the implementation of Metacello itself, I have written Metacello against the Gofer api, so Gofer does get loaded into the image in support of Metacello ... Gofer was used because at the time (2009) it was the only cross platform solution for providing a common api to Monticello and frankly at the time I imagined the Gofer would be accepted in the base image for all the platforms, but it has not and I just haven't had the time to changed the architecture ... moving forward I would accept contributions that replaced Gofer with something else on Squeak (I have some basic requirements for functionality that would need to be expressed)...
>
> Using Gofer meant I did't have invent something that works the same on Squeak, but if someone wanted to take on the task of:
>
>  a) providing equivalent functionality on Squeak
>  b) helping me rearchitect Metacello to isolate the Gofer dependencies
>
> I'd be supportive of that...
>
> Dale
>
>
>
>
>
> ----- Original Message -----
> | From: "Bert Freudenberg" <[hidden email]>
> | To: "The general-purpose Squeak developers list" <[hidden email]>
> | Sent: Thursday, August 2, 2012 3:37:07 PM
> | Subject: Re: [squeak-dev] Metacello and Squeak4.4
> |
> | On 02.08.2012, at 13:38, Colin Putney wrote:
> |
> | > On Thu, Aug 2, 2012 at 1:33 PM, Dale Henrichs <[hidden email]>
> | > wrote:
> | >> I have a small 3 class package (Metacello-Base[1]) that I would
> | >> hope could be included in the Squeak4.4 release.
> | >
> | > +1
> | >
> | > It would be nice to have a cross-dialect API for install scripts.
> | > Thanks for keeping Squeak support up to date.
> | >
> | > Colin
> |
> | Last time I tried to install something using Metacello it pulled in
> | many unrelated packages (like Gopher). Was that a fault of the
> | package I tried to load, or Metacello's? IOW, will this use
> | Installer to do the actual work or pull in even more stuff?
> |
> | - Bert -
> |
> |
> |
>




Reply | Threaded
Open this post in threaded view
|

Re: Metacello and Squeak4.4

Dale Henrichs
In reply to this post by Frank Shearar-3
Frank,

Since you're working on the CI stuff, where should I go to get a recent copy of Squeak4.4 .. I have the impression that the release available for ftp[1] is not the one I should use?

I noticed that there are no download artifacts on the CI build site, so perhaps the trunk is the right place after all?

Dale

[1] http://ftp.squeak.org/trunk/
----- Original Message -----
| From: "Frank Shearar" <[hidden email]>
| To: "ma chris m" <[hidden email]>, "The general-purpose Squeak developers list"
| <[hidden email]>
| Sent: Thursday, August 2, 2012 2:05:15 PM
| Subject: Re: [squeak-dev] Metacello and Squeak4.4
|
| On 2 August 2012 21:49, Chris Muller <[hidden email]> wrote:
| > If there's little or no danger of any serious regressions elsewhere
| > in
| > the system, then I'm +1.  Like Frank, I think it's important for
| > Squeak to continue to put out stable releases.
|
| I need to hack on the CI server first, but if a kind soul wouldn't
| mind just loading Dale's mcz and running the full suite of tests, I'd
| be grateful. I don't see how that could cause regressions, but I'm
| paranoid.
|
| > Dale, your efforts on cross-platform are amazing, thanks!
|
| Seconded!
|
| frank
|
| > On Thu, Aug 2, 2012 at 3:33 PM, Dale Henrichs <[hidden email]>
| > wrote:
| >> I have a small 3 class package (Metacello-Base[1]) that I would
| >> hope could be included in the Squeak4.4 release.
| >>
| >> Of the 3 classes, the Metacello class is a stub class for the
| >> Metacello Scripting Api[2], that will bootstrap Metacello _if_
| >> you use the scripting api. I am promoting the scripting api as
| >> the cross platform way to use Metacello. Instead of seeing
| >> install scripts fly by that look like this:
| >>
| >>   Gofer new
| >>     package: 'ConfigurationOfSeaside30';
| >>     squeaksource: 'MetacelloRepository';
| >>     load.
| >>   ((Smalltalk at: #ConfigurationOfSeaside30) version: #stable)
| >>   load.
| >>
| >> (with the caveat that Installer should be used for Squeak)...the
| >> install scripts will look like this:
| >>
| >>   Metacello new
| >>     configuration: 'Seaside30';
| >>     version: #stable;
| >>     squeaksource: 'MetacelloRepository';
| >>     load.
| >>
| >> The same script will "do the right thing" on all three supported
| >> platforms (Squeak, Pharo, GemStone), presuming that the class
| >> Metacello is present in the base images:)
| >>
| >> I've recently released a preview version[4] and am actively
| >> collecting feedback. I would think that I can finalize the
| >> visible portion of the scripting api by September...
| >>
| >> I've been ensuring that the metacello preview release is
| >> functional on Squeak all along and I am currently running CI
| >> builds against Squeak4.3 using travis ci[5]. Moving forward I
| >> would add Squeak4.4 to the list of platforms for CI and publish
| >> updates to the Metacello-Base pacakge as needed.
| >>
| >> The class comments for each of the classes provides basic
| >> documentation for using Metacello so I think that Metacello-Base
| >> is a clean and small presence for Metacello and will enable the
| >> use of "cross-platform install scripts for Metacello."
| >>
| >> Thanks,
| >>
| >> Dale
| >>
| >> [1]
| >> http://seaside.gemstone.com/ss/metacello/Metacello-Base-dkh.96.mcz
| >> [2]
| >> https://github.com/dalehenrich/metacello-work/blob/master/docs/MetacelloUserGuide.md
| >> [4]
| >> http://forum.world.st/Metacello-Preview-release-1-0-beta-32-2-tt4642064.html
| >> [5]
| >> http://travis-ci.org/#!/dalehenrich/metacello-work/builds/2012331
| >>
| >
|
|

Reply | Threaded
Open this post in threaded view
|

Re: Metacello and Squeak4.4

Frank Shearar-3
On 3 August 2012 17:21, Dale Henrichs <[hidden email]> wrote:
> Frank,
>
> Since you're working on the CI stuff, where should I go to get a recent copy of Squeak4.4 .. I have the impression that the release available for ftp[1] is not the one I should use?
>
> I noticed that there are no download artifacts on the CI build site, so perhaps the trunk is the right place after all?

I haven't done the bundle-and-publish part of the CI yet, but
https://github.com/frankshearar/squeak-ci has a close-to-up-to-date
image you can use in the meantime.

frank

> Dale
>
> [1] http://ftp.squeak.org/trunk/
> ----- Original Message -----
> | From: "Frank Shearar" <[hidden email]>
> | To: "ma chris m" <[hidden email]>, "The general-purpose Squeak developers list"
> | <[hidden email]>
> | Sent: Thursday, August 2, 2012 2:05:15 PM
> | Subject: Re: [squeak-dev] Metacello and Squeak4.4
> |
> | On 2 August 2012 21:49, Chris Muller <[hidden email]> wrote:
> | > If there's little or no danger of any serious regressions elsewhere
> | > in
> | > the system, then I'm +1.  Like Frank, I think it's important for
> | > Squeak to continue to put out stable releases.
> |
> | I need to hack on the CI server first, but if a kind soul wouldn't
> | mind just loading Dale's mcz and running the full suite of tests, I'd
> | be grateful. I don't see how that could cause regressions, but I'm
> | paranoid.
> |
> | > Dale, your efforts on cross-platform are amazing, thanks!
> |
> | Seconded!
> |
> | frank
> |
> | > On Thu, Aug 2, 2012 at 3:33 PM, Dale Henrichs <[hidden email]>
> | > wrote:
> | >> I have a small 3 class package (Metacello-Base[1]) that I would
> | >> hope could be included in the Squeak4.4 release.
> | >>
> | >> Of the 3 classes, the Metacello class is a stub class for the
> | >> Metacello Scripting Api[2], that will bootstrap Metacello _if_
> | >> you use the scripting api. I am promoting the scripting api as
> | >> the cross platform way to use Metacello. Instead of seeing
> | >> install scripts fly by that look like this:
> | >>
> | >>   Gofer new
> | >>     package: 'ConfigurationOfSeaside30';
> | >>     squeaksource: 'MetacelloRepository';
> | >>     load.
> | >>   ((Smalltalk at: #ConfigurationOfSeaside30) version: #stable)
> | >>   load.
> | >>
> | >> (with the caveat that Installer should be used for Squeak)...the
> | >> install scripts will look like this:
> | >>
> | >>   Metacello new
> | >>     configuration: 'Seaside30';
> | >>     version: #stable;
> | >>     squeaksource: 'MetacelloRepository';
> | >>     load.
> | >>
> | >> The same script will "do the right thing" on all three supported
> | >> platforms (Squeak, Pharo, GemStone), presuming that the class
> | >> Metacello is present in the base images:)
> | >>
> | >> I've recently released a preview version[4] and am actively
> | >> collecting feedback. I would think that I can finalize the
> | >> visible portion of the scripting api by September...
> | >>
> | >> I've been ensuring that the metacello preview release is
> | >> functional on Squeak all along and I am currently running CI
> | >> builds against Squeak4.3 using travis ci[5]. Moving forward I
> | >> would add Squeak4.4 to the list of platforms for CI and publish
> | >> updates to the Metacello-Base pacakge as needed.
> | >>
> | >> The class comments for each of the classes provides basic
> | >> documentation for using Metacello so I think that Metacello-Base
> | >> is a clean and small presence for Metacello and will enable the
> | >> use of "cross-platform install scripts for Metacello."
> | >>
> | >> Thanks,
> | >>
> | >> Dale
> | >>
> | >> [1]
> | >> http://seaside.gemstone.com/ss/metacello/Metacello-Base-dkh.96.mcz
> | >> [2]
> | >> https://github.com/dalehenrich/metacello-work/blob/master/docs/MetacelloUserGuide.md
> | >> [4]
> | >> http://forum.world.st/Metacello-Preview-release-1-0-beta-32-2-tt4642064.html
> | >> [5]
> | >> http://travis-ci.org/#!/dalehenrich/metacello-work/builds/2012331
> | >>
> | >
> |
> |
>

Reply | Threaded
Open this post in threaded view
|

Re: Metacello and Squeak4.4

Dale Henrichs
Excellent!

Thanks,

Dale

----- Original Message -----
| From: "Frank Shearar" <[hidden email]>
| To: "The general-purpose Squeak developers list" <[hidden email]>
| Sent: Friday, August 3, 2012 9:24:12 AM
| Subject: Re: [squeak-dev] Metacello and Squeak4.4
|
| On 3 August 2012 17:21, Dale Henrichs <[hidden email]> wrote:
| > Frank,
| >
| > Since you're working on the CI stuff, where should I go to get a
| > recent copy of Squeak4.4 .. I have the impression that the release
| > available for ftp[1] is not the one I should use?
| >
| > I noticed that there are no download artifacts on the CI build
| > site, so perhaps the trunk is the right place after all?
|
| I haven't done the bundle-and-publish part of the CI yet, but
| https://github.com/frankshearar/squeak-ci has a close-to-up-to-date
| image you can use in the meantime.
|
| frank
|
| > Dale
| >
| > [1] http://ftp.squeak.org/trunk/
| > ----- Original Message -----
| > | From: "Frank Shearar" <[hidden email]>
| > | To: "ma chris m" <[hidden email]>, "The general-purpose
| > | Squeak developers list"
| > | <[hidden email]>
| > | Sent: Thursday, August 2, 2012 2:05:15 PM
| > | Subject: Re: [squeak-dev] Metacello and Squeak4.4
| > |
| > | On 2 August 2012 21:49, Chris Muller <[hidden email]> wrote:
| > | > If there's little or no danger of any serious regressions
| > | > elsewhere
| > | > in
| > | > the system, then I'm +1.  Like Frank, I think it's important
| > | > for
| > | > Squeak to continue to put out stable releases.
| > |
| > | I need to hack on the CI server first, but if a kind soul
| > | wouldn't
| > | mind just loading Dale's mcz and running the full suite of tests,
| > | I'd
| > | be grateful. I don't see how that could cause regressions, but
| > | I'm
| > | paranoid.
| > |
| > | > Dale, your efforts on cross-platform are amazing, thanks!
| > |
| > | Seconded!
| > |
| > | frank
| > |
| > | > On Thu, Aug 2, 2012 at 3:33 PM, Dale Henrichs
| > | > <[hidden email]>
| > | > wrote:
| > | >> I have a small 3 class package (Metacello-Base[1]) that I
| > | >> would
| > | >> hope could be included in the Squeak4.4 release.
| > | >>
| > | >> Of the 3 classes, the Metacello class is a stub class for the
| > | >> Metacello Scripting Api[2], that will bootstrap Metacello _if_
| > | >> you use the scripting api. I am promoting the scripting api as
| > | >> the cross platform way to use Metacello. Instead of seeing
| > | >> install scripts fly by that look like this:
| > | >>
| > | >>   Gofer new
| > | >>     package: 'ConfigurationOfSeaside30';
| > | >>     squeaksource: 'MetacelloRepository';
| > | >>     load.
| > | >>   ((Smalltalk at: #ConfigurationOfSeaside30) version: #stable)
| > | >>   load.
| > | >>
| > | >> (with the caveat that Installer should be used for
| > | >> Squeak)...the
| > | >> install scripts will look like this:
| > | >>
| > | >>   Metacello new
| > | >>     configuration: 'Seaside30';
| > | >>     version: #stable;
| > | >>     squeaksource: 'MetacelloRepository';
| > | >>     load.
| > | >>
| > | >> The same script will "do the right thing" on all three
| > | >> supported
| > | >> platforms (Squeak, Pharo, GemStone), presuming that the class
| > | >> Metacello is present in the base images:)
| > | >>
| > | >> I've recently released a preview version[4] and am actively
| > | >> collecting feedback. I would think that I can finalize the
| > | >> visible portion of the scripting api by September...
| > | >>
| > | >> I've been ensuring that the metacello preview release is
| > | >> functional on Squeak all along and I am currently running CI
| > | >> builds against Squeak4.3 using travis ci[5]. Moving forward I
| > | >> would add Squeak4.4 to the list of platforms for CI and
| > | >> publish
| > | >> updates to the Metacello-Base pacakge as needed.
| > | >>
| > | >> The class comments for each of the classes provides basic
| > | >> documentation for using Metacello so I think that
| > | >> Metacello-Base
| > | >> is a clean and small presence for Metacello and will enable
| > | >> the
| > | >> use of "cross-platform install scripts for Metacello."
| > | >>
| > | >> Thanks,
| > | >>
| > | >> Dale
| > | >>
| > | >> [1]
| > | >> http://seaside.gemstone.com/ss/metacello/Metacello-Base-dkh.96.mcz
| > | >> [2]
| > | >> https://github.com/dalehenrich/metacello-work/blob/master/docs/MetacelloUserGuide.md
| > | >> [4]
| > | >> http://forum.world.st/Metacello-Preview-release-1-0-beta-32-2-tt4642064.html
| > | >> [5]
| > | >> http://travis-ci.org/#!/dalehenrich/metacello-work/builds/2012331
| > | >>
| > | >
| > |
| > |
| >
|
|

Reply | Threaded
Open this post in threaded view
|

Re: Metacello and Squeak4.4

Dale Henrichs
In reply to this post by Frank Shearar-3
Frank,

The Metacello tests add/remove global variables to/from Smalltalk and it looks like Environment does not implement #removeKey:ifAbsent:, so I've got some 400 test failures because I can't remove a global from Smalltalk ...

I can hack this for the time being but I'm curious what the longer term plan will be with regards to removing global variables from Smalltalk or perhaps leaving #removeKey:ifAbsent: out is inadvertent ...

BTW, I'm using update 12154 ...

Thanks,

Dale
----- Original Message -----
| From: "Frank Shearar" <[hidden email]>
| To: "The general-purpose Squeak developers list" <[hidden email]>
| Sent: Friday, August 3, 2012 9:24:12 AM
| Subject: Re: [squeak-dev] Metacello and Squeak4.4
|
| On 3 August 2012 17:21, Dale Henrichs <[hidden email]> wrote:
| > Frank,
| >
| > Since you're working on the CI stuff, where should I go to get a
| > recent copy of Squeak4.4 .. I have the impression that the release
| > available for ftp[1] is not the one I should use?
| >
| > I noticed that there are no download artifacts on the CI build
| > site, so perhaps the trunk is the right place after all?
|
| I haven't done the bundle-and-publish part of the CI yet, but
| https://github.com/frankshearar/squeak-ci has a close-to-up-to-date
| image you can use in the meantime.
|
| frank
|
| > Dale
| >
| > [1] http://ftp.squeak.org/trunk/
| > ----- Original Message -----
| > | From: "Frank Shearar" <[hidden email]>
| > | To: "ma chris m" <[hidden email]>, "The general-purpose
| > | Squeak developers list"
| > | <[hidden email]>
| > | Sent: Thursday, August 2, 2012 2:05:15 PM
| > | Subject: Re: [squeak-dev] Metacello and Squeak4.4
| > |
| > | On 2 August 2012 21:49, Chris Muller <[hidden email]> wrote:
| > | > If there's little or no danger of any serious regressions
| > | > elsewhere
| > | > in
| > | > the system, then I'm +1.  Like Frank, I think it's important
| > | > for
| > | > Squeak to continue to put out stable releases.
| > |
| > | I need to hack on the CI server first, but if a kind soul
| > | wouldn't
| > | mind just loading Dale's mcz and running the full suite of tests,
| > | I'd
| > | be grateful. I don't see how that could cause regressions, but
| > | I'm
| > | paranoid.
| > |
| > | > Dale, your efforts on cross-platform are amazing, thanks!
| > |
| > | Seconded!
| > |
| > | frank
| > |
| > | > On Thu, Aug 2, 2012 at 3:33 PM, Dale Henrichs
| > | > <[hidden email]>
| > | > wrote:
| > | >> I have a small 3 class package (Metacello-Base[1]) that I
| > | >> would
| > | >> hope could be included in the Squeak4.4 release.
| > | >>
| > | >> Of the 3 classes, the Metacello class is a stub class for the
| > | >> Metacello Scripting Api[2], that will bootstrap Metacello _if_
| > | >> you use the scripting api. I am promoting the scripting api as
| > | >> the cross platform way to use Metacello. Instead of seeing
| > | >> install scripts fly by that look like this:
| > | >>
| > | >>   Gofer new
| > | >>     package: 'ConfigurationOfSeaside30';
| > | >>     squeaksource: 'MetacelloRepository';
| > | >>     load.
| > | >>   ((Smalltalk at: #ConfigurationOfSeaside30) version: #stable)
| > | >>   load.
| > | >>
| > | >> (with the caveat that Installer should be used for
| > | >> Squeak)...the
| > | >> install scripts will look like this:
| > | >>
| > | >>   Metacello new
| > | >>     configuration: 'Seaside30';
| > | >>     version: #stable;
| > | >>     squeaksource: 'MetacelloRepository';
| > | >>     load.
| > | >>
| > | >> The same script will "do the right thing" on all three
| > | >> supported
| > | >> platforms (Squeak, Pharo, GemStone), presuming that the class
| > | >> Metacello is present in the base images:)
| > | >>
| > | >> I've recently released a preview version[4] and am actively
| > | >> collecting feedback. I would think that I can finalize the
| > | >> visible portion of the scripting api by September...
| > | >>
| > | >> I've been ensuring that the metacello preview release is
| > | >> functional on Squeak all along and I am currently running CI
| > | >> builds against Squeak4.3 using travis ci[5]. Moving forward I
| > | >> would add Squeak4.4 to the list of platforms for CI and
| > | >> publish
| > | >> updates to the Metacello-Base pacakge as needed.
| > | >>
| > | >> The class comments for each of the classes provides basic
| > | >> documentation for using Metacello so I think that
| > | >> Metacello-Base
| > | >> is a clean and small presence for Metacello and will enable
| > | >> the
| > | >> use of "cross-platform install scripts for Metacello."
| > | >>
| > | >> Thanks,
| > | >>
| > | >> Dale
| > | >>
| > | >> [1]
| > | >> http://seaside.gemstone.com/ss/metacello/Metacello-Base-dkh.96.mcz
| > | >> [2]
| > | >> https://github.com/dalehenrich/metacello-work/blob/master/docs/MetacelloUserGuide.md
| > | >> [4]
| > | >> http://forum.world.st/Metacello-Preview-release-1-0-beta-32-2-tt4642064.html
| > | >> [5]
| > | >> http://travis-ci.org/#!/dalehenrich/metacello-work/builds/2012331
| > | >>
| > | >
| > |
| > |
| >
|
|

Reply | Threaded
Open this post in threaded view
|

Re: Metacello and Squeak4.4

Colin Putney-3


On Fri, Aug 3, 2012 at 1:00 PM, Dale Henrichs <[hidden email]> wrote:
Frank,

The Metacello tests add/remove global variables to/from Smalltalk and it looks like Environment does not implement #removeKey:ifAbsent:, so I've got some 400 test failures because I can't remove a global from Smalltalk ...

I can hack this for the time being but I'm curious what the longer term plan will be with regards to removing global variables from Smalltalk or perhaps leaving #removeKey:ifAbsent: out is inadvertent ...

BTW, I'm using update 12154 ...

First, Environments is being pushed to Squeak 4.5, so it should be removed from 4.4 shortly.

During the development period for 4.5, Environments will implement #removeKey:ifAbsent:, but eventually that will be deprecated in favour of #undeclare: or something similar.

Colin 



12