a factory of images, interesting... this comes to mind:
Werner Vogels, Amazon's CTO, once said "make your administration part of the app" this feature seems to open that door in a deep level for Pharo keep the good work sebastian o/ ----- Original Message ----- From: "Guido Chari" <[email protected]> To: [email protected] Sent: Thursday, October 18, 2012 12:13:54 PM Subject: Re: [Pharo-project] new command line api to build images Very cool and useful!!! I bet that most of the work that bash is doing could be done from the image. So a nice next to for the future could be... ImageInstaller new installNewImageWithName: '' intoDirectory: '' withConfigurations: #(...), etc.. Guido. 2012/10/18 Sven Van Caekenberghe < [email protected] > On 18 Oct 2012, at 16:13, Camillo Bruni < [email protected] > wrote: > We're almost there, create your images from the command-line with a > very limited number of bash lines ;) > > #==================================================================================== > > VM=`pharo-shell-scripts/fetchLatestVM.sh` > unzip -ou Pharo-2.0.zip -d . && cd Pharo-2.0 > > $VM -headless Pharo-2.0.image config http://ss3.gemstone.com/ss/ci > ConfigurationOfCI --install > $VM -headless Pharo-2.0.image save CI --delete-old > > zip -r CI.zip CI.changes CI.image *.sources > #==================================================================================== > > > there you go, a new image named CI with the given configuration installed. > > We still have to extend the API a little bit to support loading specific > groups > from a Metacello config + accessing repositories by username and password. > > > best > cami Beautiful software ! I think I would first save under a new name without deleting and then do an install to keep the original clean. Good work. Sven -- Sven Van Caekenberghe http://stfx.eu Smalltalk is the Red Pill
