Login  Register

Re: Iceberg: Installing a baseline from a self hosted Git/Gitea repository branch

Posted by Guillermo Polito on Jul 15, 2020; 7:46am
URL: https://forum.world.st/Iceberg-Installing-a-baseline-from-a-self-hosted-Git-Gitea-repository-branch-tp5119672p5119697.html

Hi Offray,

Metacello and Iceberg are different things, although there is some integration between them.

Iceberg understand git urls (ssh:// … [hidden email] …. https://…)

Metacello understand its own urls, because it was originally designed to work in independence of git (github:// bitbucket://…)

You cannot use https:// or ssh:// urls in metacello.
You can clone manually with Iceberg and then do a load through Iceberg’s UI.

From the doc in here:

https://github.com/pharo-open-documentation/pharo-wiki/blob/master/General/Baselines.md#project-from-githubgitlabbitbucket

The valid URLs are

{prefix}://{optionalHostname}:{owner}/{projectName}:{version}/{subFolder}

This snippet should be configured with:

  • {prefix}: This is host-specific:
    • github for github
    • bitbucket for bitbucket
    • gitlab for gitlab
Cheers,
Guille

El 14 jul 2020, a las 20:02, Offray Vladimir Luna Cárdenas <[hidden email]> escribió:

HI.

I'm migrating my packages from StHub to a self hosted Gitea instance. I have already a test BaselineOf hosted there and referring to other self hosted repositories. I'm following the [Baselines documentation](https://github.com/pharo-open-documentation/pharo-wiki/blob/master/General/Baselines.md) for all this. But when I try to load the baseline from the beta/migration branch running the code below, I get the message Could not resolve: BaselineOfGrafoscopio in https://code.tupale.co/Offray/Grafoscopio/src/branch/beta/migration/. How can I load Baselines hosted in a branch inside a self hosted Git/Gitea repository?

Metacello new 
    baseline: 'Grafoscopio';
    repository: 'https://code.tupale.co/Offray/Grafoscopio/src/branch/beta/migration/';
    load

Thanks,

Offray