The Trunk: ReleaseBuilder-eem.177.mcz

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

The Trunk: ReleaseBuilder-eem.177.mcz

commits-2
Eliot Miranda uploaded a new version of ReleaseBuilder to project The Trunk:
http://source.squeak.org/trunk/ReleaseBuilder-eem.177.mcz

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

Name: ReleaseBuilder-eem.177
Author: eem
Time: 17 January 2018, 12:54:06.110059 am
UUID: caa0c32d-b727-489c-93c6-2daea3765fc1
Ancestors: ReleaseBuilder-eem.176

In fact the cacheing should be done in prepareSourceCode, not in saveAsNewRelease,  since saveAsNewTrunk should benefit from the cacheing also.

=============== Diff against ReleaseBuilder-eem.176 ===============

Item was changed:
  ----- Method: ReleaseBuilder class>>prepareSourceCode (in category 'preparing') -----
  prepareSourceCode
  "Update packages. Remove foreign packages. Recompile."
 
+ CurrentReadOnlySourceFiles cacheDuring:
+ [self
+ updateCorePackages;
+ unloadForeignPackages;
+ checkForDirtyPackages;
+ loadWellKnownPackages;
+ checkForUndeclaredSymbols;
+ recompileAll]!
- self
- updateCorePackages;
- unloadForeignPackages;
- checkForDirtyPackages;
- loadWellKnownPackages;
- checkForUndeclaredSymbols;
- recompileAll!

Item was changed:
  ----- Method: ReleaseBuilder class>>saveAsNewRelease (in category 'saving') -----
  saveAsNewRelease
  "Use this to create a new release image to be used in the automated release artifact building process on http://www.github.com/squeak-smalltalk/squeak-app."
 
  | fileName |
  self setNewSystemVersion: self versionString.
  self assert: self versionString = SystemVersion current version.
 
  fileName := ('squeak-{1}.{2}{3}' format: {
  SystemVersion current majorVersionNumber.
  SystemVersion current minorVersionNumber.
  self releaseLocally ifTrue: ['-offline'] ifFalse: ['']}).
  Smalltalk saveAs: fileName.
 
  "Update the image state."
- CurrentReadOnlySourceFiles cacheDuring:
- [self prepareSourceCode].
  self
+ prepareSourceCode;
  prepareEnvironment;
  switchToNewRepository: self releaseRepository;
  addAdditionalRepositories.
 
  Smalltalk condenseChanges.
  Smalltalk snapshot: true "Important!!" andQuit: true.!