Skip to content
Bert Freudenberg edited this page Mar 3, 2018 · 3 revisions

Welcome to the Smalltalk78 wiki!

How to publish an update

  1. Load updates
  2. Inspect your changes: print Changes contents sort
  3. File out your changes: execute user filout: 'title-xy.st' whery xy are your initials
  4. choose edit file ... from desktop menu and select the title-xy.st fileout. Make sure it looks correct. You can delete chunks and save the file.
  5. (Optional) Add a message describing your change as 'string' to the top. End the chunk with a 'do-it' marker (ctrl-]). The string will be printed to the transcript when loading updates.
  6. To test your update, use the file in ... menu item in a clean image.
  7. When the saved file is ready, choose publish update... from desktop menu and select title-xy.st. It will be renamed to 0123title-xy.st and uploaded to https://lively-web.org/users/bert/St78/updates Additionally, it will be added to the updates.list index file.
  8. That's it! Loading updates should fetch your new update too
  9. You may want to reset the changes in your image: Changes init
  10. All update files should be committed to github, too, but we can do that later.

If something went wrong when uploading the update

The publish update... menu entry fetches updates.list, parses it, then renames your update to 0123title-xy.st, then uploads it. If the upload fails, you have to rename the update back to title-xy.st before trying again. The easiest to do so is using edit file ... to load it, then change the filename by clicking in the title area, then saving the file. This method was introduced in update 305.