missing version when using the toolbox

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

missing version when using the toolbox

abergel
Hi!

When I use the metacello browser, and therefore the toolbox, a development version is produced as:
-=-=-=-=-=-=-=-=-=-=-=-=
spec
        project: 'MemoryMonitor';
        project: 'Merlin' with: '1.3';
        project: 'Mondrian' with: '2.98';
        project: 'HealthReportProducer' with: '1.7'.
-=-=-=-=-=-=-=-=-=-=-=-=

I have to manually add what is missing with the following line:
-=-=-=-=-=-=-=-=-=-=-=-=
        project: 'MemoryMonitor'  with: '1.0.4';
-=-=-=-=-=-=-=-=-=-=-=-=

This seems to happen only with ConfigurationOfSpy.
Any idea where this could come from?

Alexandre

--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.





Reply | Threaded
Open this post in threaded view
|

Re: missing version when using the toolbox

Dale Henrichs
Alexandre,

My guess would be that the MemoryMonitor project is not actually loaded, so Metacello doesn't know which version to use ... I think there is an existing bug for this, but if not it is worth submitting one...

Dale

----- Original Message -----

> Hi!
>
> When I use the metacello browser, and therefore the toolbox, a
> development version is produced as:
> -=-=-=-=-=-=-=-=-=-=-=-=
> spec
> project: 'MemoryMonitor';
> project: 'Merlin' with: '1.3';
> project: 'Mondrian' with: '2.98';
> project: 'HealthReportProducer' with: '1.7'.
> -=-=-=-=-=-=-=-=-=-=-=-=
>
> I have to manually add what is missing with the following line:
> -=-=-=-=-=-=-=-=-=-=-=-=
> project: 'MemoryMonitor'  with: '1.0.4';
> -=-=-=-=-=-=-=-=-=-=-=-=
>
> This seems to happen only with ConfigurationOfSpy.
> Any idea where this could come from?
>
> Alexandre
>
> --
> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
> Alexandre Bergel  http://www.bergel.eu
> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
>
>
>
>
>
>
Reply | Threaded
Open this post in threaded view
|

Re: missing version when using the toolbox

abergel
This is what I thought too. But MemoryMonitor is present. I can do:

 ConfigurationOfMemoryMonitor project currentVersion
 => 1.0.4 [ConfigurationOfMemoryMonitor]

Alexandre


On 27 May 2011, at 15:14, Dale Henrichs wrote:

> Alexandre,
>
> My guess would be that the MemoryMonitor project is not actually loaded, so Metacello doesn't know which version to use ... I think there is an existing bug for this, but if not it is worth submitting one...
>
> Dale
>
> ----- Original Message -----
>> Hi!
>>
>> When I use the metacello browser, and therefore the toolbox, a
>> development version is produced as:
>> -=-=-=-=-=-=-=-=-=-=-=-=
>> spec
>> project: 'MemoryMonitor';
>> project: 'Merlin' with: '1.3';
>> project: 'Mondrian' with: '2.98';
>> project: 'HealthReportProducer' with: '1.7'.
>> -=-=-=-=-=-=-=-=-=-=-=-=
>>
>> I have to manually add what is missing with the following line:
>> -=-=-=-=-=-=-=-=-=-=-=-=
>> project: 'MemoryMonitor'  with: '1.0.4';
>> -=-=-=-=-=-=-=-=-=-=-=-=
>>
>> This seems to happen only with ConfigurationOfSpy.
>> Any idea where this could come from?
>>
>> Alexandre
>>
>> --
>> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
>> Alexandre Bergel  http://www.bergel.eu
>> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
>>
>>
>>
>>
>>
>>

--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.





Reply | Threaded
Open this post in threaded view
|

Re: missing version when using the toolbox

Dale Henrichs
Putting a `self halt` in the spot where the empty version is stored would tell us a lot:

  MetacelloToolBox>>updateVersionSpec:fullVersionSpec:updateProjects:updatePackages:visited:updated:

There's a spot where the versionString: is set to '' ... that's the spot where I'd expect this to be happening ... either that or updateProjects is false ...

Dale

----- Original Message -----

> This is what I thought too. But MemoryMonitor is present. I can do:
>
>  ConfigurationOfMemoryMonitor project currentVersion
>  => 1.0.4 [ConfigurationOfMemoryMonitor]
>
> Alexandre
>
>
> On 27 May 2011, at 15:14, Dale Henrichs wrote:
>
> > Alexandre,
> >
> > My guess would be that the MemoryMonitor project is not actually
> > loaded, so Metacello doesn't know which version to use ... I think
> > there is an existing bug for this, but if not it is worth
> > submitting one...
> >
> > Dale
> >
> > ----- Original Message -----
> >> Hi!
> >>
> >> When I use the metacello browser, and therefore the toolbox, a
> >> development version is produced as:
> >> -=-=-=-=-=-=-=-=-=-=-=-=
> >> spec
> >> project: 'MemoryMonitor';
> >> project: 'Merlin' with: '1.3';
> >> project: 'Mondrian' with: '2.98';
> >> project: 'HealthReportProducer' with: '1.7'.
> >> -=-=-=-=-=-=-=-=-=-=-=-=
> >>
> >> I have to manually add what is missing with the following line:
> >> -=-=-=-=-=-=-=-=-=-=-=-=
> >> project: 'MemoryMonitor'  with: '1.0.4';
> >> -=-=-=-=-=-=-=-=-=-=-=-=
> >>
> >> This seems to happen only with ConfigurationOfSpy.
> >> Any idea where this could come from?
> >>
> >> Alexandre
> >>
> >> --
> >> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
> >> Alexandre Bergel  http://www.bergel.eu
> >> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
> >>
> >>
> >>
> >>
> >>
> >>
>
> --
> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
> Alexandre Bergel  http://www.bergel.eu
> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
>
>
>
>
>
>
Reply | Threaded
Open this post in threaded view
|

Re: missing version when using the toolbox

abergel
I have a MetacelloMCProjectSpec that prints:
spec
        name: 'MemoryMonitor';
        className: 'ConfigurationOfMemoryMonitor';
        loads: #('default' );
        repository: 'http://www.squeaksource.com/MemoryMonitor'.

Sending versionString to it return nil.
Tracing the method you recommended helps me.
I will add a version: 'default' or something then.

Thanks. I think I spotted the problem.

Cheers,
Alexandre


On 27 May 2011, at 17:19, Dale Henrichs wrote:

> Putting a `self halt` in the spot where the empty version is stored would tell us a lot:
>
>  MetacelloToolBox>>updateVersionSpec:fullVersionSpec:updateProjects:updatePackages:visited:updated:
>
> There's a spot where the versionString: is set to '' ... that's the spot where I'd expect this to be happening ... either that or updateProjects is false ...
>
> Dale
>
> ----- Original Message -----
>> This is what I thought too. But MemoryMonitor is present. I can do:
>>
>> ConfigurationOfMemoryMonitor project currentVersion
>> => 1.0.4 [ConfigurationOfMemoryMonitor]
>>
>> Alexandre
>>
>>
>> On 27 May 2011, at 15:14, Dale Henrichs wrote:
>>
>>> Alexandre,
>>>
>>> My guess would be that the MemoryMonitor project is not actually
>>> loaded, so Metacello doesn't know which version to use ... I think
>>> there is an existing bug for this, but if not it is worth
>>> submitting one...
>>>
>>> Dale
>>>
>>> ----- Original Message -----
>>>> Hi!
>>>>
>>>> When I use the metacello browser, and therefore the toolbox, a
>>>> development version is produced as:
>>>> -=-=-=-=-=-=-=-=-=-=-=-=
>>>> spec
>>>> project: 'MemoryMonitor';
>>>> project: 'Merlin' with: '1.3';
>>>> project: 'Mondrian' with: '2.98';
>>>> project: 'HealthReportProducer' with: '1.7'.
>>>> -=-=-=-=-=-=-=-=-=-=-=-=
>>>>
>>>> I have to manually add what is missing with the following line:
>>>> -=-=-=-=-=-=-=-=-=-=-=-=
>>>> project: 'MemoryMonitor'  with: '1.0.4';
>>>> -=-=-=-=-=-=-=-=-=-=-=-=
>>>>
>>>> This seems to happen only with ConfigurationOfSpy.
>>>> Any idea where this could come from?
>>>>
>>>> Alexandre
>>>>
>>>> --
>>>> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
>>>> Alexandre Bergel  http://www.bergel.eu
>>>> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>
>> --
>> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
>> Alexandre Bergel  http://www.bergel.eu
>> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
>>
>>
>>
>>
>>
>>

--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.