Hi Dale,
I wanted to update the Zinc version referenced in my project's Metacello configuration but the way I do this does not trigger a fetch of the BaselineOf class. As a result, Zinc is not loaded correctly. In the baseline method of ConfigurationOfMyProject, I had the following: spec for: #'gs3.1.x' do:[ "Zinc HTTP" spec baseline: 'ZincHTTP' with: [ spec className: 'BaselineOfZinc'; loads: 'Core'; repository: 'github://glassdb/zinc:04cf513601a9eb125087b397e4bbc1bec90589c7/repository']. ] I changed it to a new version of Zinc: spec for: #'gs3.1.x' do:[ "Zinc HTTP" spec baseline: 'ZincHTTP' with: [ spec className: 'BaselineOfZinc'; loads: 'Core'; repository: 'github://glassdb/zinc:2.3.2_gs3.1/repository']. ] When I load my project (using Metacello scripting API), the correct github repository is installed, but the BaselineOfZinc that is in my image is not updated. This eventually leads to missing packages. If I first load BaselineOfZinc manually, the load works fine. Is there something I should do to trigger that load? Mind that I am loading a baseline method of my configuration (not an actual version). If you need a small reproducible example, let me know. thanks Johan _______________________________________________ Glass mailing list [hidden email] http://lists.gemtalksystems.com/mailman/listinfo/glass |
Johan, Good explanation (especially the bit about not updating if the baseline is already loaded) ... that smells an awful lot like a bug ... there are rules in Metacello about when to load configuration/baseline packages and the default rule is that a configuration is only loaded if a) it is blessed #development or b) the specified version is not found ... it seems that a baseline typically falls into neither camp and doesn't get loaded ... I will submit a metacello bug and look into this ...
Thanks, Dale On Mon, Jun 9, 2014 at 6:11 AM, Johan Brichau <[hidden email]> wrote: Hi Dale, _______________________________________________ Glass mailing list [hidden email] http://lists.gemtalksystems.com/mailman/listinfo/glass |
Free forum by Nabble | Edit this page |