Metacello: wrong version if we load twice the same configuration

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

Metacello: wrong version if we load twice the same configuration

CyrilFerlicot
Hi,

In some Synectique images we have some problem because we load a project
into an image and this project depend on another project (SynMoose) that
is already in some of our images in Jenkins.

The problem is that a package that we do not want is loaded.

SynMoose load the stable version of Magritte3, which depend on
MagritteGlamourForPharo40 1.0.

The first time we load it, it fetch the version 1.0, which is right. But
if we load it a second time (For example when a project depend on it),
the version 1.1.0 of MagritteGlamourForPharo40 is loaded.

You can see it with this script:



Gofer new url: 'http://smalltalkhub.com/mc/Magritte/Magritte3/main';
package:'ConfigurationOfMagritte3'; load.

Transcript open.

ConfigurationOfMagritte3 load.

3 timesRepeat: [Transcript cr].

ConfigurationOfMagritte3 load.


Is it a problem of Metacello? Is it a know problem? Or is it something
expected?

I think that if we load 2 time the exact same version, the second should
do nothing.

--
Cyril Ferlicot

http://www.synectique.eu

165 Avenue Bretagne
Lille 59000 France


signature.asc (836 bytes) Download Attachment