The Trunk: MonticelloConfigurations-ar.75.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-ar.75.mcz

commits-2
Andreas Raab uploaded a new version of MonticelloConfigurations to project The Trunk:
http://source.squeak.org/trunk/MonticelloConfigurations-ar.75.mcz

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

Name: MonticelloConfigurations-ar.75
Author: ar
Time: 9 April 2010, 8:43:20.141 pm
UUID: 31c70736-0388-9448-a7fd-c27a4796f6d9
Ancestors: MonticelloConfigurations-mpe.74

Release preps: Make the default update URL a preference so that we can change it easily.

=============== Diff against MonticelloConfigurations-mpe.74 ===============

Item was added:
+ ----- Method: MCMcmUpdater class>>defaultUpdateURL: (in category 'updating') -----
+ defaultUpdateURL: aString
+ "The default update repository URL"
+
+ DefaultUpdateURL := aString!

Item was changed:
  Object subclass: #MCMcmUpdater
  instanceVariableNames: ''
+ classVariableNames: 'DefaultUpdateURL LastUpdateMap'
- classVariableNames: 'LastUpdateMap'
  poolDictionaries: ''
  category: 'MonticelloConfigurations'!

Item was added:
+ ----- Method: MCMcmUpdater class>>updateFromDefaultRepository (in category 'updating') -----
+ updateFromDefaultRepository
+ "Update from the default repository only"
+ ^self updateFromRepositories: {self defaultUpdateURL}!

Item was changed:
  ----- Method: MCMcmUpdater class>>initialize (in category 'class initialization') -----
  initialize
  "MCMcmUpdater initialize"
+ LastUpdateMap ifNil:[
+ LastUpdateMap := Dictionary new.
+ ].
+ DefaultUpdateURL ifNil:[
+ DefaultUpdateURL := 'http://source.squeak.org/trunk'.
+ ].!
- LastUpdateMap := Dictionary new.
- !

Item was added:
+ ----- Method: MCMcmUpdater class>>defaultUpdateURL (in category 'updating') -----
+ defaultUpdateURL
+ "The default update repository URL"
+
+ <preference: 'Update URL'
+ category: 'Monticello'
+ description: 'The repository URL for loading updates'
+ type: #String>
+
+ ^DefaultUpdateURL ifNil:['']!