Code Monkey home page Code Monkey logo

baby-phexample's People

Contributors

seandenigris avatar

Watchers

 avatar  avatar

baby-phexample's Issues

Project Dependencies: Use #stable versions in Basline and numbered versions in Config

There was a pattern in pre-BaselineOf Metacello where one would define
dependencies loosely in the #baselineXyz:, and then pin them to a specific
version in the #versionAbc:.

For example:

ConfigurationOfBabyPhexample>>#baseline100: spec
        ...
        project: 'BabyMock' with: [
                spec
                        className: #ConfigurationOfBabyMock;
                        versionString: #'stable';
                        repository: 'http://smalltalkhub.com/mc/zeroflag/BabyMock/main/' ]
        ...

and then:

ConfigurationOfBabyPhexample>>#version10: spec
        ...
        spec
                project: 'BabyMock' with: '1.2'
        ...

How does one handle this sort of thing with #baseline:import:?

This is what I came up with…

In the BaselineOf:

BaselineOfBabyPhexample>>#baseline:project: 'BabyMock' with: [
        spec ... versionString: #'stable' … ];

And then in the ConfigurationOf:
```smalltalk
ConfigurationOfBabyPhexample>>#version10: spec
        ...
        baseline: 'BabyPhexample'
                with: [
                      spec
                        repository:

'github://seandenigris/Baby-Phexample:INSERT-SHA-HERE/repository' ].
                spec
                        project: 'BabyMock' with: '1.2'
        ...

But I got this error from the last line: MessageNotUnderstood: receiver of "fetchUsing:" is nil.
Then I changed the last line to:

    spec
        project: 'BabyMock' with: [ 
            spec
                className: #'ConfigurationOfBabyMock';
                versionString: '1.2' ]

And there was no error, but ConfigurationOfBabyPhexample project stableVersion record loadDirective. reports that the #stable version of BabyMock (1.3) will be loaded loaded instead of the version 1.2 that I specified in my configuration.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.