[Pharo-dev] Differences when loading metacello stable configurations

Guillermo Polito guillermopolito at gmail.com
Sun Apr 27 08:54:17 EDT 2014


If I do a normal load it happens the same. The thing is that GoferMetacelloLoad
fetches first some version using the blessing and then using the version
number/symbol.


On Sun, Apr 27, 2014 at 2:05 PM, Max Leske <maxleske at gmail.com> wrote:

>
> On 27.04.2014, at 13:55, Guillermo Polito <guillermopolito at gmail.com>
> wrote:
>
> > Hi guys!
> >
> > I'm having different behaviors when loading metacello configurations
> using the configuration directly and using gofer:
> >
> > "This loads well"
> > Gofer it smalltalkhubUser: 'DBXTalk' project: 'DBXTalkDriver';
> >       package: 'ConfigurationOfOpenDBXDriver';
> >       load.
> >
> > (ConfigurationOfOpenDBXDriver project version: #stable)
> >       load: ‘default'
>
> You’re not specifying ‘default’ below. Could that make a difference?
>
> >
> > "This tries to load the version 1.2 of the configuration which is not
> stable and doesn't work on pharo3..."
> > Gofer it smalltalkhubUser: 'DBXTalk' project: 'DBXTalkDriver';
> >       configurationOf: 'OpenDBXDriver';
> >       loadVersion: #stable.
> >
> > Apparently that's because...
> >
> > In GoferMetacelloLoad>>metacelloVersion
> >
> > It tries to fetch the first the latest version for a blessing and just
> afterwards it tries to get the explicit version...
> >
> > And yes!
> >
> > ConfigurationOfOpenDBXDriver project latestVersion: #stable => 1.2
> >
> > But that is using the blessing... So yes, blessing of version 1.2 is
> stable.
> >
> > Shouldn't the #loadVersion: from Gofer behave the same as Metacello?
> >
> > Anyways, I can change the blessing of my old version I think, that can
> solve my problem quickly :)
> >
> > Guille
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pharo.org/pipermail/pharo-dev_lists.pharo.org/attachments/20140427/ca7a706f/attachment-0002.html>


More information about the Pharo-dev mailing list