Questions tagged [monticello]

Monticello is a distributed concurrent version control system for Squeak and Pharo Smalltalk. Compared to other version control systems Monticello does not version plain text files but packages, classes and methods.

Monticello is a distributed concurrent version control system for and .

Compared to other version control systems Monticello does not version plain text files but packages, classes and methods.

It was created in 2003 by Avi Bryant and Colin Putney.

Documentation

Hosting Monticello Projects

32 questions
10
votes
2 answers

How to copy a Monticello package to another repository under a different name with Gofer

The context is this one: A package had several branches developped in several repositories squeaksource source.squeak.org/trunk Development stopped in source.squeak.org, and the goal is to transfer the branch back to squeaksource in order to have…
aka.nice
  • 9,100
  • 1
  • 28
  • 40
7
votes
2 answers

Monticello: Workflow for simultaneous collaborative development / correctly numbering a version when copying to remote repository

While working, I make lots of revisions. Whenever the code is in reasonable shape, I like to commit. But not all of those commits are interesting. So I make these commits to the local disk or a private server. It looks something like this: I…
Daniel Lyons
  • 22,421
  • 2
  • 50
  • 77
6
votes
2 answers

How does the organisation of classes in categories and packages work in different versions of Pharo?

Can someone explain how the organisation of classes in Pharo works in different versions of Pharo? All Classes are part of the Smalltalk global (have always been, seem to stay like this?) Classes can have a Category, but thats only a kind of tag?…
Helene Bilbo
  • 1,142
  • 7
  • 20
5
votes
2 answers

Saving several Monticello packages at once

I am working with Pharo Smalltalk. Suppose you want to save your own group of packages into a local repository, you know that your packages are prefixed with "MyPrefix". What's the right message to do it? In code: | myPkgs | myPkgs := MCPackage…
Juan Aguerre
  • 388
  • 2
  • 7
5
votes
1 answer

Monticello extension method categorization rules

I am curious what the rules are for categorizing Monticello extension methods. I notice (in the Pharo image) some are in all lowercase like *package-name while others are in normal case like *Package-Name. Also I am curious about sub categorization…
4
votes
1 answer

How to add project to configuration browser?

One easy way of installing projects in pharo is by using a Configuration Browser. How can a developer make his project appear in this browser?
Uko
  • 13,134
  • 6
  • 58
  • 106
4
votes
2 answers

How to copy several Monticello commits from local repository to Smalltalkhub.com automatically?

I commit several versions of Monticello packages to a local repository on my disk during the day. At a later time I want to sync the local repository with a Smalltalkhub.com repository. At the moment I copy the local commits manually one by one to…
MartinW
  • 4,966
  • 2
  • 24
  • 60
4
votes
1 answer

Is there a specific method that would get executed in a class when i load a Monticello package containing this class?

Is there a specific method that would get executed in a class when i load a Monticello package containing this class? An Example: Version 1, SomeMonticelloPackage-MyName.1.mcz: Object subclass: #SomeClass classVariableNames:…
MartinW
  • 4,966
  • 2
  • 24
  • 60
3
votes
1 answer

A new Pharo version was launched. What do I do with my old images?

I noticed Pharo 9 was released past month (july 2021). I have several Pharo 8 images with packages and classes I created while learning programming in Pharo. Is it possible to just update the old image to the new version, or the standard way is to…
kleite
  • 195
  • 1
  • 16
3
votes
1 answer

Monticello, is it possible to Save in more repositories at the same time?

I would like to keep a Squeak project updated in GitHub and Squeaksource at the same time. I have Metacello-Git installed and working. If I press Save in Monticello, say, first for GitHub and then for Squeaksource, I get 1 version made for each…
Nicola Mingotti
  • 860
  • 6
  • 15
3
votes
1 answer

Load version of package for a given date in Pharo

I am looking for a way to, given a package name, load a version of that package that was the newest version at a given date. For example: HypotheticalClassLoader loadPackage: 'Athens-Core' onDate: ('12.03.2015' asDate). Would load the first commit…
BoriS
  • 907
  • 5
  • 13
3
votes
1 answer

Safely to declare and initialize a global variable in a monticello package?

How can you safely declare and initialize a global variable used by a Monticello package so you don't get errors during loading? Is doing Smalltalk at: #VarName put: varValue in a class-side "initialize" method of one of the package classes…
3
votes
1 answer

How to proceed with Monticello package after renaming a package in Pharo 2.0

After renaming a Package/Category in Pharo 2.0 that is also under version control in a Monticello package of the same name, how to proceed? can i proceed with now renamed packages/categories in a Monticello package with an old, other name? can i…
MartinW
  • 4,966
  • 2
  • 24
  • 60
3
votes
2 answers

How to split a Package/Category in Pharo 2.0 with regard to Monticello Packages

In Pharo 2.0 i started with Classes in one Package/Category (I'm not sure, what is the right term in Pharo at the moment). I have an identically named Monticello package which i contribute to. Now i split the…
MartinW
  • 4,966
  • 2
  • 24
  • 60
2
votes
1 answer

Why are these packages being marked 'dirty'?

I'm just learning Monticello and having a few struggles with it. I've been reading Deep Into Pharo, and Dead Simple Intro to Monicello. I've also watched the Pharocast on the topic, which went by quite rapidly, and the version of the code used…
lurker
  • 56,987
  • 9
  • 69
  • 103
1
2 3