How to split or rename Pharo categories with regard to Monticello packages?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

How to split or rename Pharo categories with regard to Monticello packages?

MartinW
Hi,
i was looking for best practices on how to split or rename Pharo categories with regard to Monticello packages. Means, when i change category names i have to somehow reflect this in Monticello packages too?

I asked on Stackoverflow:
http://stackoverflow.com/questions/16981791/how-to-proceed-with-monticello-package-after-renaming-a-package-in-pharo-2-0
http://stackoverflow.com/questions/16981305/how-to-split-a-package-category-in-pharo-2-0-with-regard-to-monticello-packages

but did not get any answers. So i repost the questions here. I found some similar - older - questions on the mailinglists, but was not sure if there were any news on this.

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 Package/Category:

MyPackage
becomes:

MyPackage-Core
MyPackage-AddOns
What is the intended way to manage these Packages/Categories with Monticello now? Is there a way to automatically split the Monticello packages accordingly? (I created some mess doing it manually and ended up starting in a new image and manually filing in the classes and then creating new Monticello packages)


and

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 rename Monticello packages accordingly with/without keeping the history intact?
What i ended up with for the moment is, loading the renamed Package/Category into a fresh image, creating a new Monticello package there and losing the history.