On Wed, 2008-07-02 at 12:26 +0200, Stéphane Ducasse wrote: > >> > > No, but I use Installer for my stuff. I take an official > > image, file in patches and Installer. > > do you have a script for that? > Yes, I have a handful of scripts but they are rather not very interesting. It's not that magic. If have a repository of all used packages on disk. Then I file in a static version of Installer.st. Then I use Installer to upgrade itself from the repository.
After that I have e.g. whooka := Installer monticello directory: ( FileDirectory on: '/opt/whooka/repository/' ). whooka install: 'DynamicBindings-gc.7'. That should use a universe package which then installs the package and its dependents. Multiple entries allow you to install any combination of packages even if they are not combined in the universe that way. Additional information about where to get the test and which to run could be use- ful. You can put information about what to test somewhere and a mechanism creates a file like the snippet above. The files could be numbered so it could act like a queue. I don't think you need much more than that. The hard part is IMHO if a debugger is opened somewhere due an error misconfiguration. Then everything will go stale. I hope there is an easy way to prevent that and make the test fail. The last resort would be to timeout a test and kill the image, marking the test failed. > > On top of that I load > > all packages with Installer and save the image. The configuration > > and the tests are provided as a startup script to the image. > > That works all quite well. > > could you should us a typical script > I use it to configure seaside (Session class, Root class and database credentials). In the simplest case it would just invoke the test runner and lets all tests run. It doesn't even have to be an extra script. It could be the last lines in the above script. Norbert > > I would like to see that we use a universe to feed a build > > server. Then we have another reason to maintain a universe :) > > and we could enhance universe to include information about > > the combinations that work. > > Yes this would be good. > We will have a look at Sake. > > > > > > > Norbert > > > > > > _______________________________________________ > > Pharo-project mailing list > > [email protected] > > http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project > > > > > _______________________________________________ > Pharo-project mailing list > [email protected] > http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project _______________________________________________ Pharo-project mailing list [email protected] http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
