On 26/03/2016 22:00, stepharo wrote: > Hi > > using the dependency analyser I see that may packages have the following > dependencies > > for example > > package: 'Math-DistributionGamma' with: [ spec requires: > #('Math-Core' 'Math-DHB-Numerical' 'Math-Series' > 'Math-Core-Distribution') ]; > > package: 'Math-DistributionBeta' with: [ spec requires: > #('Math-DistributionGamma' 'Math-Core' 'Math-Core-Distribution' > 'Math-DHB-Numerical' 'Math-Series') ]; > > so I wrote the requirement this way > > > Now does it have an impact on Metacello and should I keep only the > direct depend. >
Hi, Since Math-DistributionBeta depend on Math-DistributionGamma you can do: package: 'Math-DistributionGamma' with: [ spec requires: #('Math-Core' 'Math-DHB-Numerical' 'Math-Series' 'Math-Core-Distribution') ]; package: 'Math-DistributionBeta' with: [ spec requires: #('Math-DistributionGamma') ]; You can do this if beta really cannot work without gamma and if gamma will keep the same dependencies. And it is important I think because imagine Math-DisctirbutionBeta depend on Ston. You can create a group gamma and a group beta. If you load the group gamma, you will not get the ston dependency because it only concern gamma. > > package: 'Math-DistributionBeta' with: [ spec requires: > #('Math-DistributionGamma' ) ]; > > This is annoying because I have 50 packages and doing that manually is a > pain. > > Stef > > -- Cyril Ferlicot http://www.synectique.eu 165 Avenue Bretagne Lille 59000 France
signature.asc
Description: OpenPGP digital signature