should we list packages in baseline even if we list them in version

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

should we list packages in baseline even if we list them in version

stephane ducasse-2
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' ].
Reply | Threaded
Open this post in threaded view
|

Re: should we list packages in baseline even if we list them in version

Mariano Martinez Peck


On Sat, Dec 31, 2011 at 12:11 PM, stephane ducasse <[hidden email]> wrote:
HI

I have a question should I list packages in baseline even if we list them in version


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
       <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' ].



--
Mariano
http://marianopeck.wordpress.com

Reply | Threaded
Open this post in threaded view
|

Re: should we list packages in baseline even if we list them in version

Dale Henrichs
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' ].
Reply | Threaded
Open this post in threaded view
|

Re: should we list packages in baseline even if we list them in version

stephane ducasse-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' ].