On 6/29/16 1:09 AM, Thierry Goubier wrote:
Dale,

Le 29/06/2016 00:55, Dale Henrichs a écrit :


...

Actually, Metacello has a registry of loaded projects (baselines and
configurations) and using Metacello it is possible to determine which
pacakges belong to which projects etc. so it is not necessary to
"register packages with a project" ... the project registry in Metacello
is enough ...

How do one adds a new package to a project in that registry? One can create new packages in a repository, and add them to the baseline (by editing the baseline method)?
Yes, when you add a new package to the baseline the package becomes part of the project ... the exceptions come into play when you add a package to a baseline that is not aimed at the current platform :) For example when I'm working in GemStone I may add a package to the baseline for Pharo and actually create the initial version of the package in the GemStone image ... now as far as Metacello is concerned, the pharo package is not part of the GemStone baseline ... but this is not a common situation and in my case I manually commit the pharo package and don't really expect it to be "automatically managed" ...

Do we need to rethink the Kommitter/Versionner stuff to provide a GUI to manipulate such things?
I am not (yet) familiar with Kommitter/Versionner, but I imagine that a Metacello Project Browser is needed... In tODE the "Metacello Project Browser" is called the `project list` and does more than just manage the packages and git repo for the project --- there is a one to one relationship between a git repo and a baseline that is very nice --- From the tODE "Metacello Project Browser" one can open a browser on all of the classes in the project, or all of the categories in the project, or all of the packages in the project, or all of the dirty packages in the project, or a changes browser that displays all of the changes to all of the packages in one place, or open a test browser on all of the tests in the project, etc.... So new tools and extensions to existing tools are probably called for ...

Dale

Reply via email to