The Trunk: MonticelloConfigurations-mt.164.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.164.mcz

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

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

Name: MonticelloConfigurations-mt.164
Author: mt
Time: 7 November 2020, 2:04:21.611048 pm
UUID: 9b08ff25-120e-c744-ae89-e394b21221fc
Ancestors: MonticelloConfigurations-mt.163

Avoid clearing the image's update URL when resetting all pragma preferences -- which happens during release bundling.

Note that setting the update URL cannot be part of setting the default preferences in the ReleaseBuilder because (update) repository switching is implemented at a different stage. So just ignoring this request works fine. ... we may want to move this preference to ReleaseBuilder anyway ... maybe #updateMapName, too.

=============== Diff against MonticelloConfigurations-mt.163 ===============

Item was changed:
  ----- Method: MCMcmUpdater class>>defaultUpdateURL (in category 'preferences') -----
  defaultUpdateURL
  "The default update repository URL"
 
  <preference: 'Update URL'
  category: 'updates'
  description: 'The repository URL for loading updates'
  type: #String>
 
+ ^ DefaultUpdateURL ifNil: [
+ self notify: 'There is no update URL configured. Proceed to use Squeak''s Trunk repository.' translated.
+ 'http://source.squeak.org/trunk']!
- ^DefaultUpdateURL ifNil:['']!

Item was changed:
  ----- Method: MCMcmUpdater class>>defaultUpdateURL: (in category 'preferences') -----
+ defaultUpdateURL: aStringOrNil
+ "The default update repository URL. Avoid clearing this preference via 'nil'. See ReleaseBuilder class >> #switchToNewRepository:."
- defaultUpdateURL: aString
- "The default update repository URL"
 
+ aStringOrNil ifNotNil: [DefaultUpdateURL := aStringOrNil].!
- DefaultUpdateURL := aString!