[squeak-dev] The Trunk: System-nice.638.mcz

Frank Shearar frank.shearar at gmail.com
Sun Dec 8 14:05:17 UTC 2013


On 6 December 2013 23:16,  <commits at source.squeak.org> wrote:
> Nicolas Cellier uploaded a new version of System to project The Trunk:
> http://source.squeak.org/trunk/System-nice.638.mcz
>
> ==================== Summary ====================
>
> Name: System-nice.638
> Author: nice
> Time: 7 December 2013, 12:15:40.007 am
> UUID: fda82750-d26d-4ec3-9863-333b0f49d3dc
> Ancestors: System-fbs.637
>
> Move updateStream stuff to UpdateStream package
>
> =============== Diff against System-fbs.637 ===============
>
> Item was removed:
> - ----- Method: AutoStart class>>checkForUpdates (in category 'updating') -----
> - checkForUpdates
> -       | availableUpdate updateServer |
> -       World ifNotNil:
> -               [ World install.
> -               ActiveHand position: 100 @ 100 ].
> -       HTTPClient isRunningInBrowser ifFalse: [ ^ self processUpdates ].
> -       availableUpdate := (Smalltalk namedArguments
> -               at: 'UPDATE'
> -               ifAbsent: [ '' ]) asInteger.
> -       availableUpdate ifNil: [ ^ false ].
> -       updateServer := Smalltalk namedArguments
> -               at: 'UPDATESERVER'
> -               ifAbsent:
> -                       [ Smalltalk namedArguments
> -                               at: 'UPDATE_SERVER'
> -                               ifAbsent: [ 'Squeakland' ] ].
> -       Utilities setUpdateServer: updateServer.
> -       ^ SystemVersion checkAndApplyUpdates: availableUpdate!

This change just broke CI because my semishrunk trunk image doesn't
have UpdateStream, so I get a DNU in Autostart class >> #startUp:.

One possible remedy is to protect this call with "Preferences
updateFromServerAtStartup ifTrue:[]". How's that sound?

frank


More information about the Squeak-dev mailing list