[Glass] Metacello question

Dale Henrichs via Glass glass at lists.gemtalksystems.com
Wed Nov 15 10:47:28 PST 2017


Jupiter.

Is there a reason why the following wouldn't work for you:

   spec
     for: #'gemstone'
     do: [
       spec
         baseline: 'Cryptography'
         with: [
           spec
             loads: #('Cryptography');
             repository: 'github://GsDevKit/Cryptography:master/repository' ] ]


With the 'loads:' spec you can specify any named object in the baseline 
and in this case you specify the package ... if the package itself has 
dependencies then those would be satisfied as well ...

Dale

On 11/7/17 3:30 PM, Jupiter Jones via Glass wrote:
> I have a baseline that will support squeak, pharo, and gemstone.
>
> The gemstone one I get, but how to load a specific version of a package from a squeak source repo?
>
> spec
>      for: #’squeak'
>      do: [
>        spec
>          package:  'Cryptography'
>          with: [
>            spec
>              file: 'Cryptography-zzz.111.mcz';
>              repository: 'http://www.squeaksource.com/Cryptography' ] ].
>
>    spec
>      for: #'gemstone'
>      do: [
>        spec
>          baseline: 'Cryptography'
>          with: [
>            spec
>              loads: #('CI');
>              repository: 'github://GsDevKit/Cryptography:master/repository' ] ]
>
> I’ve been looking for an example in the many BaselineOf but couldn’t find an example that specifies the package, version and repository.
>
> Cheers,
>
> J
> _______________________________________________
> Glass mailing list
> Glass at lists.gemtalksystems.com
> http://lists.gemtalksystems.com/mailman/listinfo/glass



More information about the Glass mailing list