Aug. 20, 2010
4:56 p.m.
El vie, 20-08-2010 a las 12:49 -0400, Andrei Stebakov escribió: > But let's say I already have an image with a bunch of libraries > installed and tweaked so they work. > Is it possible to update only Pharo kernel so I can later use it with > CogVM (which needs some latest updates)? The problem with this is that carries the old squeak way to work. That is, a image is used and modified everywhere without a way to reliably reproduce the steps to rebuild the image. That's even worse when you accidentally destroy or render your image unusable. The modern way or the pharo way is to have everything in monticello packages. >From there you can reload your code in any new image by just loading your monticello packages in the new image. Now, you can automate this procedure either: - writing a script to evaluate in a workspace that uses Gofer or Installer to fetch and install the set of packages - (recommended) write your Metacello ConfigurationOfMyPackage where you put the packages that comprise your application, plus any other dependency that is needed for it to work. Metacello then uses gofer to load all your code and its dependencies from anywhere, either locally or remotely and build your image from a given new image. This way, you can load your code in new images with just a do-it in a workspace and to check if works correctly on newer images. Cheers. > > On Fri, Aug 20, 2010 at 12:19 PM, Stéphane Ducasse > <stephane.ducasse@inria.fr> wrote: > > yes :) > > If you take an unstable image you can always select software update. > > Now this is disable in dev images. > > I suggest to use 1.2 if you want to fix the system > > > > Stef > > > > On Aug 20, 2010, at 5:46 PM, Andrei Stebakov wrote: > > > >> Is there a procedure similar to Squeak for updating to the latest kernel? > >> > >> _______________________________________________ > >> Pharo-project mailing list > >> Pharo-project@lists.gforge.inria.fr > >> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project > > > > > > _______________________________________________ > > Pharo-project mailing list > > Pharo-project@lists.gforge.inria.fr > > http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project > > > > _______________________________________________ > Pharo-project mailing list > Pharo-project@lists.gforge.inria.fr > http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project -- Miguel Cobá http://miguel.leugim.com.mx