6.38 Metacello Browser

MetacelloBrowser is a graphical tool to manage the dependencies and the version of your software. It is a complete replacement of the Monticello browser and acts as a facade for Metacello. You can use MetacelloBrowser in a number of different scenarios.

Creating a new configuration. Press the button +Configuration and enter the name of your configuration. An initial baseline will also be produced. Your configuration and the new baseline will be listed on the left hand side of the browser.

Load a configuration. The first button of the browser is for loading a configuration from its corresponding SqueakSource project. For example, entering Pharo will try to load ConfigurationOfPharo from the Pharo squeaksource project.

Add a new baseline. A baseline defines the dependencies of your software, including the list of dependent configurations, and the list of packages that defines your applications. Selecting Add Baseline by right clicking on an existing baseline will first ask you about your squeaksource username and password will be requested. You then need to enter the version of your baseline (e.g., 0.1). The final step is to add the dependent packages.

Add a new version. A version defines the version of each packages used by your last baseline. At each change in your source code, you need to create a new version. Pressing save all and add development version may be the option you want to use. MetacelloBrowser will try to guess what is the following number you need to use. Each unsaved dependent package is then saved. You need to enter a comment for the individual saved package. The configuration itself is then saved. At that stage, all your code is stored in squeaksource.

Reviewing recent changes It may be useful to review your change, for example when you want to enter a comment when creating a version. At the bottom of the right hand side panel, you have the list of dependent packages. Modified packages will be designed with a *. Right click on a package to see the difference with the last version stored in the squeaksource project. You can compare a package from the stable version of the software, or from the last commit made on squeaksource.

Add a Note

Licensed under Creative Commons BY-NC-SA | Published using Pier |