Login  Register

Re: Adding a dependency to a version

Posted by Dale Henrichs on Jan 25, 2012; 6:26pm
URL: https://forum.world.st/Adding-a-dependency-to-a-version-tp4166039p4328057.html

Alexandre,

I suppose this is a statement about the MetacelloToolBox API, but there is already an API for adding dependencies (along with othor things:):

  MetacelloTooBox class>>modifyVersion:section:for:repository:requiredProjects:packages:dependencies:includes:files:repositories:preLoadDoIts:postLoadDoIts:supplyingAnswers:groups:

MetacelloTooBoxAPITestCase>>testComplexModifyBaseline is an example of adding a new package and the dependency for that package ....

Since there are a lot of things that can be modified in a version I'm not sure that it is worth adding a collection of add* methods, but if that would simplify the things for you (and other tool builders), then I will certainly add the extra methods ...

Let me know what you think,

Dale

----- Original Message -----
| From: "Alexandre Bergel" <[hidden email]>
| To: [hidden email]
| Sent: Tuesday, December 6, 2011 11:02:36 AM
| Subject: [Metacello] Adding a dependency to a version
|
| Hi!
|
| The toolbox is indeed cool. It would be cool to have a addDependency:
| packageNames to: aVersionName
| Is this feasable?
|
| By the way, who is DataCurator ? :-) E.g.,
| Metacello-ToolBox-DataCurator.106
|
| Cheers,
| Alexandre
| --
| _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
| Alexandre Bergel  http://www.bergel.eu
| ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
|
|
|
|
|
|