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" lewis@mail.msen.com | To: "The general-purpose Squeak developers list" squeak-dev@lists.squeakfoundation.org | 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/MetacelloUser... | > >[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 | > > | > > | |