This is a great piece of work, thank you Pavel!
/Klaus
On Sun, 22 Oct 2006 16:37:10 +0200, Pavel Krivanek wrote:
There's new Monticello repository with pacakges for the KernelImage
* http://www.squeaksource.com/KernelImage.html
Here you can find modified versions of standard packages.
You need to have KernelImage with Monticello support. That means that you should create basic KernelImage, then download latest versions of packages Compression, Network, PackageInfo and Monticello from the repository, unzip it end load source.st files of all this packages.
Prepared image: http://www.comtalk.net/Squeak/uploads/98/KernelImage-MC-7061c.zip
Use external files for long scripts, current console cannot process multiline commands.
You may then reload this packages or newer versions from the repository again:
#('Compression-pk.10.mcz' 'Network-pk.41.mcz' 'PackageInfo-al.6.mcz' 'Monticello-pk.309.mcz') do: [:packageName | ((MCHttpRepository location: 'http://www.squeaksource.com/KernelImage' user: '' password: '') loadVersionFromFileNamed: packageName) load ]
Then you can load next packages like Comanche and Seaside.
#('SUnit-pk.35.mcz' 'GraphicsFiles-pk.3.mcz' 'DigitalSignatures-pk.3.mcz' 'DynamicBindings-gk.3.mcz' 'KomServices-pk.4.mcz' 'KomHttpServer-pk.2.mcz' 'Seaside2-pk.7.mcz') do: [:packageName | ((MCHttpRepository location: 'http://www.squeaksource.com/KernelImage' user: '' password: '') loadVersionFromFileNamed: packageName) load ]
Some other packages like Scriptaculous can be loaded from standard repositories.
((MCHttpRepository location: 'http://www.squeaksource.com/Seaside' user: '' password: '') loadVersionFromFileNamed: 'Scriptaculous-lr.141.mcz') load
How to save package:
| repository pkg | repository := (MCHttpRepository location: 'http://www.squeaksource.com/MyRepository' user: '' password: ''). pkg := MCPackage named: 'MyPackage'. pkg workingCopy repositoryGroup addRepository: repository. repository storeVersion: pkg workingCopy newVersion.
All packages except Seaside are clean. That means that the image has empty Undeclared collection. The maintainers of this packages should look at this versions and modify their packages to be more adapted for UI-less and Tools-less images.
http://www.comtalk.net/Squeak/98
-- Pavel