<body><div id="__MailbirdStyleContent" style="font-size: 10pt;font-family: Arial;color: #000000">
                                        +1<div class="mb_sig"></div><blockquote class="history_container" type="cite" style="border-left-style:solid;border-width:1px; margin-top:20px; margin-left:0px;padding-left:10px;">
                        <p style="color: #AAAAAA; margin-top: 10px;">Am 16.02.2020 01:21:17 schrieb commits@source.squeak.org <commits@source.squeak.org>:</p><div style="font-family:Arial,Helvetica,sans-serif">David T. Lewis uploaded a new version of MonticelloConfigurations to project The Inbox:<br>http://source.squeak.org/inbox/MonticelloConfigurations-dtl.158.mcz<br><br>==================== Summary ====================<br><br>Name: MonticelloConfigurations-dtl.158<br>Author: dtl<br>Time: 15 February 2020, 7:21:06.721682 pm<br>UUID: df6a3d9c-f241-451b-a4f7-5b441e0bf29b<br>Ancestors: MonticelloConfigurations-dtl.157<br><br>Allow an MCMcmUpdater to bypass UI updates when not interactive. Force transcript to open, and present concluding OK dialog, only if interactive.<br><br>=============== Diff against MonticelloConfigurations-dtl.157 ===============<br><br>Item was changed:<br>  ----- Method: MCMcmUpdater class>>updateFromRepository:baseName: (in category 'updating') -----<br>  updateFromRepository: updaterUrlKey baseName: baseName<br>      "Update using an MCMcmUpdater identified by updaterUrlKey, and using<br>     update map baseName"<br>  <br>         "MCMcmUpdater<br>            updateFromRepository: 'http://squeaksource.com/MCUpdateTest'<br>                  baseName: 'update' "<br>  <br>+        ^ self updateFromRepository: updaterUrlKey baseName: baseName interactive: true!<br>-     ^ (self updateMapNamed: baseName repository: updaterUrlKey)<br>-          doUpdate!<br><br>Item was added:<br>+ ----- Method: MCMcmUpdater class>>updateFromRepository:baseName:interactive: (in category 'updating') -----<br>+ updateFromRepository: updaterUrlKey baseName: baseName interactive: interactive<br>+         "Update using an MCMcmUpdater identified by updaterUrlKey, and using<br>+    update map baseName"<br>+ <br>+        "MCMcmUpdater<br>+           updateFromRepository: 'http://squeaksource.com/MCUpdateTest'<br>+                 baseName: 'update'<br>+           interactive: false "<br>+ <br>+        ^ (self updateMapNamed: baseName repository: updaterUrlKey)<br>+          doUpdate: interactive!<br><br>Item was changed:<br>  ----- Method: MCMcmUpdater class>>updateFromServer (in category 'updating') -----<br>  updateFromServer<br>    "Update the image by loading all pending updates from the server."<br>  <br>+     ^self default doUpdate: true<br>-         ^self default doUpdate<br>  !<br><br>Item was removed:<br>- ----- Method: MCMcmUpdater>>doUpdate (in category 'updating') -----<br>- doUpdate<br>-    "Update the image by loading all pending updates from the server. If this is<br>-    the default updater for the system, update the system version when complete.<br>-         Flush all caches. If a previous download failed this is often helpful"<br>- <br>-      ^self doUpdate: true<br>- !<br><br>Item was changed:<br>  ----- Method: MCMcmUpdater>>doUpdate: (in category 'updating') -----<br>  doUpdate: interactive<br>         "Update the image by loading all pending updates from the server. If this is<br>     the default updater for the system, update the system version when complete.<br>          If interteractive use a modal notifier, otherwise only update the transcript.<br>         Flush all caches. If a previous download failed this is often helpful"<br>  <br>+      | config previousUpdateLevel ensureTranscriptSetting |<br>-       | config previousUpdateLevel |<br>        previousUpdateLevel := SystemVersion current highestUpdate.<br>+  MCFileBasedRepository flushAllCaches.   <br>+     ensureTranscriptSetting := MCConfiguration ensureOpenTranscript.<br>+     [ MCConfiguration ensureOpenTranscript: interactive.<br>-         MCFileBasedRepository flushAllCaches.<br>         config := self updateFromRepository.<br>          config ifNil: [<br>               interactive ifTrue: [ ^self inform: 'Unable to retrieve updates from remote repository.' translated ].<br>                Transcript cr; show: '==========  Unable to retrieve updates from remote repository. ==========' translated; cr.<br>              ^ self ].<br>     MCMcmUpdater default == self<br>                  ifTrue: [<br>                     config setSystemVersion.<br>                      interactive ifTrue: [ <br>                                self inform: ('Update completed.\\Version: {1}\Update: {3}{2}\\Url: {4}\Map: ''{5}''{6}' translated withCRs format: {<br>                                                 SystemVersion current version.<br>                                                SystemVersion current highestUpdate.<br>                                                  previousUpdateLevel = SystemVersion current highestUpdate<br>                                                     ifTrue: ['']<br>                                                          ifFalse: [previousUpdateLevel asString, ' -> '].<br>                                           self repository.<br>                                              MCMcmUpdater updateMapName.<br>                                           SystemVersion current description ifEmpty: [''] ifNotEmpty: [:d | String cr, String cr, d]})].<br>                        Transcript cr;<br>                                show: '==========  Update completed:  ' translated;<br>                           show: previousUpdateLevel;<br>                            show: ' -> ' ;<br>                             show: SystemVersion current highestUpdate;<br>                            show: ' =========='; cr ]<br>             ifFalse: [<br>                    interactive<br>                           ifTrue: [ self inform: 'Update completed.' ].<br>+                        Transcript cr; show: '==========  Update completed. ==========' translated; cr ] ]<br>+           ensure: [ MCConfiguration ensureOpenTranscript: ensureTranscriptSetting].<br>+ <br>-                        Transcript cr; show: '==========  Update completed. ==========' translated; cr ]<br>      !<br><br><br></div></blockquote>
                                        </div></body>