[Iceberg] Loading my git project into a new image

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
10 messages Options
Reply | Threaded
Open this post in threaded view
|

[Iceberg] Loading my git project into a new image

sergio_101
I had a troublesome image today, so my first thought is to dump the image, and load the packages back up in a new image.

While I can clone the the repo on in my new image using Iceberg, I can’t figure out now to load the packages, now that they are loaded up via iceberg.

under “loaded version” i see “no package loaded”. under “status” i see “not loaded”..

Thanks!

----
peace,
sergio
photographer, journalist, visionary

Reply | Threaded
Open this post in threaded view
|

Re: [Iceberg] Loading my git project into a new image

Pierce Ng-3
On Mon, Jan 21, 2019 at 03:10:49AM +0100, sergio ruiz wrote:
> While I can clone the the repo on in my new image using Iceberg, I can’t
> figure out now to load the packages, now that they are loaded up via
> iceberg.

If you mean you want to load from a git repo in your local filesystem,
then like this:

  Metacello new
    repository: 'gitlocal:///local/filesystem/path/to/your/repo';
    baseline: '...';
    load

Pierce


Reply | Threaded
Open this post in threaded view
|

Re: [Iceberg] Loading my git project into a new image

Guillermo Polito
Hi Sergio,

You can also double click into the repository, or click on the "Packages" menu.

image.png

And then you'll see the list of packages, which you can load by doing right click and "Load"
image.png

Of course, you can do it through Metacello, but that requires you have a baseline for your project.



On Mon, Jan 21, 2019 at 9:14 AM Pierce Ng <[hidden email]> wrote:
On Mon, Jan 21, 2019 at 03:10:49AM +0100, sergio ruiz wrote:
> While I can clone the the repo on in my new image using Iceberg, I can’t
> figure out now to load the packages, now that they are loaded up via
> iceberg.

If you mean you want to load from a git repo in your local filesystem,
then like this:

  Metacello new
    repository: 'gitlocal:///local/filesystem/path/to/your/repo';
    baseline: '...';
    load

Pierce




--

   

Guille Polito

Research Engineer

Centre de Recherche en Informatique, Signal et Automatique de Lille

CRIStAL - UMR 9189

French National Center for Scientific Research - http://www.cnrs.fr


Web: http://guillep.github.io

Phone: +33 06 52 70 66 13

Reply | Threaded
Open this post in threaded view
|

Re: [Iceberg] Loading my git project into a new image

Sven Van Caekenberghe-2
In reply to this post by Pierce Ng-3
Hi Pierce,

On 21 Jan 2019, at 09:14, Pierce Ng <[hidden email]> wrote:

On Mon, Jan 21, 2019 at 03:10:49AM +0100, sergio ruiz wrote:
While I can clone the the repo on in my new image using Iceberg, I can’t
figure out now to load the packages, now that they are loaded up via
iceberg.

If you mean you want to load from a git repo in your local filesystem,
then like this:

 Metacello new
   repository: '<a href="gitlocal:///local/filesystem/path/to/your/repo" class="">gitlocal:///local/filesystem/path/to/your/repo';
   baseline: '...';
   load

Pierce

Yes, when there is a BaselineOf you can load it (there is even a menu item for that).

For your own projects, you will have to create your own BaselineOf, which is easier than creating a ConfigurationOf, BTW.

You can also open the Packages view of a repository, and load unloaded packages manually:


HTH,

Sven

Reply | Threaded
Open this post in threaded view
|

Re: [Iceberg] Loading my git project into a new image

sergio_101
In reply to this post by Guillermo Polito


You can also double click into the repository, or click on the "Packages" menu.


For some reason, I am not  getting “Packages” in my menu:


----
peace,
sergio
photographer, journalist, visionary

Reply | Threaded
Open this post in threaded view
|

Re: [Iceberg] Loading my git project into a new image

sergio_101
In reply to this post by Sven Van Caekenberghe-2
I am not able to get the packages view to load on my project.

How would I go about creating a baseline?

On January 21, 2019 at 4:00:01 AM, Sven Van Caekenberghe ([hidden email]) wrote:

For your own projects, you will have to create your own BaselineOf, which is easier than creating a ConfigurationOf, BTW
----
peace,
sergio
photographer, journalist, visionary

Reply | Threaded
Open this post in threaded view
|

Re: [Iceberg] Loading my git project into a new image

khinsen
Am 21.01.19 um 14:59 schrieb sergio ruiz:

> I am not able to get the packages view to load on my project.
>
> How would I go about creating a baseline?

Check out this explanation (with examples) :

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

Konrad.

Reply | Threaded
Open this post in threaded view
|

Re: [Iceberg] Loading my git project into a new image

Sven Van Caekenberghe-2
In reply to this post by sergio_101


> On 21 Jan 2019, at 14:58, sergio ruiz <[hidden email]> wrote:
>
>>
>>
>> You can also double click into the repository, or click on the "Packages" menu.
>>
>
> For some reason, I am not  getting “Packages” in my menu:
>
> <02E567F3-283C-4010-93D6-392BDD5F6012.png>

Wow, this looks like a very old Iceberg. At least in Pharo 7 the UI (and I guess functionality) is way different.

> ----
> peace,
> sergio
> photographer, journalist, visionary
>
> Public Key: http://bit.ly/29z9fG0
> #BitMessage BM-NBaswViL21xqgg9STRJjaJaUoyiNe2dV
> http://www.codeandmusic.com
> http://www.twitter.com/sergio_101
> http://www.facebook.com/sergio101


Reply | Threaded
Open this post in threaded view
|

Re: [Iceberg] Loading my git project into a new image

sergio_101
Ah! 

I have been using 6.0 as this project is going to be a seaside website on a real production project..

Maybe I should try it in Pharo 7, and see if it works..

On January 21, 2019 at 9:16:12 AM, Sven Van Caekenberghe ([hidden email]) wrote:

Wow, this looks like a very old Iceberg. At least in Pharo 7 the UI (and I guess functionality) is way different. 
----
peace,
sergio
photographer, journalist, visionary

Reply | Threaded
Open this post in threaded view
|

Re: [Iceberg] Loading my git project into a new image

Sven Van Caekenberghe-2


> On 21 Jan 2019, at 15:36, sergio ruiz <[hidden email]> wrote:
>
> Ah!
>
> I have been using 6.0 as this project is going to be a seaside website on a real production project..
>
> Maybe I should try it in Pharo 7, and see if it works..

Sure, Seaside works fine on Pharo 7, and overall you will get better support. Especially if you want to use git/iceberg, P7 is way better.

Maybe it is also possible to upgrade Iceberg in older images, I am not sure.

> On January 21, 2019 at 9:16:12 AM, Sven Van Caekenberghe ([hidden email]) wrote:
>
>> Wow, this looks like a very old Iceberg. At least in Pharo 7 the UI (and I guess functionality) is way different.
> ----
> peace,
> sergio
> photographer, journalist, visionary
>
> Public Key: http://bit.ly/29z9fG0
> #BitMessage BM-NBaswViL21xqgg9STRJjaJaUoyiNe2dV
> http://www.codeandmusic.com
> http://www.twitter.com/sergio_101
> http://www.facebook.com/sergio101