I do not get metacello to update a project (with baselines)

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

I do not get metacello to update a project (with baselines)

EstebanLM
Hi,

I want to update iceberg (which is on version dev-0.4) to dev-0.5, which includes update two projects: LibGit, Iceberg.
I tried executing this:

Metacello new
  baseline: 'LibGit';
  repository: 'github://pharo-vcs/libgit2-pharo-bindings:v0.25.1';
  onUpgrade: [ :ex :loaded :incoming | ex useIncoming ];
  load.
Metacello new
  baseline: 'Iceberg';
  repository: 'github://pharo-vcs/iceberg:dev-0.5';
  onUpgrade: [ :ex :loaded :incoming | ex useIncoming ];
  load.

and a lot other variants, but this one looked like “the correct one”, but nothing happens: project is not updated.

any idea what I can do?

thanks!
Esteban

--
You received this message because you are subscribed to the Google Groups "Metacello" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: I do not get metacello to update a project (with baselines)

Dale Henrichs-3
Esteban,

Could you provide the Transcript output that is produced when you run
those commands?

Dale


On 6/29/17 5:14 AM, Esteban Lorenzano wrote:

> Hi,
>
> I want to update iceberg (which is on version dev-0.4) to dev-0.5, which includes update two projects: LibGit, Iceberg.
> I tried executing this:
>
> Metacello new
>    baseline: 'LibGit';
>    repository: 'github://pharo-vcs/libgit2-pharo-bindings:v0.25.1';
>    onUpgrade: [ :ex :loaded :incoming | ex useIncoming ];
>    load.
> Metacello new
>    baseline: 'Iceberg';
>    repository: 'github://pharo-vcs/iceberg:dev-0.5';
>    onUpgrade: [ :ex :loaded :incoming | ex useIncoming ];
>    load.
>
> and a lot other variants, but this one looked like “the correct one”, but nothing happens: project is not updated.
>
> any idea what I can do?
>
> thanks!
> Esteban
>

--
You received this message because you are subscribed to the Google Groups "Metacello" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: I do not get metacello to update a project (with baselines)

EstebanLM
Hi Dale,

it doesn’t shows anything I can detect as relevant:

Fetched -> BaselineOfLibGit-cypress.1 --- github://pharo-vcs/libgit2-pharo-bindings:v0.25.1 [c16624e:v0.25.1] --- github://pharo-vcs/libgit2-pharo-bindings:v0.25.1
Loaded -> BaselineOfLibGit-cypress.1 --- github://pharo-vcs/libgit2-pharo-bindings:v0.25.1 [c16624e:v0.25.1] --- github://pharo-vcs/libgit2-pharo-bindings:v0.25.1
Loading baseline of BaselineOfLibGit...
Evaluated -> baseline [BaselineOfLibGit] >> postLoadActions
...finished baseline

Fetched -> BaselineOfIceberg-cypress.1 --- github://pharo-vcs/iceberg:dev-0.5 [2094e01:dev-0.5] --- github://pharo-vcs/iceberg:dev-0.5
Loaded -> BaselineOfIceberg-cypress.1 --- github://pharo-vcs/iceberg:dev-0.5 [2094e01:dev-0.5] --- github://pharo-vcs/iceberg:dev-0.5
Loading baseline of BaselineOfIceberg...
Project: LibGit baseline
Evaluated -> baseline [BaselineOfLibGit] >> postLoadActions
...finished baseline

Esteban

> On 29 Jun 2017, at 16:09, Dale Henrichs <[hidden email]> wrote:
>
> Esteban,
>
> Could you provide the Transcript output that is produced when you run those commands?
>
> Dale
>
>
> On 6/29/17 5:14 AM, Esteban Lorenzano wrote:
>> Hi,
>>
>> I want to update iceberg (which is on version dev-0.4) to dev-0.5, which includes update two projects: LibGit, Iceberg.
>> I tried executing this:
>>
>> Metacello new
>>   baseline: 'LibGit';
>>   repository: 'github://pharo-vcs/libgit2-pharo-bindings:v0.25.1';
>>   onUpgrade: [ :ex :loaded :incoming | ex useIncoming ];
>>   load.
>> Metacello new
>>   baseline: 'Iceberg';
>>   repository: 'github://pharo-vcs/iceberg:dev-0.5';
>>   onUpgrade: [ :ex :loaded :incoming | ex useIncoming ];
>>   load.
>>
>> and a lot other variants, but this one looked like “the correct one”, but nothing happens: project is not updated.
>>
>> any idea what I can do?
>>
>> thanks!
>> Esteban
>>
>
> --
> You received this message because you are subscribed to the Google Groups "Metacello" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
> For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Metacello" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: I do not get metacello to update a project (with baselines)

Dale Henrichs-3
Esteban,

 From the name of the baseline packages it looks like you are using a
metadataless repository ... When you use metadataless repositories, your
baseline needs to have projectClass method that tells Metacello that the
project is expected to be metadataless:

   projectClass
     ^ MetacelloCypressBaselineProject

Otherwise, Metacello will follow the Monticello convention of only
loading packages whose "version" (i.e. version from the filename) is
newer than the version already loaded ... since metadataless packages
all have a version of 1, once the project is loaded ... the Monticello
convention says that the version is the same.

Using a MetacelloCypressBaselineProject projectClass means that
Metacello will ignore the version data and "load every package every
time" ... of course with the way that Monticello loading works, only the
packages with changed definitions will actually effect the image ...

Dale

On 06/29/2017 07:17 AM, Esteban Lorenzano wrote:

> Hi Dale,
>
> it doesn’t shows anything I can detect as relevant:
>
> Fetched -> BaselineOfLibGit-cypress.1 --- github://pharo-vcs/libgit2-pharo-bindings:v0.25.1 [c16624e:v0.25.1] --- github://pharo-vcs/libgit2-pharo-bindings:v0.25.1
> Loaded -> BaselineOfLibGit-cypress.1 --- github://pharo-vcs/libgit2-pharo-bindings:v0.25.1 [c16624e:v0.25.1] --- github://pharo-vcs/libgit2-pharo-bindings:v0.25.1
> Loading baseline of BaselineOfLibGit...
> Evaluated -> baseline [BaselineOfLibGit] >> postLoadActions
> ...finished baseline
>
> Fetched -> BaselineOfIceberg-cypress.1 --- github://pharo-vcs/iceberg:dev-0.5 [2094e01:dev-0.5] --- github://pharo-vcs/iceberg:dev-0.5
> Loaded -> BaselineOfIceberg-cypress.1 --- github://pharo-vcs/iceberg:dev-0.5 [2094e01:dev-0.5] --- github://pharo-vcs/iceberg:dev-0.5
> Loading baseline of BaselineOfIceberg...
> Project: LibGit baseline
> Evaluated -> baseline [BaselineOfLibGit] >> postLoadActions
> ...finished baseline
>
> Esteban
>
>> On 29 Jun 2017, at 16:09, Dale Henrichs <[hidden email]> wrote:
>>
>> Esteban,
>>
>> Could you provide the Transcript output that is produced when you run those commands?
>>
>> Dale
>>
>>
>> On 6/29/17 5:14 AM, Esteban Lorenzano wrote:
>>> Hi,
>>>
>>> I want to update iceberg (which is on version dev-0.4) to dev-0.5, which includes update two projects: LibGit, Iceberg.
>>> I tried executing this:
>>>
>>> Metacello new
>>>    baseline: 'LibGit';
>>>    repository: 'github://pharo-vcs/libgit2-pharo-bindings:v0.25.1';
>>>    onUpgrade: [ :ex :loaded :incoming | ex useIncoming ];
>>>    load.
>>> Metacello new
>>>    baseline: 'Iceberg';
>>>    repository: 'github://pharo-vcs/iceberg:dev-0.5';
>>>    onUpgrade: [ :ex :loaded :incoming | ex useIncoming ];
>>>    load.
>>>
>>> and a lot other variants, but this one looked like “the correct one”, but nothing happens: project is not updated.
>>>
>>> any idea what I can do?
>>>
>>> thanks!
>>> Esteban
>>>
>> --
>> You received this message because you are subscribed to the Google Groups "Metacello" group.
>> To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
>> For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Metacello" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: I do not get metacello to update a project (with baselines)

EstebanLM
thanks!

> On 29 Jun 2017, at 19:11, Dale Henrichs <[hidden email]> wrote:
>
> Esteban,
>
> From the name of the baseline packages it looks like you are using a metadataless repository ... When you use metadataless repositories, your baseline needs to have projectClass method that tells Metacello that the project is expected to be metadataless:
>
>  projectClass
>    ^ MetacelloCypressBaselineProject
>
> Otherwise, Metacello will follow the Monticello convention of only loading packages whose "version" (i.e. version from the filename) is newer than the version already loaded ... since metadataless packages all have a version of 1, once the project is loaded ... the Monticello convention says that the version is the same.
>
> Using a MetacelloCypressBaselineProject projectClass means that Metacello will ignore the version data and "load every package every time" ... of course with the way that Monticello loading works, only the packages with changed definitions will actually effect the image ...
>
> Dale
>
> On 06/29/2017 07:17 AM, Esteban Lorenzano wrote:
>> Hi Dale,
>>
>> it doesn’t shows anything I can detect as relevant:
>>
>> Fetched -> BaselineOfLibGit-cypress.1 --- github://pharo-vcs/libgit2-pharo-bindings:v0.25.1 [c16624e:v0.25.1] --- github://pharo-vcs/libgit2-pharo-bindings:v0.25.1
>> Loaded -> BaselineOfLibGit-cypress.1 --- github://pharo-vcs/libgit2-pharo-bindings:v0.25.1 [c16624e:v0.25.1] --- github://pharo-vcs/libgit2-pharo-bindings:v0.25.1
>> Loading baseline of BaselineOfLibGit...
>> Evaluated -> baseline [BaselineOfLibGit] >> postLoadActions
>> ...finished baseline
>>
>> Fetched -> BaselineOfIceberg-cypress.1 --- github://pharo-vcs/iceberg:dev-0.5 [2094e01:dev-0.5] --- github://pharo-vcs/iceberg:dev-0.5
>> Loaded -> BaselineOfIceberg-cypress.1 --- github://pharo-vcs/iceberg:dev-0.5 [2094e01:dev-0.5] --- github://pharo-vcs/iceberg:dev-0.5
>> Loading baseline of BaselineOfIceberg...
>> Project: LibGit baseline
>> Evaluated -> baseline [BaselineOfLibGit] >> postLoadActions
>> ...finished baseline
>>
>> Esteban
>>
>>> On 29 Jun 2017, at 16:09, Dale Henrichs <[hidden email]> wrote:
>>>
>>> Esteban,
>>>
>>> Could you provide the Transcript output that is produced when you run those commands?
>>>
>>> Dale
>>>
>>>
>>> On 6/29/17 5:14 AM, Esteban Lorenzano wrote:
>>>> Hi,
>>>>
>>>> I want to update iceberg (which is on version dev-0.4) to dev-0.5, which includes update two projects: LibGit, Iceberg.
>>>> I tried executing this:
>>>>
>>>> Metacello new
>>>>   baseline: 'LibGit';
>>>>   repository: 'github://pharo-vcs/libgit2-pharo-bindings:v0.25.1';
>>>>   onUpgrade: [ :ex :loaded :incoming | ex useIncoming ];
>>>>   load.
>>>> Metacello new
>>>>   baseline: 'Iceberg';
>>>>   repository: 'github://pharo-vcs/iceberg:dev-0.5';
>>>>   onUpgrade: [ :ex :loaded :incoming | ex useIncoming ];
>>>>   load.
>>>>
>>>> and a lot other variants, but this one looked like “the correct one”, but nothing happens: project is not updated.
>>>>
>>>> any idea what I can do?
>>>>
>>>> thanks!
>>>> Esteban
>>>>
>>> --
>>> You received this message because you are subscribed to the Google Groups "Metacello" group.
>>> To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
>>> For more options, visit https://groups.google.com/d/optout.
>
> --
> You received this message because you are subscribed to the Google Groups "Metacello" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
> For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Metacello" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: I do not get metacello to update a project (with baselines)

EstebanLM
but seems I can’t use it because we do not have last version of Metacello :(
btw… can you give me what should we install, so we can include it on Pharo7 (I want to directly load the right version there…)

Esteban

> On 3 Jul 2017, at 12:09, Esteban Lorenzano <[hidden email]> wrote:
>
> thanks!
>
>> On 29 Jun 2017, at 19:11, Dale Henrichs <[hidden email]> wrote:
>>
>> Esteban,
>>
>> From the name of the baseline packages it looks like you are using a metadataless repository ... When you use metadataless repositories, your baseline needs to have projectClass method that tells Metacello that the project is expected to be metadataless:
>>
>> projectClass
>>   ^ MetacelloCypressBaselineProject
>>
>> Otherwise, Metacello will follow the Monticello convention of only loading packages whose "version" (i.e. version from the filename) is newer than the version already loaded ... since metadataless packages all have a version of 1, once the project is loaded ... the Monticello convention says that the version is the same.
>>
>> Using a MetacelloCypressBaselineProject projectClass means that Metacello will ignore the version data and "load every package every time" ... of course with the way that Monticello loading works, only the packages with changed definitions will actually effect the image ...
>>
>> Dale
>>
>> On 06/29/2017 07:17 AM, Esteban Lorenzano wrote:
>>> Hi Dale,
>>>
>>> it doesn’t shows anything I can detect as relevant:
>>>
>>> Fetched -> BaselineOfLibGit-cypress.1 --- github://pharo-vcs/libgit2-pharo-bindings:v0.25.1 [c16624e:v0.25.1] --- github://pharo-vcs/libgit2-pharo-bindings:v0.25.1
>>> Loaded -> BaselineOfLibGit-cypress.1 --- github://pharo-vcs/libgit2-pharo-bindings:v0.25.1 [c16624e:v0.25.1] --- github://pharo-vcs/libgit2-pharo-bindings:v0.25.1
>>> Loading baseline of BaselineOfLibGit...
>>> Evaluated -> baseline [BaselineOfLibGit] >> postLoadActions
>>> ...finished baseline
>>>
>>> Fetched -> BaselineOfIceberg-cypress.1 --- github://pharo-vcs/iceberg:dev-0.5 [2094e01:dev-0.5] --- github://pharo-vcs/iceberg:dev-0.5
>>> Loaded -> BaselineOfIceberg-cypress.1 --- github://pharo-vcs/iceberg:dev-0.5 [2094e01:dev-0.5] --- github://pharo-vcs/iceberg:dev-0.5
>>> Loading baseline of BaselineOfIceberg...
>>> Project: LibGit baseline
>>> Evaluated -> baseline [BaselineOfLibGit] >> postLoadActions
>>> ...finished baseline
>>>
>>> Esteban
>>>
>>>> On 29 Jun 2017, at 16:09, Dale Henrichs <[hidden email]> wrote:
>>>>
>>>> Esteban,
>>>>
>>>> Could you provide the Transcript output that is produced when you run those commands?
>>>>
>>>> Dale
>>>>
>>>>
>>>> On 6/29/17 5:14 AM, Esteban Lorenzano wrote:
>>>>> Hi,
>>>>>
>>>>> I want to update iceberg (which is on version dev-0.4) to dev-0.5, which includes update two projects: LibGit, Iceberg.
>>>>> I tried executing this:
>>>>>
>>>>> Metacello new
>>>>>  baseline: 'LibGit';
>>>>>  repository: 'github://pharo-vcs/libgit2-pharo-bindings:v0.25.1';
>>>>>  onUpgrade: [ :ex :loaded :incoming | ex useIncoming ];
>>>>>  load.
>>>>> Metacello new
>>>>>  baseline: 'Iceberg';
>>>>>  repository: 'github://pharo-vcs/iceberg:dev-0.5';
>>>>>  onUpgrade: [ :ex :loaded :incoming | ex useIncoming ];
>>>>>  load.
>>>>>
>>>>> and a lot other variants, but this one looked like “the correct one”, but nothing happens: project is not updated.
>>>>>
>>>>> any idea what I can do?
>>>>>
>>>>> thanks!
>>>>> Esteban
>>>>>
>>>> --
>>>> You received this message because you are subscribed to the Google Groups "Metacello" group.
>>>> To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
>>>> For more options, visit https://groups.google.com/d/optout.
>>
>> --
>> You received this message because you are subscribed to the Google Groups "Metacello" group.
>> To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
>> For more options, visit https://groups.google.com/d/optout.
>

--
You received this message because you are subscribed to the Google Groups "Metacello" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.