Re: [Pharo-users] Pharo6 bootstrap how to

2017-07-01 Thread Andreas Sunardi
I'm also interested in this topic. I've built some small tools but a bit troubled with the installation size. I'd like to reduce it, but still be able to go in and debug when there's problem and to restore a set of packages/classes to add back a removed feature if I later found I need it. I recent

Re: [Pharo-users] Pharo6 bootstrap how to

2017-07-01 Thread Stephane Ducasse
https://www.peteruhnak.com/blog/2016/07/25/how-to-use-git-and-github-with-pharo/ But you should look on the blog of dale henrichs I did not check but he probably explained how to define baseline. On Tue, Jun 27, 2017 at 1:02 PM, Pavel Krivanek wrote: > Right now we do not have such source. > >

Re: [Pharo-users] Pharo6 bootstrap how to

2017-06-27 Thread Tim Mackinnon
This is great work - I think ultimately we can show the strengths of Smalltalk on images running in unusual places. Tim Sent from my iPhone > On 27 Jun 2017, at 12:05, Pavel Krivanek wrote: > > > > 2017-06-26 18:19 GMT+02:00 Tim Mackinnon : >> This is very interesting… what would you need i

Re: [Pharo-users] Pharo6 bootstrap how to

2017-06-27 Thread Hilaire
It will be helpfull, because from here I don't understand not much how I should get started. But I guess it is too early in the process as things may still be moving. Le 27/06/2017 à 13:02, Pavel Krivanek a écrit : > Right now we do not have such source. > > -- Pavel -- Dr. Geo http://drgeo.e

Re: [Pharo-users] Pharo6 bootstrap how to

2017-06-27 Thread Pavel Krivanek
2017-06-26 18:19 GMT+02:00 Tim Mackinnon : > This is very interesting… what would you need in that image to use the > remote debugging demo’d at Pharo Days 2017 - as I’m assuming for a server > environment with a web-app, you could have a lean core image and then > remotely attach to it to underst

Re: [Pharo-users] Pharo6 bootstrap how to

2017-06-27 Thread Pavel Krivanek
Right now we do not have such source. -- Pavel 2017-06-26 18:42 GMT+02:00 Hilaire : > Do you have a page explaining the process so people can try out? > > Hilaire > > Le 26/06/2017 à 16:29, Pavel Krivanek a écrit : > > You need to do it manually. You should probably start with own copy of > > Ba

Re: [Pharo-users] Pharo6 bootstrap how to

2017-06-26 Thread Hilaire
Do you have a page explaining the process so people can try out? Hilaire Le 26/06/2017 à 16:29, Pavel Krivanek a écrit : > You need to do it manually. You should probably start with own copy of > BaselineOfIDE and then try to remove packages you don't need. You should > do it slowly and check if

Re: [Pharo-users] Pharo6 bootstrap how to

2017-06-26 Thread Tim Mackinnon
This is very interesting… what would you need in that image to use the remote debugging demo’d at Pharo Days 2017 - as I’m assuming for a server environment with a web-app, you could have a lean core image and then remotely attach to it to understand what was going on? With enough infrastructure

Re: [Pharo-users] Pharo6 bootstrap how to

2017-06-26 Thread Pavel Krivanek
You need to do it manually. You should probably start with own copy of BaselineOfIDE and then try to remove packages you don't need. You should do it slowly and check if you are still able to generate a working image. -- Pavel 2017-06-26 16:09 GMT+02:00 Hilaire : > So in pratical term, how do yo

Re: [Pharo-users] Pharo6 bootstrap how to

2017-06-26 Thread Hilaire
So in pratical term, how do you create a baseline? Hilaire Le 26/06/2017 à 15:43, Pavel Krivanek a écrit : > We have the BaselineOfBasicTools that is something in the middle. It > already contains Workspace and Nautilus (but not GTPlayground). > BaselineOfIDE corresponds to the standard Pharo dis

Re: [Pharo-users] Pharo6 bootstrap how to

2017-06-26 Thread Pavel Krivanek
2017-06-26 15:35 GMT+02:00 Hilaire : > Hi Pavel, > > Are your suggesting I should be using a pre-built image with minimal > requirement? : > > One for UI only : BaselineOfUi ? > > One for IDE tools: BaselineOfIDE. ? > > > In Dr. Geo to write script, one need at least access to a playground and > a

Re: [Pharo-users] Pharo6 bootstrap how to

2017-06-26 Thread Hilaire
Hi Pavel, Are your suggesting I should be using a pre-built image with minimal requirement? : One for UI only : BaselineOfUi ? One for IDE tools: BaselineOfIDE. ? In Dr. Geo to write script, one need at least access to a playground and a class browser. Which of this image should be used then?

Re: [Pharo-users] Pharo6 bootstrap how to

2017-06-26 Thread Alistair Grant
Hi Pavel & Esteban, Thanks very much for your replies. What I wanted to do was to replace the line: ./vm/pharo Pharo.image eval --save "Metacello new baseline: 'IDE';repository: 'filetree://../src'; load" with one that would keep the repository associated in Iceberg. Of course, since this is

Re: [Pharo-users] Pharo6 bootstrap how to

2017-06-25 Thread Stephane Ducasse
thanks Pavel this is great to see that happening :) On Sun, Jun 25, 2017 at 6:47 PM, Pavel Krivanek wrote: > Hi, > > if you will do own bootstrap, you can use BaselineOfUI instead of > BaselineOfIDE. But you can use prebuilt image from here: > > https://ci.inria.fr/pharo/view/6.0-SysConf/job/Phar

Re: [Pharo-users] Pharo6 bootstrap how to

2017-06-25 Thread Stephane Ducasse
Hilaire I like your goal because this is what we want to achieve. what you should know is that the Pharo packages that we load to create Pharo are not all modular because they were not. We started to get Pharo modular and we will continue. On two fronts: - getting the core smaller - getting pharo

Re: [Pharo-users] Pharo6 bootstrap how to

2017-06-25 Thread Stephane Ducasse
Hilaire, Pay attention, we (pharo) bootstrap the minicore image based on git You do not need to bootstrap pharo you can simply apply the buildscript on the minicore image. then we use a buildscript to load pharo packages. In the future we expect that people will be able to - take the miniimage an

Re: [Pharo-users] Pharo6 bootstrap how to

2017-06-25 Thread Pavel Krivanek
Hi, if you will do own bootstrap, you can use BaselineOfUI instead of BaselineOfIDE. But you can use prebuilt image from here: https://ci.inria.fr/pharo/view/6.0-SysConf/job/Pharo-6.0-Step-10-01-ConfigurationOfUI/lastSuccessfulBuild/artifact/Pharo-6.0-ConfigurationOfUI.zip Into such image load D

Re: [Pharo-users] Pharo6 bootstrap how to

2017-06-25 Thread Hilaire
Hi Pavel, I removed deprecated method uses, then I updated accordingly the 'development' configuration of Dr. Geo. Hope it helps. Thanks Hilaire Le 25/06/2017 à 10:03, Pavel Krivanek a écrit : > > I tried to play a little bit with that. As the first step please check > that Dr. Geo can be load

Re: [Pharo-users] Pharo6 bootstrap how to

2017-06-25 Thread Esteban Lorenzano
> On 25 Jun 2017, at 10:41, Pavel Krivanek wrote: > > Thank you for the update, the original script was done for older Iceberg > versions. indeed :) Esteban > > Cheers, > -- Pavel > > 2017-06-25 10:38 GMT+02:00 Esteban Lorenzano >: > Hi! > >> On 25 Jun 2017, a

Re: [Pharo-users] Pharo6 bootstrap how to

2017-06-25 Thread Pavel Krivanek
Thank you for the update, the original script was done for older Iceberg versions. Cheers, -- Pavel 2017-06-25 10:38 GMT+02:00 Esteban Lorenzano : > Hi! > > On 25 Jun 2017, at 10:14, Pavel Krivanek wrote: > > You can clone a repository with Iceberg with a script like this: > > target := 'pharo-

Re: [Pharo-users] Pharo6 bootstrap how to

2017-06-25 Thread Esteban Lorenzano
> On 25 Jun 2017, at 10:38, Esteban Lorenzano wrote: > > Hi! > >> On 25 Jun 2017, at 10:14, Pavel Krivanek > > wrote: >> >> You can clone a repository with Iceberg with a script like this: >> >> target := 'pharo-core' asFileReference ensureCreateDirectory. >>

Re: [Pharo-users] Pharo6 bootstrap how to

2017-06-25 Thread Esteban Lorenzano
Hi! > On 25 Jun 2017, at 10:14, Pavel Krivanek wrote: > > You can clone a repository with Iceberg with a script like this: > > target := 'pharo-core' asFileReference ensureCreateDirectory. > repository := IceRepositoryCreator new > remote: (IceRemote url: 'g...@github.com:pharo-project/p

Re: [Pharo-users] Pharo6 bootstrap how to

2017-06-25 Thread Pavel Krivanek
You can clone a repository with Iceberg with a script like this: target := 'pharo-core' asFileReference ensureCreateDirectory. repository := IceRepositoryCreator new remote: (IceRemote url: 'g...@github.com:pharo-project/pharo.git'); location: target; subdirectory:'src'; createRepository. reposito

Re: [Pharo-users] Pharo6 bootstrap how to

2017-06-25 Thread Pavel Krivanek
Hi Hilaire, I tried to play a little bit with that. As the first step please check that Dr. Geo can be loaded properly into the standard Pharo 6 image with the package Deprecated60 unloaded. The Dr. Geo uses some deprecated calls and this package is not present in the smaller images. Cheers, -- P

Re: [Pharo-users] Pharo6 bootstrap how to

2017-06-24 Thread Alistair Grant
Hi Pavel, On Fri, Jun 23, 2017 at 10:08:29PM +0200, Pavel Krivanek wrote: > clone the master branch of g...@github.com:pharo-project/pharo.git and inside > this clone do: > > export PHARO_VERSION=60 > export BOOTSTRAP_ARCH=32 > > wget -O - get.pharo.org/${PHARO_VERSION}+vm | bash > > ./pharo P

Re: [Pharo-users] Pharo6 bootstrap how to

2017-06-24 Thread Hilaire
Ok, I executed these statements. It seems to do its jobs just fine, I request for a 64bits architecture. What's next? Thanks Hilaire Le 23/06/2017 à 22:08, Pavel Krivanek a écrit : > ./pharo Pharo.image --no-default-preferences > ./bootstrap/scripts/prepare_image.st --

Re: [Pharo-users] Pharo6 bootstrap how to

2017-06-24 Thread Hilaire
Looks like one should use the bellow command for anonymous clone: git clone https://github.com/pharo-project/pharo.git The command you provided required uploading public rsa key Le 24/06/2017 à 09:29, Pavel Krivanek a écrit : > git > clone g...@github.com:pharo-project/pharo.git > -- Dr. Geo

Re: [Pharo-users] Pharo6 bootstrap how to

2017-06-24 Thread Hilaire
Hi Pavel, Le 24/06/2017 à 09:35, Pavel Krivanek a écrit : > The question is what is your goal because the bootstrapped image will I want to build an image for DrGeo which is not 60MB. (the size I have now on my P6 dev image for Dr. Geo) Until now, DrGeo was installed then unecessary packages rem

Re: [Pharo-users] Pharo6 bootstrap how to

2017-06-24 Thread Pavel Krivanek
The question is what is your goal because the bootstrapped image will have in the end (almost) the same content as the default non-bootstrapped image. You probably want to change the content of the produced image wich requires to modify the related baselines and do not load them all. For Dr Geo you

Re: [Pharo-users] Pharo6 bootstrap how to

2017-06-24 Thread Pavel Krivanek
git clone g...@github.com:pharo-project/pharo.git 2017-06-24 9:00 GMT+02:00 Hilaire : > Thanks, > > Can you key in the exact sequence to clone the git repo, I am not used > to GIT yet. > > Hilaire > > Le 23/06/2017 à 22:08, Pavel Krivanek a écrit : > > clone the master branch of > > g...@github.c

Re: [Pharo-users] Pharo6 bootstrap how to

2017-06-24 Thread Hilaire
Just to be sure, it is to build an image from a mini-image, right? So to get a fairly small Dr. Geo image. Le 24/06/2017 à 09:00, Hilaire a écrit : > Thanks, > > Can you key in the exact sequence to clone the git repo, I am not used > to GIT yet. > > Hilaire -- Dr. Geo http://drgeo.eu

Re: [Pharo-users] Pharo6 bootstrap how to

2017-06-24 Thread Hilaire
Thanks, Can you key in the exact sequence to clone the git repo, I am not used to GIT yet. Hilaire Le 23/06/2017 à 22:08, Pavel Krivanek a écrit : > clone the master branch of > g...@github.com:pharo-project/pharo.git and > inside this clone do: > -- Dr. Geo http://drgeo.eu

Re: [Pharo-users] Pharo6 bootstrap how to

2017-06-23 Thread Pavel Krivanek
clone the master branch of g...@github.com:pharo-project/pharo.git and inside this clone do: export PHARO_VERSION=60 export BOOTSTRAP_ARCH=32 wget -O - get.pharo.org/${PHARO_VERSION}+vm | bash ./pharo Pharo.image --no-default-preferences ./bootstrap/scripts/ prepare_image.st --save --quit ./phar