Sig,

Packages would be nice, but I think a more important goal is to get the vm to 
describe error conditions.  If it did that reliably, I would have been 
completely content to unzip a binary and write a shell script, or just use a 
one-click image.  Of the things that are under reported, the most notable is 
when a shared library does not load, where did the vm look for it?  One gives 
it a name via #moduleName, but the vm modifies it and then tries to load using 
the result.  If it fails, it needs to say where it looked.  What was the error 
code?

Bill


________________________________________
From: pharo-project-boun...@lists.gforge.inria.fr 
[pharo-project-boun...@lists.gforge.inria.fr] On Behalf Of laurent laffont 
[laurent.laff...@gmail.com]
Sent: Friday, December 17, 2010 3:33 PM
To: Pharo-project@lists.gforge.inria.fr
Subject: Re: [Pharo-project] Automated VM build server

This is really cool Igor.

A next step would be to generate packages for major Linux distro (Debian / 
Ubuntu, Arch, Fedora, ...).

Laurent

On Fri, Dec 17, 2010 at 9:17 PM, Igor Stasenko 
<siguc...@gmail.com<mailto:siguc...@gmail.com>> wrote:
In our nearest plans is make an automated (Hudson based) build setup
for Cog and Squeak VMs.

All files, which used for building an artifacts should be included in
source code repository.
So, most probably i will add the 'hudson-build' dir at same level as
'platforms', where scripts and configs will be stored.

Some changes which i going to do:
 - all generated code will be removed from version controlled tree.
Instead of it i will add an information, which will be enough
to reproduce the generated code by taking 3 separate config file(s)

a) image version (or its URL(s) for download)
b) script for loading VMMaker (of concrete version) + all addons like
FFI , FT2 etc etc into image
c) script for generating the source code using VMMaker image
..
z) tell me if i miss anything here

With removing generated source code from repo we now can make sure
that any changes in VMMaker (including code generation itself)
can be tested and can be reproduced by build server at any snapshot version.
Also, we could test & see if VMMaker loads well and can generate code
using different base images.
So, we will instantly know if any changes in compiler, or other layers
of system is breaking VMMaker.

Because having a years old image where VMMaker works 100%, but at same
time have 100% chances that it
couldn't be loaded (or even if loaded, but can't run correctly) in
latest image is not what i think good practice for
keeping your house clean.


So, by getting rid any intermediate artifacts from build  chain we
will be able to make sure that:
 - VMMaker loads w/o problems in latest/multiple image(s)
 - VMMaker works well and can generate code

That's means that for any newcomer, loading and building VM will be
much less tedious process, and for 99%
of cases it can be fully automated error free process.

And let me remind our motto: we're not trying to produce perfect
system/setup from first lucky shot.
We slowly but steady crawling towards improved state of art.

Any comments, ideas and suggestions are welcome.

--
Best regards,
Igor Stasenko AKA sig.



Reply via email to