I've tried something like this with a BaselineOf and it works, but I want
to define the #stable version for a ConfigurationOf because as far as I
know the ConfigurationBrowser/CatalogBrowser uses only configurations and
tries to load the stable symbolic version.

On Tue, Oct 20, 2015 at 4:06 AM, Max Leske <[email protected]> wrote:

> Hi Gabriel,
>
> Looks ok to me.
>
> Take a look at
> https://github.com/theseion/LibGit/blob/master/BaselineOfLibGit.package/BaselineOfLibGit.class/instance/baseline..st.
> I think you’ll find all your use cases in that baseline.
>
> As for loading:
>
> Metacello new
>   baseline: #LibGit;
>   repository: 'github://theseion/LibGit:master';
>   load.
>
> Metacello new
>   baseline: #LibGit;
>   repository: 'github://theseion/LibGit:master';
>   load: 'development’.
>
> HTH,
> Max
>
>
> On 20 Oct 2015, at 05:05, Gabriel Cotelli <[email protected]> wrote:
>
> I was wondering if something like this can work:
>
> Given a ConfigurationOfProject (a subclass of ConfigurationOf)  defining:
>
> stable: spec <symbolicVersion: #stable> spec for: #'pharo4.0.x' do: [spec
> baseline: 'Project' with: [ spec repository: 
> 'github://username/Project:stableForPharo4/']].
> spec for: #'pharo5.0.x' do: [spec baseline: 'Project' with: [ spec
> repository: 'github://username/Project:stableForPharo5/']].
>
> where stableForPharo4 and stableForPharo5 are tags in the git repo (and
> assuming the BaselineOfProject is defined in this commits). Is this
> supposed to work :
>
> Metacello new
>   configuration: 'Project';
>   repository: 'github://username/Project:master';
>   version: #stable;
>   load. ??
>
> I've tried using a non-symbolic version and it works but I can't make it
> work for #stable. I'd like to use this configuration for the Configuration
> Browser/Catalog Browser.
>
> Any help is appreciated.
>
>
>

Reply via email to