[squeak-dev] The Trunk: MonticelloConfigurations-dtl.76.mcz

commits at source.squeak.org commits at source.squeak.org
Tue May 11 02:41:54 UTC 2010


David T. Lewis uploaded a new version of MonticelloConfigurations to project The Trunk:
http://source.squeak.org/trunk/MonticelloConfigurations-dtl.76.mcz

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

Name: MonticelloConfigurations-dtl.76
Author: dtl
Time: 10 May 2010, 10:40:17.01 pm
UUID: c1903d5f-d5a8-41b6-9ccc-f42e4fa4689c
Ancestors: MonticelloConfigurations-ar.75

Allow MCConfigurationBrowser to remove a repository from a configuration.
Add class comments for classes in MonticelloConfigurations.

=============== Diff against MonticelloConfigurations-ar.75 ===============

Item was changed:
  Object subclass: #MCConfiguration
  	instanceVariableNames: 'name dependencies repositories log'
  	classVariableNames: 'DefaultLog ExtraProgressInfo LogToFile'
  	poolDictionaries: ''
  	category: 'MonticelloConfigurations'!
+ 
+ !MCConfiguration commentStamp: 'dtl 5/10/2010 21:35' prior: 0!
+ An MCConfiguration specifies the configuration of a set of related Monticello packages. It maintains an ordered list of package versions and a list of repositories in which the packages may be found. The package versions are treated as minimum version levels for each specified package.
+ 
+ An MCConfiguration may be filed out for storage as an array specification, and new instances can be created from a stored array specification.
+ !

Item was changed:
  Object subclass: #MCMcmUpdater
  	instanceVariableNames: ''
  	classVariableNames: 'DefaultUpdateURL LastUpdateMap'
  	poolDictionaries: ''
  	category: 'MonticelloConfigurations'!
+ 
+ !MCMcmUpdater commentStamp: 'dtl 5/10/2010 22:31' prior: 0!
+ MCMcmUpdater provides utility methods for updating Monticello packages from Monticello configurations. When Monticello configurations are stored in a repository, MCMcmUpdater acts as an update stream that loads each configuration map in sequence until all specified packages are fully updated.!

Item was changed:
  MCWriter subclass: #MCMcmWriter
  	instanceVariableNames: ''
  	classVariableNames: ''
  	poolDictionaries: ''
  	category: 'MonticelloConfigurations'!
+ 
+ !MCMcmWriter commentStamp: 'dtl 5/10/2010 22:20' prior: 0!
+ An MCMcmWriter stores an MCConfiguration on a stream in the form of an array specification.
+ !

Item was changed:
  MCVersionReader subclass: #MCMcmReader
  	instanceVariableNames: 'fileName configuration'
  	classVariableNames: ''
  	poolDictionaries: ''
  	category: 'MonticelloConfigurations'!
+ 
+ !MCMcmReader commentStamp: 'dtl 5/10/2010 22:22' prior: 0!
+ A MCMcmReader creates an MCConfiguration by reading an array specification from a stream.
+ 
+ !

Item was changed:
  ----- Method: MCConfigurationBrowser>>repositoryMenu: (in category 'morphic ui') -----
  repositoryMenu: aMenu
+ 	self fillMenu: aMenu fromSpecs: #(('add repository...' addRepository)).
+ 	self selectedRepository ifNotNil: [
+ 		self fillMenu: aMenu fromSpecs: #(('remove repository' removeRepository))].
+ 	^aMenu
+ !
- 	^self fillMenu: aMenu fromSpecs: #(
- 		('add repository...' addRepository)
- 	)!

Item was added:
+ ----- Method: MCConfigurationBrowser>>removeRepository (in category 'repositories') -----
+ removeRepository
+ 	repositoryIndex > 0
+ 		ifTrue: [self repositories removeAt: repositoryIndex.
+ 			repositoryIndex := 0.
+ 			self changed: #repositoryList]!

Item was changed:
  MCTool subclass: #MCConfigurationBrowser
  	instanceVariableNames: 'configuration dependencyIndex repositoryIndex'
  	classVariableNames: ''
  	poolDictionaries: ''
  	category: 'MonticelloConfigurations'!
+ 
+ !MCConfigurationBrowser commentStamp: 'dtl 5/10/2010 21:48' prior: 0!
+ A MCConfigurationBrowser displays an MCConfiguration, and edits the configuration to add or remove package dependencies and repository specifications. It allows a configuration to be stored in a repository or posted to an update stream.!

Item was changed:
  ----- Method: MCConfigurationBrowser>>dependencyMenu: (in category 'morphic ui') -----
  dependencyMenu: aMenu
  	self fillMenu: aMenu fromSpecs: #(('add dependency...' addDependency)).
  	self selectedDependency ifNotNil: [
+ 		self fillMenu: aMenu fromSpecs: #(('remove dependency' remove))].
- 		self fillMenu: aMenu fromSpecs: #(('remove dependency...' remove))].
  	^aMenu
  !




More information about the Squeak-dev mailing list