Stable - Listed vs. blessed

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

Stable - Listed vs. blessed

Sean P. DeNigris
Administrator
Now that #latestVersion is (being?) deprecated, how to the consequences of the following two approaches differ:
    stable: spec
        <symbolicVersion: #'stable'>       
        spec  for: #common version: '1.3'
vs.
    version13: spec
        <version: '1.3' imports: #('1.2-baseline')>
       
        spec for: #common do: [
                spec blessing: #release.

And what if they conflict??

Thanks,
Sean
Cheers,
Sean
Reply | Threaded
Open this post in threaded view
|

Re: Stable - Listed vs. blessed

Dale Henrichs
Not quite sure what you're asking here ...

Think of symbolic versions as `version tags`, so conflicts aren't possible?

The #blessing: is an attribute of a version ... not an external label.

Dale

----- Original Message -----
| From: "Sean P. DeNigris" <[hidden email]>
| To: [hidden email]
| Sent: Saturday, June 9, 2012 10:22:38 AM
| Subject: [Metacello] Stable - Listed vs. blessed
|
| Now that #latestVersion is (being?) deprecated, how to the
| consequences of
| the following two approaches differ:
|     stable: spec
| <symbolicVersion: #'stable'>
| spec  for: #common version: '1.3'
| vs.
|     version13: spec
| <version: '1.3' imports: #('1.2-baseline')>
|
| spec for: #common do: [
| spec blessing: #release.
|
| And what if they conflict??
|
| Thanks,
| Sean
|
| --
| View this message in context:
| http://forum.world.st/Stable-Listed-vs-blessed-tp4634086.html
| Sent from the Metacello mailing list archive at Nabble.com.
|
Reply | Threaded
Open this post in threaded view
|

Re: Stable - Listed vs. blessed

Sean P. DeNigris
Administrator
Dale Henrichs wrote
Not quite sure what you're asking here ...
If I bless my version as stable, then any platforms it supplies blocks for should use that version as the stable version. Otherwise, look up through the chain and find the latest blessed stable block for the platform e.g. pharo1.3.x.

Now, what is the point of also adding the version to ConfigurationOfX>>stable:?

Is this duplicated info, or do they somehow mean different things?

Thanks,
Sean
Cheers,
Sean
Reply | Threaded
Open this post in threaded view
|

Re: Stable - Listed vs. blessed

Dale Henrichs
blessing and symbolic versions are different things ...

The blessing is an attribute of the version and is not in the 'version namespace' the literal versions and symbolic versions are in the `version namespace` and can be used interchangeably ...

if the argument to a #version: method is a Symbol, Metacello resolves the symbolic version to the literal version and does a lookup. Otherwise it does a direct lookup.

Dale

----- Original Message -----
| From: "Sean P. DeNigris" <[hidden email]>
| To: [hidden email]
| Sent: Saturday, June 9, 2012 10:41:54 AM
| Subject: [Metacello] Re: Stable - Listed vs. blessed
|
|
| Dale Henrichs wrote
| >
| > Not quite sure what you're asking here ...
| >
|
| If I bless my version as stable, then any platforms it supplies
| blocks for
| should use that version as the stable version. Otherwise, look up
| through
| the chain and find the latest blessed stable block for the platform
| e.g.
| pharo1.3.x.
|
| Now, what is the point of also adding the version to
| ConfigurationOfX>>stable:?
|
| Is this duplicated info, or do they somehow mean different things?
|
| Thanks,
| Sean
|
| --
| View this message in context:
| http://forum.world.st/Stable-Listed-vs-blessed-tp4634086p4634094.html
| Sent from the Metacello mailing list archive at Nabble.com.
|