The Trunk: Monticello-ar.395.mcz

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

The Trunk: Monticello-ar.395.mcz

commits-2
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].
+ ].!