Re: [Pharo-project] Versioning external packages

2012-12-01 Thread Stéphane Ducasse
read the monticello chapter in the book :) On Nov 27, 2012, at 12:12 PM, roberto.mine...@usi.ch wrote: > Hi all, > > I'm using Monticello to version my source code. > > Suppose this use case: I need to add a message to the OrderedCollection class > and I want my message to be versioned within

Re: [Pharo-project] Versioning external packages

2012-11-27 Thread Fernando Olivero
Hi Roberto, in the first case you have to add the methods in a category named: '*MyPackage', then Monticello versions it as an method "extension", a method of you package which is in a class that doesn't belong to your package. OrderedCollection>>myMethodExtension " I'm in a method category st

Re: [Pharo-project] Versioning external packages

2012-11-27 Thread Sven Van Caekenberghe
Hi Roberto, Yes, of course you can do that. It is called an extension. You have to put such methods in a method category matching your package's name, starting with an asterix, *. You can see those all over the system. For example, String has methods #asZnUrl and #asZnMimeType in a category '*z