Hi Thierry,
On Fri, Sep 11, 2015 at 3:52 PM, Thierry Goubier thierry.goubier@gmail.com wrote:
Hi Usman,
as far as I know, I see two things:
- Metacello and Monticello have no true concept of branch names in their
code; there is code where when you decode a package version name, you throw away some of the name to keep only the package name, the version and the author.
That's what I thought too.
and:
- In your example, branch names are not written correctly: from filetree
on ss3 (http://ss3.gemstone.com/ss/FileTree/), what you see is that it should be: PackageName.branch-author.version.mcz
I see, I am probably not specifying my branches correctly so I'll have a look at it.
Tx for your answer.
Thierry
2015-09-11 15:09 GMT+02:00 Usman Bhatti usman.bhatti@gmail.com:
Hi,
It seems that Metacello does not consider PackageName-xyz and PacakgeName-BranchName-xyz as the same package. I suspect it because when I look at the packages loaded by two different configurations with and without branch names as package name suffixes are not the same. Could someone knowing the internals of Metacello confirm it?
So, here is a log of Metacello of the loadDirective for ConfigOfGlamour with and without packages with branch names. I have truncated the output to highlight important parts of the log.
----------- Metacello log follows ----------------------
Without branching (Rubric and Glamour-Morphic-Renderer loaded only once): linear load : atomic load : 3.3.0 [ConfigurationOfGlamour] linear load : 3.1.3.Moose51 [ConfigurationOfGlamourCore] --------------------List of Packages---------------- atomic load : 1.2.14.Moose51 [ConfigurationOfRubric] load : Rubric-AndreiChis.207 load : Glamour-Morphic-Renderer-AndreiChis.324 --------------------List of Packages---------------- linear load : 1.13 [ConfigurationOfRoassal2] linear load : 3.1.4 [ConfigurationOfGlamourCore] --------------------List of Packages----------------
With branching (old versions overwrites the fixes):
linear load : atomic load : 3.3.0 [ConfigurationOfGlamour] linear load : 3.1.3.Moose51 [ConfigurationOfGlamourCore] --------------------List of Packages---------------- atomic load : 1.2.14.Moose51 [ConfigurationOfRubric] load : Rubric-Moose51-usmanbhatti.207 load : Glamour-Morphic-Renderer-Moose51-usmanbhatti.324 --------------------List of Packages---------------- linear load : 1.13 [ConfigurationOfRoassal2] linear load : 3.1.4 [ConfigurationOfGlamourCore] atomic load : 1.2.15 [ConfigurationOfRubric] load : Rubric-AlainPlantec.206 load : Glamour-Morphic-Renderer-AndreiChis.321 --------------------List of Packages----------------
What it actually changes is packages with branch name are overwritten with their predecessors and hence fixes are not correctly included in the resulting image. It seems that ensuring correct loading in the presence of branched packages requires no other configuration is loading previous versions of the branched packages.
Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev