[Q] getting updates for off-line Squeak images...

Scott Wallace Scott.Wallace at disney.com
Tue Nov 9 22:35:52 UTC 1999


Hi, Chris,

Yes, there's an easy way to do what you want -- both to get the update files and to apply them to an image that's not connected to the net.

An easy way to get your own local copies of the update files is to have the preference "updateSavesFile" set to true in a master image that you *do* update from the server.  Then each time you update from the server, a copy of each update file that is loaded is automatically placed on your disk.  You can then send around these update files via diskette or email or whatever to those wishing to update offline.

To update images offline in a painless fashion, each offline user maintains all the update files in a folder named "updates" that resides in the same directory as his image.

Then all each offline user need do is evaluate the expression:

   	Utilities applyUpdatesFromDisk

....and all the new updates in that "updates" folder which are not yet present in his image will be automatically slurped in, in correct numerical order.

Note that this mechanism also provides an alternative way that you can selectively update an image for debugging purposes. 

  -- Scott


"At 4:54 PM -0500 11/9/99, Norton, Chris wrote:
>Hi Folks.
>
>First of all, I'd like to thank all of the Squeakers that I met at OOPSLA
>'99 for talking shop with me.  I had a GREAT time!  It sure was fun putting
>faces to some of the e-mail addresses & exchanging ideas about the future (&
>past) of Smalltalk & Squeak!  I hope we can do it again sometime soon...
>
>Quick question:  I do not have all of my PC's hooked up to the Internet, but
>I do like to use Squeak on them.  My current method of getting Squeak
>updated is to update one image (on the Internet machine) and then copy the
>whole image onto a SyQuest disk drive, sneaker net it to the other PC, hook
>it up and copy the whole image onto that PC.  Obviously, this is a
>cumbersome approach.
>
>What I'd like to do is to download the "updates from server" into a file or
>files that might easily fit on a 1.44MB floppy disk.
>
>Is there an easy way to do this?
>
>Thanks so much!
>
>---==> Chris
>
>PS>  Sorry if this is a naive question -- I really don't have much
>experience with the Squeak networking/Internet code.





More information about the Squeak-dev mailing list