[squeak-dev] The Trunk: MonticelloConfigurations-mt.164.mcz

commits at source.squeak.org commits at source.squeak.org
Sat Nov 7 13:04:22 UTC 2020


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!



More information about the Squeak-dev mailing list