1.5 What is a Repository?

A repository in Pharo refers to a Monticello project code repository. A Monticello project repository is usually stored on disk in a directory and/or in an online Repository Store (here, "store" refers to storage, not commerce). Even though Monticello also supports other repository store types (like the GOODS OO Database, FTP, SMTP, and others), most projects tend to use an online repository stores to publish and share their code.


There are several popular online repository stores that use Monticello:

In addition to browsing and creating a repository for their own projects on the main sites listed above, anyone is free to host their own Monticello repository.


Each project has their code or classes organised in one or more packages. By convention, packages (which did not exist in Smalltalk-80) and categories will have the same name, as in most cases the category and package are the exact same thing.


Projects that rely on one or more other project repositories (e.g. you are creating a web application using one of the popular web frameworks) need to be able to specify these dependencies. Project dependencies are important to ensure that anyone who wants to load a project into their Image has all the required components. A tool called Metacello – which is a Smalltalk Package Management System - closely integrates with Monticello.

SmalltalkHub, SqueakSource3, and GemSource, will all have a project called MetacelloRepository containing various configuration packages to load projects.


When opening the Monticello Browser in your image, you will notice that the MetacelloRepository is one of the known repositories in the right pane (and the left pane lists all the working copy packages in your image).


When clicking Open, Pharo will connect to the repository and load all available packages in the left pane. For each package in the repository it will list the available versions in the right pane.


User Contributed Notes

mozillanerd (21 September 2012, 7:41 pm)

I seconnd the need for nagigation at the bottom. This appears as a problem of PBE also.

DekuDekuplex (23 March 2012, 2:26 am)

There are a number of grammatical errors in the description; is it possible for readers to edit the text to correct the errors?

jaharju (3 February 2012, 3:51 pm)

I'll second that there should be navigation available at the bottom of the page.

thekilon (30 January 2012, 5:40 am)

I think it will be convenient if the navigation links are not only on the top of the page but rather stick to the scroll and are available at any time.

Add a Note

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