Alert icon
We're changing our privacy policy. This stuff matters.  Learn more  Dismiss

Using Monticello for Source Code

Loading...

Sign in or sign up now!
402 views
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Feb 24, 2010

In Chapter 14 of Learning Web Development with Seaside we look at the Monticello source code management system. Monticello allows us to save source code outside of our Smalltalk environment.

We start by launching the Seaside One-Click Experience and opening a Monticello Browser. We click the 'Add Package' button and provide a package name. Next we add a repository to the package. We will use a local directory for the repository (I had created a directory named 'Monticello' in my home directory). Now we click the 'Save' button to save the LosBoquitas package to the repository. We provide a comment and see that we now have a package. When we look at the file system we see that there is a file in the Monticello directory that contains a version of our package.

We would like to understand the package contents. Make a copy of the package and rename the copy so that it has a '.zip' extension. Use the operating system tools to unzip the package and we can see that there are various files and a directory. We can view the package file in a text editor and we can view the vresion file in a text editor. We see that the version file is a list of name/value pairs describing the current version. In the snapshot directory there is a 'source.st' file that contains the code for our package.

Now we can make a change to one of the methods in our package and see how Monticello marks changed files. We can view the changes in a Patch Browser. The green shows our current code and the red shows the prior code.

We now save our Smalltalk environment and quit.

For more information go to seaside.gemstone.com/tutorial.

Category:

Science & Technology

Tags:

License:

Standard YouTube License

  • likes, 0 dislikes

Link to this comment:

Share to:

All Comments (0)

Sign In or Sign Up now to post a comment!
Loading...
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more