[squeak-dev] The Inbox: Monticello-cmm.452.mcz
commits at source.squeak.org
commits at source.squeak.org
Wed Apr 6 18:11:06 UTC 2011
A new version of Monticello was added to project The Inbox:
http://source.squeak.org/inbox/Monticello-cmm.452.mcz
==================== Summary ====================
Name: Monticello-cmm.452
Author: cmm
Time: 6 April 2011, 1:10:57.3 pm
UUID: 28ca5b5d-ecfb-470b-900c-768f73a30a77
Ancestors: Monticello-bf.451
- Let MCFileBasedRepository's deviate on #versionNamesForPackageNamed:, to not require a whole package-name, but only a package-name prefix.
This is inconsistent with other repository types as well as the API nomenclature, but should restore ability for Installer scripts to employ complicated prefixing version-selection.
=============== Diff against Monticello-bf.451 ===============
Item was changed:
----- Method: MCFileBasedRepository>>versionNamesForPackageNamed: (in category 'versions') -----
versionNamesForPackageNamed: packageName
+ ^ Array
+ streamContents: [:stream | self allFileNamesOrCache
+ do: [:each | (each beginsWith: packageName)
+ ifTrue: [stream nextPut: each]]]!
- ^ Array streamContents:
- [ : stream | self allFileNamesOrCache do:
- [ : each | | mcVersionName |
- mcVersionName := each asMCVersionName.
- mcVersionName packageName = packageName ifTrue: [ stream nextPut: mcVersionName ] ] ]!
More information about the Squeak-dev
mailing list
|