Problem with Pharo 9 - repositories missing

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

Problem with Pharo 9 - repositories missing

Long Haired David

Hi everyone.

 

I have a simple talk, or so I thought. I am trying to port a Mac Pharo/Seaside project to either a Windows 2012 server or to a Windows 10 laptop. I have set up my git credentials and that all works fine. However, when I install either 8.0 or 9.0 on my Windows 10 laptop it shows he following

Repositories   --  status

Pharo                    Local repository missing

Pharo-spec2                       Local repository missing

Pharo-newtools                                Local repository missing

Iceberg                 Local repository missing

Libgit-pharo-bindings                     Local repository missing

tonel                      Local repository missing

 

What on earth is going on here as installing Pharo on my Mac was seamless. I have to get the project onto a Windows machine as these are the only servers that I have. I really can’t be this difficult, can it?

 

How do I get out of this mess, given that that is a clean install?

David

Totally Objects

 

David
Totally Objects
Doing Smalltalk since 1989
Reply | Threaded
Open this post in threaded view
|

Re: Problem with Pharo 9 - repositories missing

Stéphane Ducasse
What the system is telling you is that:
while the code of the projects is in your image/changes, the system does not know (it cannot invent because
you could running it on the moon or mars for example) where are the git repositories where it could find the 
working copies and the versionned elements of such packages. 

I think that the status is pretty clear. 
So if you want to load code via git from your new machine there is no magic.
Git is a distributed versioning system so you have to clone your repo locally and tell it to Pharo. 
Now iceberg is quite cool because if you do repair it will 
- clone 
- configure your working so that it correspond to the code version in your image
- probably fetching some version.


In fact there is no difference between your mac talking to github and another repository.
You have local and remotes + pharo (another kind of local). 

So Pharo alone can work but it cannot guess where you decided to store your local git repositories. 

I hope that it helps. 

S

On 11 Apr 2021, at 13:43, [hidden email] wrote:

Hi everyone.
 
I have a simple talk, or so I thought. I am trying to port a Mac Pharo/Seaside project to either a Windows 2012 server or to a Windows 10 laptop. I have set up my git credentials and that all works fine. However, when I install either 8.0 or 9.0 on my Windows 10 laptop it shows he following
Repositories   --  status
Pharo                    Local repository missing
Pharo-spec2                       Local repository missing
Pharo-newtools                                Local repository missing
Iceberg                 Local repository missing
Libgit-pharo-bindings                     Local repository missing
tonel                      Local repository missing
 
What on earth is going on here as installing Pharo on my Mac was seamless. I have to get the project onto a Windows machine as these are the only servers that I have. I really can’t be this difficult, can it?
 
How do I get out of this mess, given that that is a clean install?
David
Totally Objects

--------------------------------------------
Stéphane Ducasse
03 59 35 87 52
Assistant: Aurore Dalle 
FAX 03 59 57 78 50
TEL 03 59 35 86 16
S. Ducasse - Inria
40, avenue Halley, 
Parc Scientifique de la Haute Borne, Bât.A, Park Plaza
Villeneuve d'Ascq 59650
France

Reply | Threaded
Open this post in threaded view
|

Re: Problem with Pharo 9 - repositories missing

Sebastian Jordan
In reply to this post by Long Haired David
You have to set up your repositories through a fork. You can read:
That applies for all repositories: iceberg, spec2, etc.

From: [hidden email] <[hidden email]>
Sent: Sunday, April 11, 2021 7:43:17 AM
To: [hidden email] <[hidden email]>
Subject: [Pharo-users] Problem with Pharo 9 - repositories missing
 

Hi everyone.

 

I have a simple talk, or so I thought. I am trying to port a Mac Pharo/Seaside project to either a Windows 2012 server or to a Windows 10 laptop. I have set up my git credentials and that all works fine. However, when I install either 8.0 or 9.0 on my Windows 10 laptop it shows he following

Repositories   --  status

Pharo                    Local repository missing

Pharo-spec2                       Local repository missing

Pharo-newtools                                Local repository missing

Iceberg                 Local repository missing

Libgit-pharo-bindings                     Local repository missing

tonel                      Local repository missing

 

What on earth is going on here as installing Pharo on my Mac was seamless. I have to get the project onto a Windows machine as these are the only servers that I have. I really can’t be this difficult, can it?

 

How do I get out of this mess, given that that is a clean install?

David

Totally Objects

 

Reply | Threaded
Open this post in threaded view
|

Re: Problem with Pharo 9 - repositories missing

Sven Van Caekenberghe-2
In reply to this post by Long Haired David
David,

Since you have so much trouble building on Windows, I would suggest building a deployment image on macOS and then copy that over to Windows (*.image *.changes *.sources), install a VM on Windows, and run headless with a startup.st script.

Sven

> On 11 Apr 2021, at 13:43, <[hidden email]> <[hidden email]> wrote:
>
> Hi everyone.
>  
> I have a simple talk, or so I thought. I am trying to port a Mac Pharo/Seaside project to either a Windows 2012 server or to a Windows 10 laptop. I have set up my git credentials and that all works fine. However, when I install either 8.0 or 9.0 on my Windows 10 laptop it shows he following
> Repositories   --  status
> Pharo                    Local repository missing
> Pharo-spec2                       Local repository missing
> Pharo-newtools                                Local repository missing
> Iceberg                 Local repository missing
> Libgit-pharo-bindings                     Local repository missing
> tonel                      Local repository missing
>  
> What on earth is going on here as installing Pharo on my Mac was seamless. I have to get the project onto a Windows machine as these are the only servers that I have. I really can’t be this difficult, can it?
>  
> How do I get out of this mess, given that that is a clean install?
> David
> Totally Objects
Reply | Threaded
Open this post in threaded view
|

Re: Problem with Pharo 9 - repositories missing

Richard Sargent (again)
Sven and everyone else, these are good, pragmatic suggestions. But, the lack of understanding is surely frustrating for David (and for me watching from the sidelines).

Can anyone explain why the Windows experience is so radically different from everything else? (Ok, I admit that Windows is a horrible p.o.s. But, it's not some non-human language that cannot be understood. (Ok. Maybe it is.))


On April 11, 2021 11:56:08 PM PDT, Sven Van Caekenberghe <[hidden email]> wrote:
David,

Since you have so much trouble building on Windows, I would suggest building a deployment image on macOS and then copy that over to Windows (*.image *.changes *.sources), install a VM on Windows, and run headless with a startup.st script.

Sven

On 11 Apr 2021, at 13:43, <[hidden email]> <[hidden email]> wrote:

Hi everyone.

I have a simple talk, or so I thought. I am trying to port a Mac Pharo/Seaside project to either a Windows 2012 server or to a Windows 10 laptop. I have set up my git credentials and that all works fine. However, when I install either 8.0 or 9.0 on my Windows 10 laptop it shows he following
Repositories -- status
Pharo Local repository missing
Pharo-spec2 Local repository missing
Pharo-newtools Local repository missing
Iceberg Local repository missing
Libgit-pharo-bindings Local repository missing
tonel Local repository missing

What on earth is going on here as installing Pharo on my Mac was seamless. I have to get the project onto a Windows machine as these are the only servers that I have. I really can’t be this difficult, can it?

How do I get out of this mess, given that that is a clean install?
David
Totally Objects
Reply | Threaded
Open this post in threaded view
|

Re: Problem with Pharo 9 - repositories missing

eftomi
Hi, I use Pharo 8 & 9, 32 & 64 on Windows 10 without any problems, except when packages use complex directory structure (path length challenge) that was already mentioned in Seaside thread and elsewhere.

Repositories Pharo, Pharo-spec2 etc. are not needed for usual tasks, except if you would like to propose PRs for those - this is the only circumstance that I can think of. As Stephane said, "the code of the projects is in your image/changes", so nothing is missing for the business as usual. I don't know if these get copied from github automatically on MacOS, though, but what would be the purpose of that?

Best wishes,
Tomaz
Reply | Threaded
Open this post in threaded view
|

Re: Problem with Pharo 9 - repositories missing

Long Haired David
In reply to this post by Sven Van Caekenberghe-2
That worked perfectly. I copied the three files across, created a new VM, copied my database and (apart from a single issue) everything worked fine.

Thank you so much for your help. It never occurred to me that this would be possible.

There is one big difference between Windows and the Mac but I will post that as a separate item.

Again, many thanks.

If you are interested, check out IPMS Clacton Web Site and browse around
David
BTW, avid user of STON - crucial addition to my database.



On 12 Apr 2021, at 07:56, Sven Van Caekenberghe <[hidden email]> wrote:

David,

Since you have so much trouble building on Windows, I would suggest building a deployment image on macOS and then copy that over to Windows (*.image *.changes *.sources), install a VM on Windows, and run headless with a startup.st script.

Sven

On 11 Apr 2021, at 13:43, <[hidden email]> <[hidden email]> wrote:

Hi everyone.

I have a simple talk, or so I thought. I am trying to port a Mac Pharo/Seaside project to either a Windows 2012 server or to a Windows 10 laptop. I have set up my git credentials and that all works fine. However, when I install either 8.0 or 9.0 on my Windows 10 laptop it shows he following
Repositories   --  status
Pharo                    Local repository missing
Pharo-spec2                       Local repository missing
Pharo-newtools                                Local repository missing
Iceberg                 Local repository missing
Libgit-pharo-bindings                     Local repository missing
tonel                      Local repository missing

What on earth is going on here as installing Pharo on my Mac was seamless. I have to get the project onto a Windows machine as these are the only servers that I have. I really can’t be this difficult, can it?

How do I get out of this mess, given that that is a clean install?
David
Totally Objects

David
Totally Objects
Doing Smalltalk since 1989