So what the best way to ensure that I have the latest version of pharo ? To tell you the truth I kinda miss git/github ability to keep me update to the latest version of things. The problem with pharo is that it uses its own internal system and updating things is not as simple as a "git pull". So whats the best way to being always updated with the VM (binary) and the Image ? I have taken a visit at jenkins server but I am confused how to use it and what I should be downloading. Builds are not documented in such way to make clear to a begineer like me what he should download for his needs. I know there is also a github repo again I am confused whether I should clone that . -- View this message in context: http://forum.world.st/How-to-state-up-to-date-with-Pharo-tp4707617.html Sent from the Pharo Smalltalk Developers mailing list archive at Nabble.com.
My approach: make clean make With a makefile similar to: https://github.com/ThierryGoubier/AltBrowser/blob/master/Documentation/Makef... Some of the usefull scripts are: wget -0- get.pharo.org/30+vm | bash Will get you the latest vm and the latest image. You can also rely on the pharo ppa for ubuntu, if this is the Linux you use. Thierry Le 11/09/2013 10:12, kilon a écrit :
So what the best way to ensure that I have the latest version of pharo ?
To tell you the truth I kinda miss git/github ability to keep me update to the latest version of things. The problem with pharo is that it uses its own internal system and updating things is not as simple as a "git pull". So whats the best way to being always updated with the VM (binary) and the Image ?
I have taken a visit at jenkins server but I am confused how to use it and what I should be downloading. Builds are not documented in such way to make clear to a begineer like me what he should download for his needs.
I know there is also a github repo again I am confused whether I should clone that .
-- View this message in context: http://forum.world.st/How-to-state-up-to-date-with-Pharo-tp4707617.html Sent from the Pharo Smalltalk Developers mailing list archive at Nabble.com.
-- Thierry Goubier CEA list Laboratoire des Fondations des Systèmes Temps Réel Embarqués 91191 Gif sur Yvette Cedex France Phone/Fax: +33 (0) 1 69 08 32 92 / 83 95
On Wed, Sep 11, 2013 at 10:12 AM, kilon <thekilon@yahoo.co.uk> wrote:
So what the best way to ensure that I have the latest version of pharo ?
what many of do is to let a continuous integration server build your application on top of the latest Pharo everyday. So, you would have to: - push your code somewhere public (e.g., smalltalkhub) - write a configuration for your application (read the metacello chapter of this book http://rmod.lille.inria.fr/deepIntoPharo/) - register at https://ci.inria.fr/ - ask to be a member of the pharo-contribution project on https://ci.inria.fr/ - create a new job by cloning https://ci.inria.fr/pharo-contribution/view/Helper/job/JobTemplate/ And let Jenkins to the job. Everyday, you start your work by downloading the newest image built by Jenkins. I advise you to use the Pharo launcher (https://ci.inria.fr/pharo-contribution/job/PharoLauncher) which downloads images directly from Jenkins. -- Damien Cassou http://damiencassou.seasidehosting.st "Success is the ability to go from one failure to another without losing enthusiasm." Winston Churchill
Damien: Is there some guide to do the same in a private environment? I is... using an HTTP/FTP/Git server as the monticello repo (SmalltalkHub seems overkill). Kilon: I guess the main prerequisite is to have all the Monticello packages of your classes properly configured, and also the Metacello stuff in line (ConfigurationOf...). Then it is a matter of setting up a new image through command line loading the needed Metacello versions and then your own. You can do this in the context of a CI server or with a fresh image + cmdline in your own computer. Regards! Esteban A. Maringolo 2013/9/11 Damien Cassou <damien.cassou@gmail.com>
On Wed, Sep 11, 2013 at 10:12 AM, kilon <thekilon@yahoo.co.uk> wrote:
So what the best way to ensure that I have the latest version of pharo ?
what many of do is to let a continuous integration server build your application on top of the latest Pharo everyday. So, you would have to:
- push your code somewhere public (e.g., smalltalkhub) - write a configuration for your application (read the metacello chapter of this book http://rmod.lille.inria.fr/deepIntoPharo/) - register at https://ci.inria.fr/ - ask to be a member of the pharo-contribution project on https://ci.inria.fr/ - create a new job by cloning https://ci.inria.fr/pharo-contribution/view/Helper/job/JobTemplate/
And let Jenkins to the job. Everyday, you start your work by downloading the newest image built by Jenkins. I advise you to use the Pharo launcher (https://ci.inria.fr/pharo-contribution/job/PharoLauncher) which downloads images directly from Jenkins.
-- Damien Cassou http://damiencassou.seasidehosting.st
"Success is the ability to go from one failure to another without losing enthusiasm." Winston Churchill
On Wed, Sep 11, 2013 at 2:35 PM, Esteban A. Maringolo <emaringolo@gmail.com> wrote:
Is there some guide to do the same in a private environment? I is... using an HTTP/FTP/Git server as the monticello repo (SmalltalkHub seems overkill).
sure, you can set up your own jenkins server that downloads the image from http://files.pharo.org/image/30/ and installs something on top using a configuration. You don't need SmalltalkHub, any monticello repository will do (even a directory is fine, provided that it can be accessed from both the developer's computers and jenkins) -- Damien Cassou http://damiencassou.seasidehosting.st "Success is the ability to go from one failure to another without losing enthusiasm." Winston Churchill
Ok so I decided from what I have read from here, thats the simplest solution is to just redownload from pharo main website the image and make certain that my code is kept in smalltalkhub to make porting it back to a new image much easier. I really like Pharolauncher . It definetly makes image customisation much easier so I am definetly keeping that around. Also the makefile approach makes sense to me, maybe I could create a bash script to automate the process or even better using pharo itself to auto download latest image and import my packages from the repo. But then its not as if I had so many imports to do anyway for the time being. So I am definetly keeping this approach in mind for when the manual process becomes too much. -- View this message in context: http://forum.world.st/How-to-state-up-to-date-with-Pharo-tp4707617p4707788.h... Sent from the Pharo Smalltalk Developers mailing list archive at Nabble.com.
Am 11.09.2013 um 14:35 schrieb Esteban A. Maringolo <emaringolo@gmail.com>:
Is there some guide to do the same in a private environment? I is... using an HTTP/FTP/Git server as the monticello repo (SmalltalkHub seems overkill).
I wrote this once for turning apache into a monticello repository http://norbert.hartl.name/blog/2009/06/08/public-monticello-repository/ Maybe it is what you are looking for, Norbert
Yeap. It certainly does help. Thank you Norbert! Esteban A. Maringolo 2013/9/12 Norbert Hartl <norbert@hartl.name>
Am 11.09.2013 um 14:35 schrieb Esteban A. Maringolo <emaringolo@gmail.com
:
Is there some guide to do the same in a private environment? I is... using an HTTP/FTP/Git server as the monticello repo (SmalltalkHub seems overkill).
I wrote this once for turning apache into a monticello repository
http://norbert.hartl.name/blog/2009/06/08/public-monticello-repository/
Maybe it is what you are looking for,
Norbert
participants (5)
-
Damien Cassou -
Esteban A. Maringolo -
Goubier Thierry -
kilon -
Norbert Hartl