Login  Register

Re: Sample metacello configuration referencing a github project?

Posted by Johan Brichau-3 on Feb 20, 2013; 9:11pm
URL: https://forum.world.st/Sample-metacello-configuration-referencing-a-github-project-tp4671054p4671120.html

I managed to get a little further and maybe the problem is more related to the fact that I need a different project spec for Pharo and Gemstone.
In the Pharo section, I can use the 'traditional' project spec:

spec 
project: 'ZincHTTP'
overrides: 
[ spec
className: 'ConfigurationOfZincHTTPComponents';
versionString: '1.7';
file: 'ConfigurationOfZincHTTPComponents';
loads: 'Core';
repository: 'http://www.squeaksource.com/ZincHTTPComponents'].

In the Gemstone section, I now include the following project spec to load the one from github:

"Zinc HTTP"
spec 
baseline: 'ZincHTTP'
with: 
[ spec
className: 'BaselineOfZinc';
loads: 'Core';
repository: 'github://glassdb/zinc:gemstone2.4/repository'].
]

In the common section, I merely mention:

spec project: 'ZincHTTP'.

Because otherwise, I get a 'name not found' when trying to load. However, this also leads to an error trying to load:

No method was found for the selector #'ensureLoadUsing:' when sent
to nil with arguments contained in anArray( aMetacelloFetchingMCSpecLoader(linea
r load : 
explicit load : 1.7.1-baseline [ConfigurationOfNextPlan]
explicit load : 1.7.1-baseline [ConfigurationOfNextPlan]
explicit load : 1.7.1-baseline [ConfigurationOfNextPlan]
explicit load : 1.7.1-baseline [ConfigurationOfNextPlan])).

Furthermore, if I include the complete project spec for Pharo in the common section, Metacello tries to load that version in gemstone in spite of the specific Gemstone section.

Any ideas what I might be doing wrong?

thanks
Johan

On Wednesday, February 20, 2013 5:57:06 PM UTC+1, Johan Brichau wrote:
Hi there,

I am trying to include the Zinc project on Github in our Metacello configuration.
However, I'm getting errors probably because I'm not sure how to include a project reference to github inside my metacello conf.

For example:

spec 
project: 'ZincHTTP'
with:: 
[ spec
loads: 'Core';
version: #stable;
file: 'BaselineOfZinc';
repository: 'github://glassdb/zinc:gemstone2.4/repository'].

Are there existing configurations that I can take a look at to know how to reference a project on github?

thanks
Johan

--
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/groups/opt_out.