[squeak-dev] The Trunk: ReleaseBuilder-mt.236.mcz

commits at source.squeak.org commits at source.squeak.org
Wed Jun 22 11:21:04 UTC 2022


Marcel Taeumel uploaded a new version of ReleaseBuilder to project The Trunk:
http://source.squeak.org/trunk/ReleaseBuilder-mt.236.mcz

==================== Summary ====================

Name: ReleaseBuilder-mt.236
Author: mt
Time: 22 June 2022, 1:21:02.975723 pm
UUID: 5b84a6d7-ecc6-7b44-bb49-53a76acda876
Ancestors: ReleaseBuilder-ct.235

Clarify the role of #prepareSourceCode and #prepareEnvironment.

=============== Diff against ReleaseBuilder-ct.235 ===============

Item was changed:
  ----- Method: ReleaseBuilder class>>prepareEnvironment (in category 'preparing') -----
  prepareEnvironment
+ 	"Prepare everything that should be done for a new image build. Clear caches, passwords, etc. Note that this will be called automatically in the CI on github.com/squeak-smalltalk/squeak-app."
- 	"Prepare everything that should be done for a new image build. Clear caches, passwords, etc."
  	
  	| balloon |
  	
  	self
  		clearCaches;
  		configureProjects;
  		configureTools;
  		setPreferences;
  		clearPreferenceCaches;
  		configureDesktop.
  	
  	balloon := self getBalloonForm. "Get now because later the file might be missing."
  	DeferredTask := [
  		self openWelcomeWorkspacesWith: balloon.
  		PreferenceWizardMorph open].
  	
  	"If you save-and-quit the image after calling #prepareEnvironment, ensure that the next image startup will be fast."
  	Project current world doOneCycle.
  	Display platformScaleFactor: 1.0.!

Item was changed:
  ----- Method: ReleaseBuilder class>>prepareSourceCode (in category 'preparing') -----
  prepareSourceCode
+ 	"Update packages. Remove foreign packages. Recompile. Note that this will NOT be called in the CI on github.com/squeak-smalltalk/squeak-app. However, it should be called manually when preparing a new base image for the CI to then upload it to files.squeak.org/base. Also see #prepareEnvironment."
- 	"Update packages. Remove foreign packages. Recompile."
  
  	CurrentReadOnlySourceFiles cacheDuring:
  		[self
  			updateCorePackages;
+ 			updateDatabases;
  			unloadForeignPackages;
  			checkForDirtyPackages;
  			loadWellKnownPackages;
  			checkForUndeclaredSymbols;
  			checkForNilCategories;
+ 			recompileAll]!
- 			recompileAll;
- 			updateDatabases]!

Item was changed:
  ----- Method: ReleaseBuilder class>>updateDatabases (in category 'scripts - support') -----
  updateDatabases
+ 	"Fetch external data and store it in the image. An Internet connection will probably be necessary."
+ 	
- 
  	Unicode reinitializeData.!



More information about the Squeak-dev mailing list