HI
I have a question should I list packages in baseline even if we list them in version baseline10: spec <version: '1.0-baseline'> spec for: #pharo do: [ spec blessing: #baseline. spec description: 'First Full Configuration'. spec author: 'StephaneDucasse'. spec timestamp: '29/12/2011 12:29'. spec repository: 'http://www.squeaksource.com/Soup'. spec project: 'XMLSupport' with: [ spec className: 'ConfigurationOfXMLSupport'; versionString: #stable; repository: 'http://www.squeaksource.com/XMLSupport'. ] ] version10: spec <version: '1.0' imports: #('1.0-baseline')> spec for: #pharo do: [ spec blessing: #development. spec project: 'XMLSupport' with: '1.2.1'. spec package: 'Soup-Core' with: 'Soup-Core-sd.11'; package: 'Soup-Tests-Core' with: 'Soup-Tests-Core-sd.3'; package: 'Soup-Help' with: 'Soup-Help-StephaneDucasse.2' ]. |
On Sat, Dec 31, 2011 at 12:11 PM, stephane ducasse <[hidden email]> wrote: HI if you ask "should" I would answer YES. At least, that's the idea: in baseline you put structural information and in version just versions. Now...if you ask "HAVE TO" I don't know. I never tried if that works. baseline10: spec -- Mariano http://marianopeck.wordpress.com |
In reply to this post by stephane ducasse-2
Stef,
You should always list the packages in the baseline and the version. In the baseline you specify dependency information. In the version you specify the mcz version or project version only. Metacello works if you don't don't list packages in both the baseline and version, but the validator will complain. The validator is the Enforcer for the Metacello conventions. I hope that Doru and Alexander are making good use of the validator in their tools:). Validations are run automatically before commits in the MetacelloToolBox code ... Dale ----- Original Message ----- | From: "stephane ducasse" <[hidden email]> | To: [hidden email] | Sent: Saturday, December 31, 2011 3:11:31 AM | Subject: [Metacello] should we list packages in baseline even if we list them in version | | HI | | I have a question should I list packages in baseline even if we list | them in version | | baseline10: spec | <version: '1.0-baseline'> | | spec for: #pharo do: [ | spec blessing: #baseline. | spec description: 'First Full Configuration'. | spec author: 'StephaneDucasse'. | spec timestamp: '29/12/2011 12:29'. | spec repository: 'http://www.squeaksource.com/Soup'. | | spec project: 'XMLSupport' with: [ | spec className: 'ConfigurationOfXMLSupport'; | versionString: #stable; | repository: 'http://www.squeaksource.com/XMLSupport'. | ] | | ] | | | version10: spec | <version: '1.0' imports: #('1.0-baseline')> | | spec for: #pharo do: [ | spec blessing: #development. | spec project: 'XMLSupport' with: '1.2.1'. | | spec | package: 'Soup-Core' with: 'Soup-Core-sd.11'; | package: 'Soup-Tests-Core' with: 'Soup-Tests-Core-sd.3'; | package: 'Soup-Help' with: 'Soup-Help-StephaneDucasse.2' ]. |
Ok I will add that into the chapter in bold.
On Jan 3, 2012, at 8:03 PM, Dale Henrichs wrote: > Stef, > > You should always list the packages in the baseline and the version. > > In the baseline you specify dependency information. > > In the version you specify the mcz version or project version only. > > Metacello works if you don't don't list packages in both the baseline and version, but the validator will complain. The validator is the Enforcer for the Metacello conventions. > > I hope that Doru and Alexander are making good use of the validator in their tools:). Validations are run automatically before commits in the MetacelloToolBox code ... > > Dale > > ----- Original Message ----- > | From: "stephane ducasse" <[hidden email]> > | To: [hidden email] > | Sent: Saturday, December 31, 2011 3:11:31 AM > | Subject: [Metacello] should we list packages in baseline even if we list them in version > | > | HI > | > | I have a question should I list packages in baseline even if we list > | them in version > | > | baseline10: spec > | <version: '1.0-baseline'> > | > | spec for: #pharo do: [ > | spec blessing: #baseline. > | spec description: 'First Full Configuration'. > | spec author: 'StephaneDucasse'. > | spec timestamp: '29/12/2011 12:29'. > | spec repository: 'http://www.squeaksource.com/Soup'. > | > | spec project: 'XMLSupport' with: [ > | spec className: 'ConfigurationOfXMLSupport'; > | versionString: #stable; > | repository: 'http://www.squeaksource.com/XMLSupport'. > | ] > | > | ] > | > | > | version10: spec > | <version: '1.0' imports: #('1.0-baseline')> > | > | spec for: #pharo do: [ > | spec blessing: #development. > | spec project: 'XMLSupport' with: '1.2.1'. > | > | spec > | package: 'Soup-Core' with: 'Soup-Core-sd.11'; > | package: 'Soup-Tests-Core' with: 'Soup-Tests-Core-sd.3'; > | package: 'Soup-Help' with: 'Soup-Help-StephaneDucasse.2' ]. |
Free forum by Nabble | Edit this page |