The Trunk: PackageInfo-Base-mt.72.mcz

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

The Trunk: PackageInfo-Base-mt.72.mcz

commits-2
Marcel Taeumel uploaded a new version of PackageInfo-Base to project The Trunk:
http://source.squeak.org/trunk/PackageInfo-Base-mt.72.mcz

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

Name: PackageInfo-Base-mt.72
Author: mt
Time: 5 March 2020, 2:05:01.491006 pm
UUID: b78448c0-382b-e740-b6de-cea711e4f501
Ancestors: PackageInfo-Base-mt.71

Flush empty packages during release building. Or any other aggressive clean-up situation. :-)

=============== Diff against PackageInfo-Base-mt.71 ===============

Item was added:
+ ----- Method: PackageOrganizer class>>cleanUp: (in category 'initialize-release') -----
+ cleanUp: aggressive
+
+ aggressive ifTrue: [self default flushEmptyPackages].!

Item was changed:
+ ----- Method: PackageOrganizer class>>default (in category 'accessing') -----
- ----- Method: PackageOrganizer class>>default (in category 'as yet unclassified') -----
  default
  ^ default ifNil: [default := self new]!

Item was removed:
- ----- Method: PackageOrganizer class>>new (in category 'as yet unclassified') -----
- new
- ^ self basicNew initialize!

Item was added:
+ ----- Method: PackageOrganizer>>flushEmptyPackages (in category 'registering') -----
+ flushEmptyPackages
+
+ self flushObsoletePackages: [:package |
+ package classes isEmpty and: [package methods isEmpty]].!