Eliot Miranda uploaded a new version of ReleaseBuilder to project The Trunk:
http://source.squeak.org/trunk/ReleaseBuilder-eem.174.mcz==================== Summary ====================
Name: ReleaseBuilder-eem.174
Author: eem
Time: 16 January 2018, 9:16:29.320218 am
UUID: 26104531-83e9-4854-8342-726a17fcbe42
Ancestors: ReleaseBuilder-eem.173
Refactor prepareSourceCode to extract the Monticello management to its own method.
=============== Diff against ReleaseBuilder-eem.173 ===============
Item was changed:
+ ----- Method: ReleaseBuilder class>>confirm:orCancel:title: (in category 'scripts - support') -----
- ----- Method: ReleaseBuilder class>>confirm:orCancel:title: (in category 'preparing') -----
confirm: aString orCancel: cancelBlock title: titleString
"Allow questions to be answered in advance."
^QAndA
at: titleString
ifAbsent:
[Project uiManager
confirm: aString translated
orCancel: cancelBlock
title: titleString translated]!
Item was changed:
----- Method: ReleaseBuilder class>>prepareSourceCode (in category 'preparing') -----
prepareSourceCode
+ "Update packages. Remove foreign packages. Recompile."
- "Update code. Remove foreign packages."
- MCMcmUpdater defaultUpdateURL: self buildRepository description.
-
- MCMcmUpdater updateMissingPackages: true.
- MCMcmUpdater enableUpdatesForAllPackages.
-
- TestCase new ensureInternetConnectionTo: self buildRepository description.
-
- "Flush all caches. If a previous download failed this is often helpful"
- MCFileBasedRepository flushAllCaches.
-
- "Save the current default updater, clear the registry, and re-register the current updater"
- MCMcmUpdater clearRegistry.
-
- [MCMcmUpdater default doUpdate: false. "non-interactive"]
- on: MCEmptyVersion do: [:warning | warning resume].
-
self
+ updateCorePackages;
unloadForeignPackages;
checkForDirtyPackages;
loadWellKnownPackages;
checkForUndeclaredSymbols;
recompileAll!
Item was added:
+ ----- Method: ReleaseBuilder class>>updateCorePackages (in category 'scripts - support') -----
+ updateCorePackages
+ "Update code."
+
+ MCMcmUpdater
+ defaultUpdateURL: self buildRepository description;
+ updateMissingPackages: true;
+ enableUpdatesForAllPackages.
+
+ TestCase new ensureInternetConnectionTo: self buildRepository description.
+
+ "Flush all caches. If a previous download failed this is often helpful"
+ MCFileBasedRepository flushAllCaches.
+
+ "Save the current default updater, clear the registry, and re-register the current updater"
+ MCMcmUpdater clearRegistry.
+
+ [MCMcmUpdater default doUpdate: false "non-interactive"]
+ on: MCEmptyVersion
+ do: [:warning | warning resume]!