Lukas Renggli wrote:
I really don't want to repeat the same build multiple times. Downloading and installing Monticello files is just dead slow.
I find building from a local directory is quite fast. E.g. Gofer new directory: '/public/repo'; "squeaksource: 'KomHttpServer';" package: 'DynamicBindings'; package: 'KomServices'; package: 'KomHttpServer'; load. After a successful build, I copied the package-cache to the local repo directory. This was okay for debugging the build scripts, but doesn't work for building from the latest .mcz's. One idea, I've not tried yet, is to use rsync to pull the latest .mcz's down into the local repo. Then, for .mcz's that have no newer version, nothing has to be downloaded. Now that I think about, if you don't have control of the squeak source repository machine, then you can't do this. Also, to avoid filling up the local disk, some rsync filters would be needed, as well as a cron script to remove all but the latest version. Now it's getting too complicated. Following on that thought was to have Hudson monitor the repositories for new packages, and then kick off a build. I've not yet checked whether Hudson can do this. So here's a new idea. Keep the package-cache from the previous build, and make sure the build image can make use of it -- I'm not sure of the Gofer/Monticello details. -- Yanni