The Trunk: System-fbs.623.mcz

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

The Trunk: System-fbs.623.mcz

commits-2
Frank Shearar uploaded a new version of System to project The Trunk:
http://source.squeak.org/trunk/System-fbs.623.mcz

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

Name: System-fbs.623
Author: fbs
Time: 25 November 2013, 10:15:42.237 am
UUID: a87fed6a-9009-7b41-8a4b-e02db08e9227
Ancestors: System-fbs.622

Use the new facilities from MCConfiguration.

=============== Diff against System-fbs.622 ===============

Item was added:
+ ----- Method: Utilities class>>updateFromServer (in category 'as yet unclassified') -----
+ updateFromServer
+ "Update the image by loading all pending updates from the server."
+ | config |
+ "Flush all caches. If a previous download failed this is often helpful"
+ MCFileBasedRepository flushAllCaches.
+ config := MCMcmUpdater updateFromDefaultRepository.
+ config ifNil: [^self inform: 'Unable to retrieve updates from remote repository.' translated].
+ config setSystemVersion.
+ self inform: ('Update completed.
+ Current update number: ' translated, SystemVersion current highestUpdate).!


Reply | Threaded
Open this post in threaded view
|

Re: The Trunk: System-fbs.623.mcz

Frank Shearar-3
On 25 November 2013 10:16,  <[hidden email]> wrote:

> Frank Shearar uploaded a new version of System to project The Trunk:
> http://source.squeak.org/trunk/System-fbs.623.mcz
>
> ==================== Summary ====================
>
> Name: System-fbs.623
> Author: fbs
> Time: 25 November 2013, 10:15:42.237 am
> UUID: a87fed6a-9009-7b41-8a4b-e02db08e9227
> Ancestors: System-fbs.622
>
> Use the new facilities from MCConfiguration.
>
> =============== Diff against System-fbs.622 ===============
>
> Item was added:
> + ----- Method: Utilities class>>updateFromServer (in category 'as yet unclassified') -----
> + updateFromServer
> +       "Update the image by loading all pending updates from the server."
> +       | config |
> +       "Flush all caches. If a previous download failed this is often helpful"
> +       MCFileBasedRepository flushAllCaches.
> +       config := MCMcmUpdater updateFromDefaultRepository.
> +       config ifNil: [^self inform: 'Unable to retrieve updates from remote repository.' translated].
> +       config setSystemVersion.
> +       self inform: ('Update completed.
> + Current update number: ' translated, SystemVersion current highestUpdate).!

Oh good grief, I've managed to break the update stream again. Updating
the update logic itself is tricky. Now I'll have to revert this
change. Sorry for the noise!

frank