have a look a the softwareUpdater class.

in essence 
        you have a list of files
                pha-1232.cs
                pha-1233.cs
                
        …

        then in the pha-1232.cs you get any smalltalk code

for Pharo, you get instructions to kick a script (method of ScriptLoader) 
that will load a list of packages.

Stef

> thank you for helping me understand. Is there any chance the updating 
> mechanics are documented somewhere ? I have noted to study metacello too. 
> 
> From: Stéphane Ducasse <[email protected]>
> To: dimitris chloupis <[email protected]> 
> Sent: Friday, 24 August 2012, 22:03
> Subject: Re: [Pharo-users] Pharo fails to update
> 
> > I am also wondering if update is good way to update my own code. I am 
> > actually thinking distributing my own pharo distribution for a project I am 
> > making called "Ephestos" (for visual and live coding, think of it as a 
> > simplification of Pharo with eye candy but of course still very compatible 
> > with pharo and squeak) and I wanted to provide to my users a super easy 
> > "update" button to do its magic.  
> 
> the update mechanism is working well. this is unrelated to metacello.
> 
> Stef
> 
> 
> 


Reply via email to