Hi Offray,

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

Iceberg understand git urls (ssh:// … g...@github.com <mailto:g...@github.com> 
…. 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
 
<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 
> <offray.l...@mutabit.com> 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
>  
> <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 
> inhttps://code.tupale.co/Offray/Grafoscopio/src/branch/beta/migration/ 
> <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/ 
> <https://code.tupale.co/Offray/Grafoscopio/src/branch/beta/migration/>';
>     load
> 
> Thanks,
> 
> Offray
> 

Reply via email to