[squeak-dev] The Trunk: MonticelloConfigurations-bf.107.mcz

commits at source.squeak.org commits at source.squeak.org
Tue Oct 16 18:03:55 UTC 2012


Bert Freudenberg uploaded a new version of MonticelloConfigurations to project The Trunk:
http://source.squeak.org/trunk/MonticelloConfigurations-bf.107.mcz

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

Name: MonticelloConfigurations-bf.107
Author: bf
Time: 16 October 2012, 11:03:34.782 am
UUID: 487f85fa-e0a0-457c-a2ac-91061ab9d99b
Ancestors: MonticelloConfigurations-cmm.106

Improve wording for updating dependencies.

=============== Diff against MonticelloConfigurations-cmm.106 ===============

Item was changed:
  ----- Method: MCConfigurationBrowser>>dependencyMenu: (in category 'morphic ui') -----
  dependencyMenu: aMenu
+ 	self fillMenu: aMenu fromSpecs: #(('add new dependency...' addDependency)).
- 	self fillMenu: aMenu fromSpecs: #(('add dependency...' addDependency)).
  	self selectedDependency ifNotNil: [
+ 		self fillMenu: aMenu fromSpecs: #(
+ 			addLine
+ 			('remove this dependency' remove)
+ 			('update this dependency from image' updateSelectedDependencyFromImage)
+ 			('update this dependency from repositories' updateSelectedDependencyFromRepositories)
+ 		)].
- 		self fillMenu: aMenu fromSpecs: #(('remove dependency' remove)).
- 		self fillMenu: aMenu fromSpecs: #(('update dependency from image' updateSelectedDependencyFromImage)).
- 		self fillMenu: aMenu fromSpecs: #(('update dependency from repositories' updateSelectedDependencyFromRepositories))].
  	^aMenu!

Item was changed:
  ----- Method: MCConfigurationBrowser>>description (in category 'description') -----
  description
  	self selectedDependency ifNotNil:
  		[:dep |
  		^ ('Package: ', dep package name, String cr, dep versionInfo summary) asText].
  	self selectedRepository ifNotNil:
  		[:repo |
  		^repo creationTemplate
  			ifNotNil: [repo creationTemplate asText]
  			ifNil: [repo asCreationTemplate asText addAttribute: TextColor red]].
+ 	^'A configuration is a set of particular versions of packages.  These can be used to manage multiple dependencies amongst packages when an update requires changes to multiple packages.  One stores the current configuration and then modifies the various packages needing modification.\\To create a new configuration first load the most up-to-date configuration in your repository (e.g. http://source.squeak.org/trunk), open that repository in the Monticello browser, scroll down to the "update" package, select the first entry in the list on the right hand side and click Browse, which will open the configuration in a new MCConfigurationBrowser.  Then in the new MCConfigurationBrowser click Update, and choose "update all from image" from the pop-up menu.  Click Store to save back to the repository.' withCRs!
- 	^'A configuration is a set of particular versions of packages.  These can be used to manage multiple dependencies amongst packages when an update requires changes to multiple packages.  One stores the current configuration and then modifies the various packages needing modification.\\To create a new configuration first load the most up-to-date configuration in your repository (e.g. http://source.squeak.org/trunk), open that repository in the Monticello browser, scroll down to the "update" package, select the first entry in the list on the right hand side and click Browse, which will open the configuration in a new MCConfigurationBrowser.  Then in the new MCConfigurationBrowser click Update, and choose "update from image" from the pop-up menu.  Click Store to save back to the repository.' withCRs!

Item was removed:
- ----- Method: MCConfigurationBrowser>>loadMenu (in category 'actions') -----
- loadMenu
- 
- 	| menu |
- 	menu := MenuMorph new defaultTarget: self.
- 	menu add: 'update from image' action: #updateFromImage.
- 	menu add: 'update from repositories' action: #updateFromRepositories.
- 	menu popUpInWorld.
- !

Item was changed:
  ----- Method: MCConfigurationBrowser>>updateMenu (in category 'actions') -----
  updateMenu
  
  	| menu |
  	menu := MenuMorph new defaultTarget: self.
+ 	menu add: 'update all from image' action: #updateFromImage.
+ 	menu add: 'update all from repositories' action: #updateFromRepositories.
- 	menu add: 'update from image' action: #updateFromImage.
- 	menu add: 'update from repositories' action: #updateFromRepositories.
  	menu popUpInWorld.!



More information about the Squeak-dev mailing list