[squeak-dev] The Trunk: Monticello-fbs.532.mcz

commits at source.squeak.org commits at source.squeak.org
Sat Feb 2 15:10:05 UTC 2013


Frank Shearar uploaded a new version of Monticello to project The Trunk:
http://source.squeak.org/trunk/Monticello-fbs.532.mcz

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

Name: Monticello-fbs.532
Author: fbs
Time: 25 January 2013, 12:00:08.217 pm
UUID: 0c078b49-3e60-4c4f-89d1-b09d64ff98eb
Ancestors: Monticello-bf.531

Installer repository failover #1 of 2: Make MCRepositoryGroup behave more like a repository, finding the repository/repositories containing a particular version.

=============== Diff against Monticello-bf.531 ===============

Item was added:
+ ----- Method: MCRepositoryGroup>>morphicOpen: (in category 'as yet unclassified') -----
+ morphicOpen: aWorkingCopy 
+ 	^ self repositories do: [:repo | repo morphicOpen: aWorkingCopy].!

Item was added:
+ ----- Method: MCRepositoryGroup>>versionNamed: (in category 'versions') -----
+ versionNamed: aString
+ 	self repositories do: [:repo | | version |
+ 		version := [repo versionNamed: aString] on: Error do: [nil].
+ 		version ifNotNil: [:v | ^ v]].
+ 	self error: 'No repositories contain version ', aString.!

Item was added:
+ ----- Method: MCRepositoryGroup>>versionNamesForPackageNamed: (in category 'versions') -----
+ versionNamesForPackageNamed: aString
+ 	^ self repositories gather: [:repo |
+ 		[repo versionNamesForPackageNamed: aString] on: Error do: [#()]]!



More information about the Squeak-dev mailing list