[Pkg] The Trunk: Monticello-ar.395.mcz

commits at source.squeak.org commits at source.squeak.org
Thu Jun 17 02:59:45 UTC 2010


Andreas Raab uploaded a new version of Monticello to project The Trunk:
http://source.squeak.org/trunk/Monticello-ar.395.mcz

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

Name: Monticello-ar.395
Author: ar
Time: 16 June 2010, 7:59:25.171 pm
UUID: 4fff4f18-f2ee-a748-9ff4-f23e3046d20d
Ancestors: Monticello-nice.394

Provide a way to flush PackageInfos not associated with MC packages.

=============== Diff against Monticello-nice.394 ===============

Item was added:
+ ----- Method: MCPackageManager class>>flushObsoletePackageInfos (in category 'cleanup') -----
+ flushObsoletePackageInfos
+ 	"Flush any and all PackageInfos that are not associated with an MCPackageManager."
+ 
+ 	| pkgNames |
+ 	pkgNames := self allManagers collect:[:wcs| wcs packageName] as: Set.
+ 	PackageOrganizer default flushObsoletePackages:[:p|
+ 		p class isObsolete or:[(pkgNames includes: p packageName) not].
+ 	].!



More information about the Packages mailing list