[etoys-dev] Etoys: MonticelloConfigurations-bf.78.mcz
commits at source.squeak.org
commits at source.squeak.org
Wed Aug 18 10:44:24 EDT 2010
Bert Freudenberg uploaded a new version of MonticelloConfigurations to project Etoys:
http://source.squeak.org/etoys/MonticelloConfigurations-bf.78.mcz
==================== Summary ====================
Name: MonticelloConfigurations-bf.78
Author: bf
Time: 18 August 2010, 4:43:53 pm
UUID: 017d3eb0-d085-4d27-950f-2e8ac5b5b26f
Ancestors: MonticelloConfigurations-bf.76, MonticelloConfigurations-dtl.77
merge latest from trunk:
- updated class comments
- 'remove repository' menu entry
=============== Diff against MonticelloConfigurations-bf.76 ===============
Item was changed:
Object subclass: #MCConfiguration
instanceVariableNames: 'name dependencies repositories log'
classVariableNames: 'DefaultLog ExtraProgressInfo LogToFile'
poolDictionaries: ''
category: 'MonticelloConfigurations'!
+
+ !MCConfiguration commentStamp: 'dtl 5/10/2010 23:03' 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.
+
+ 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 23:22' 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. It first ensures that each configuration map has been loaded in sequence, then updates the last configuration map to the most recent version for each specified package, and finally loads these versions to produce a fully updated configuration. !
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 etoys-dev
mailing list