The Trunk: MonticelloConfigurations-mt.143.mcz

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

The Trunk: MonticelloConfigurations-mt.143.mcz

commits-2
Marcel Taeumel uploaded a new version of MonticelloConfigurations to project The Trunk:
http://source.squeak.org/trunk/MonticelloConfigurations-mt.143.mcz

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

Name: MonticelloConfigurations-mt.143
Author: mt
Time: 29 July 2016, 5:03:17.048103 pm
UUID: 0c21d221-5b25-084d-9a20-df5f67ba0b9e
Ancestors: MonticelloConfigurations-dtl.142

A more descriptive information dialog after the update finished.

=============== Diff against MonticelloConfigurations-dtl.142 ===============

Item was changed:
  ----- Method: MCMcmUpdater>>doUpdate: (in category 'updating') -----
  doUpdate: interactive
  "Update the image by loading all pending updates from the server. If this is
  the default updater for the system, update the system version when complete.
  If interteractive use a modal notifier, otherwise only update the transcript.
  Flush all caches. If a previous download failed this is often helpful"
 
  | config |
  MCFileBasedRepository flushAllCaches.
  config := self updateFromRepositories: { self repository }.
  config ifNil: [
  interactive ifTrue: [ ^self inform: 'Unable to retrieve updates from remote repository.' translated ].
  Transcript cr; show: '==========  Unable to retrieve updates from remote repository. ==========' translated; cr.
  ^ self ].
  MCMcmUpdater default == self
  ifTrue: [ config setSystemVersion.
+ interactive ifTrue: [
+ self inform: ('Update completed.\\Version: {1}\Update: {2}\\Url: {3}\Map: ''{4}''\\{5}' translated withCRs format: {
+ SystemVersion current version.
+ SystemVersion current highestUpdate.
+ self repository.
+ MCMcmUpdater updateMapName.
+ SystemVersion current description})].
- interactive ifTrue: [ self inform: ('Update completed.
- Current update number: ' translated, SystemVersion current highestUpdate) ].
  Transcript cr;
  show: '==========  Update completed. Current update number ' translated;
  show: SystemVersion current highestUpdate;
  show: ' =========='; cr ]
  ifFalse: [
  interactive
  ifTrue: [ self inform: 'Update completed.' ].
  Transcript cr; show: '==========  Update completed. ==========' translated; cr ]
  !