Re: [Pharo-users] Phaas - anyone interested in setting up Pharo as a Service?
<<< I would prefer to upload a MetacelloConfiguration (or something similar) instead of an image. I like to think about the image as a temporary runtime. Not something where I store code or someting I deploy. I would love to have something like: $ pharo -v 1.4-summer myProject.ston where myProject.ston would contain all the necessary information to load my project (dependencies, repositories, etc). This command would create an image with my project on the fly from a stock Pharo 1.4-summer and launch it. It would recreate the image everytime I want to work on my project (or when it is deployed). The problem right now is the loading time for dependencies (try to load seaside in a pristine image, you'll get the point). All the other bricks are there.>>> Sounds like a very good idea. Does anything like that exist already? Also, it raises the question of what should be in the base image. Cheers Andy
On 26/01/13 21:38, Andy Burnett wrote:
<<< I would prefer to upload a MetacelloConfiguration (or something similar) instead of an image.
I like to think about the image as a temporary runtime. Not something where I store code or someting I deploy. I would love to have something like:
$ pharo -v 1.4-summer myProject.ston
where myProject.ston would contain all the necessary information to load my project (dependencies, repositories, etc). This command would create an image with my project on the fly from a stock Pharo 1.4-summer and launch it. It would recreate the image everytime I want to work on my project (or when it is deployed).
The problem right now is the loading time for dependencies (try to load seaside in a pristine image, you'll get the point). All the other bricks are there.>>>
Sounds like a very good idea. Does anything like that exist already? Also, it raises the question of what should be in the base image.
I'm not aware of any. Tanker[1] + Metacello are maybe an answer for the loading time issue. [1]: http://marianopeck.wordpress.com/2012/09/28/new-tanker-current-status/ -- http://tulipemoutarde.be +32 65 709 131
I'm not aware of any. Tanker[1] + Metacello are maybe an answer for the loading time issue.
[1]: http://marianopeck.wordpress.com/2012/09/28/new-tanker-current-status/
But it requires some work to make it production ready. I do not think that you need ston. You plain smalltalk code is good enough to trigger the correct metacello file. metacello is key for the projects dependency management and complex projects. Once we will have the continuous validation of pckage ready + binary loader we will get ready for a new phase in Pharo. Stef
also... the capability to upload images is not contrary to the capability to prepare them before put them online :) I imagine it could be an "incremental" process: first a service to put images online, after a service to prepare them :) btw, I think you'll need a special vm (the guys from netstyle have a custom vm in seasidehosting, for security issues (onether btw: we should have a CMakeMaker config to produce such a special VM... and a jenkins job... well, dreams...) cheers, Esteban On Jan 27, 2013, at 3:41 AM, Stéphane Ducasse <stephane.ducasse@inria.fr> wrote:
I'm not aware of any. Tanker[1] + Metacello are maybe an answer for the loading time issue.
[1]: http://marianopeck.wordpress.com/2012/09/28/new-tanker-current-status/
But it requires some work to make it production ready. I do not think that you need ston. You plain smalltalk code is good enough to trigger the correct metacello file.
metacello is key for the projects dependency management and complex projects. Once we will have the continuous validation of pckage ready + binary loader we will get ready for a new phase in Pharo.
Stef
participants (4)
-
Andy Burnett -
Esteban Lorenzano -
Francois Stephany -
Stéphane Ducasse