[squeak-dev] Example migration script for sq3-10-7159dev08-05-1

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[squeak-dev] Example migration script for sq3-10-7159dev08-05-1

Ken G. Brown
At 3:30 AM -0700 5/11/08, [hidden email] apparently wrote:

>Date: Sat, 10 May 2008 21:26:30 -0400
>From: "Bill Schwab" <[hidden email]>
>Subject: Re: [squeak-dev] [ANN][Squeak-dev Images] May 2008 versions
>To: <[hidden email]>
>Message-ID: <[hidden email]>
>Content-Type: text/plain; charset=US-ASCII
>
>Ken,
>
>That sounds impressive.  Does this start off with something like:
>
>   (HTTPSocket httpGet: 'installer.pbwiki.com/f/LPF.st') readStream
>fileIn.
>   SmalltalkImage saveAs: 'new.image'.
>
>probably with some things of your own before (or after?) the image save?
>
>Anything of your script that you do not mind sharing would be
>appreciated as examples.
>
>Bill

I have posted my complete example migration script to
<http://installer.pbwiki.com/Example%20migration%20script%20for%20sq3-10-7159dev08-05-1>, I even tried to document it a bit! :)

It needs some editing of local paths and filenames, and you need to decide whether or not you actually want to perform the tasks.
You need to work through the script step by step the first time, executing each doit manually so you know what is happening. For scripts that it uses from http://installer.pbwiki.com, you can pull up those sites in an Internet browser to see what they do.

It should provide many examples of working commands some of which took me a while to get working, like the load Workspace text from file one.

Keith recently said on #Squeak that --) Installer view 'whatever you want'. (-- will make a local text file of whatever script but I have not quite figured out how to use that yet.
If you do, please let me know, and please also let me know of any suggestions for improvement or any issues you run across.

Have fun!
Ken G. Brown



>===============================
>"Ken G. Brown" <kbrown@...> wrote:
>15 mins to migrate everything from my 3.10dev8.04.1 working image to a
>fresh
>dev8.05.1 using my Installer script.
>This was mostly just waiting for downloads to occur and to answer ok to
>a few
>dialogs that pop up for certain changesets.
>
>This included installing almost everything from
>http://installer.pbwiki.com
>(LPF, fixes, packages, etc.), FFI, Balloon3D, VMMaker, restoring several
>Workspaces to their saved- to-file contents, reloading all my own work
>from my
>local Monticello repository, applying a few mantis fixes, loading
>several other
>packages from SqueakMap, Universes and SqueakSource and some other
>changesets
>from my loacal drive to make generating a VM happy.
>
>Thx!
>
>Ken G. Brown
>
>
>
>Wilhelm K. Schwab, Ph.D.
>University of Florida
>Department of Anesthesiology
>PO Box 100254
>Gainesville, FL 32610-0254
>
>Email: [hidden email]
>Tel: (352) 846-1285
>FAX: (352) 392-7029