Hi, this is an initial attempt to produce an image without development tools. Currently it leaves Workspace and Transcript in the image, has no obsolete classes and six Undeclared. The image size is still quite big, 16.1 MB. Tested on #30798. Do not forget to share your improvements ;-) Cheers, -- Pavel
Hi Torsten, we plan to do that in Pharo/SystemConfigurations(/Unreloader). That mail was something like a late night backup of very experimental stuff :-) Cheers, -- Pavel 2014-03-19 9:08 GMT+01:00 Torsten Bergmann <astares@gmx.de>:
Hi Pavel,
dont know if this is a good idea but why not: - put this into a ConfigurationOfNoTools with a spec postLoadDoIt: #postloadToShrinkWithLoader:package:. - put the script into a #postloadToShrinkWithLoader:package - store the project on STHub - create a CI job for loading the Config
This way one can: - browse the changes to the script in Monticello as it progresses - have the CI built the image automagically - the final image can be downloaded from CI or using Pharo launcher easily
If some simply unit tests will be applied (like checking for Undeclared, etc) one can control if the image will get/be/stay red or green.
Bye T.
*Gesendet:* Dienstag, 18. März 2014 um 23:00 Uhr *Von:* "Pavel Krivanek" <pavel.krivanek@gmail.com> *An:* "Discusses Development of Pharo" <pharo-dev@lists.pharo.org> *Betreff:* [Pharo-dev] Removing tools Hi,
this is an initial attempt to produce an image without development tools. Currently it leaves Workspace and Transcript in the image, has no obsolete classes and six Undeclared. The image size is still quite big, 16.1 MB. Tested on #30798. Do not forget to share your improvements ;-)
Cheers, -- Pavel
With thoses cleaning ImageCleaner cleanUpForProduction. (MCPackage named: 'HelpSystem-Core') unload. (MCPackage named: 'ProfStef-Core') unload. (MCPackage named: 'ReleaseTests') unload. (MCPackage named: 'SUnit-UITesting') unload. (MCPackage named: 'Versionner-Tests-Core-Commands') unload. (MCPackage named: 'Versionner-Tests-Core-DependenciesModel') unload. (MCPackage named: 'Versionner-Tests-Core-Model') unload. (MCPackage named: 'Versionner-Tests-Resources') unload. (MCPackage named: 'Polymorph-Tools-Diff') unload. (MCPackage named: 'Metacello') unload. (MCPackage named: 'Metacello-FileTree') unload. (MCPackage named: 'Metacello-GitHub') unload. (MCPackage named: 'Metacello-PharoCommonPlatform') unload. (MCPackage named: 'Metacello-Platform.pharo30') unload. (MCPackage named: 'Metacello-Reference') unload. FreeTypeFontProvider unload. ScriptLoader new cleanUpForProduction. StrikeFont cleanUp. The image is just bellow 17MB. Most dev. tools are there, as Nautilus. Hilaire Le 18/03/2014 23:00, Pavel Krivanek a écrit :
Hi,
this is an initial attempt to produce an image without development tools. Currently it leaves Workspace and Transcript in the image, has no obsolete classes and six Undeclared. The image size is still quite big, 16.1 MB. Tested on #30798. Do not forget to share your improvements ;-)
Cheers, -- Pavel
-- Dr. Geo http://drgeo.eu
participants (3)
-
Hilaire Fernandes -
Pavel Krivanek -
Torsten Bergmann