Giter VIP home page Giter VIP logo

Comments (10)

fniephaus avatar fniephaus commented on May 24, 2024

@zecke thanks for the suggestion. I will add #version support as soon as I can πŸ˜ƒ

from smalltalkci.

zecke avatar zecke commented on May 24, 2024

Okay more than this is needed. Starting with the fact that I used "Versionner" in Pharo to create a Metacello Configuration, how can I refer to the "current" git HEAD to fetch my packages? I want to avoid putting "github://zecke/osmo-smsc:branch" in it (as somebody might have forked the repository or is using a different branch).

from smalltalkci.

dalehenrich avatar dalehenrich commented on May 24, 2024

Since there's not much info in the comments here, I'm curious what you are trying to do.

I assume that you've already had the conversation about the fact that a BaselineOf is supposed to be the way to test a commit, since a BaselineOf automatically refers to the commit that the original BaselineOf was loaded from ...

I've looked at your configuration and if you follow the instructions
for creating a BaselineOf and converting an existing baseline, you should be able to use SmalltalkCI without any additional features...

from smalltalkci.

zecke avatar zecke commented on May 24, 2024

Thank you for your comment. I'm not literate when it comes to Monticello and I tried to stay with just using Versionner of Pharo.

My goal would be:

  • Test the latest code on travis-ci (so BaselineOf seems to be the easiest)
  • Make it possible for others to load parts/all of it. This seems to bring me back to maintaining a ConfigurationOf?

Is there a way I could either:

  • Use the ConfigurationOf but have the repository replaced? E.g. with a shell script I can put filetree://./mc/ into it (not that I should) or have the ConfigurationOf use the BaselineOf?

Does it make sense?

from smalltalkci.

dalehenrich avatar dalehenrich commented on May 24, 2024

If you use a BaselineOf then others can load your project as well. Here's the Metacello expression for loading code using a BaselineOf:

Metacello new
  baseline: 'ShortMessageCenter';
  repository: 'github://zecke/osmo-smsc:master/mc';
  get;
  load

If you have a local clone of the git repo, then the following is the load expression:

Metacello new
  baseline: 'ShortMessageCenter';
  repository: 'filetree://<full-path-git-repo-root>/mc';
  get;
  load

You need to make sure that you've got the latest version of Metacello loaded, since the Pharo folks, don't quite keep the images up-to-date with the latest version of Metacello

from smalltalkci.

zecke avatar zecke commented on May 24, 2024

Thanks. I created a Baseline and use it to run tests. Git branches and versions in ConfigurationOf are kind of orthogonal but how would I end up testing that "development", "stable", "bleedingEdge" work? Wouldn't I still need a #version variable for that?

from smalltalkci.

dalehenrich avatar dalehenrich commented on May 24, 2024

@zecke for the most part the symbolic versions map into git branches ... #stable should be equivalent to the master branch. #development is equivalent to any branch that is not the master branch ... I typically create a dev branch for quick fixes and work and when I have a more complicated issue to resolve I create a topic branch named for the issue I am working on (i.e., issue_47)... bleedingEdge would be using any non-master branch ...

from smalltalkci.

fniephaus avatar fniephaus commented on May 24, 2024

#version is now support πŸ˜ƒ

from smalltalkci.

zecke avatar zecke commented on May 24, 2024

Thank you!

from smalltalkci.

fniephaus avatar fniephaus commented on May 24, 2024

You have to thank @theseion! :)

from smalltalkci.

Related Issues (20)

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.