The Trunk: Tools-mt.1372.mcz

[email protected] Sun, 2 Aug 2026 11:11:35 0000
Newsgroups gmane.comp.lang.smalltalk.squeak.general
Message-ID <[email protected]>
Marcel Taeumel uploaded a new version of Tools to project The Trunk:
http://source.squeak.org/trunk/Tools-mt.1372.mcz

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

Name: Tools-mt.1372
Author: mt
Time: 2 August 2026, 1:11:34.52234 pm
UUID: 2297fcca-f948-f842-91b9-9104fcd02e0e
Ancestors: Tools-mt.1371

Fix recent regression in package dependency. The #Tools package should not depend on the #ReleaseBuilder package. Add commentary to explain the existing quirk to refactor later. Such release stuff should not be spread across the image but reside at a single (or few) place(s).

=============== Diff against Tools-mt.1371 ===============

Item was changed:
  ----- Method: ChangesOrganizer class>>belongsInProjectsInRelease: (in category 'class initialization') -----
  belongsInProjectsInRelease:  aChangeSet
  	"Answer whether a change set belongs in the ProjectsInRelease category.  You can hand-tweak this to suit your working style."
  
+ 	self flag: #refactor. "mt: This kind of query belongs to the ReleaseBuilder class."
+ 	^ ({self rootProjectName . self homeProjectName} includes: aChangeSet name)
- 	^ ({ReleaseBuilder rootProjectName . ReleaseBuilder homeProjectName} includes: aChangeSet name)
  		or: [self changeSetNamesInReleaseImage includes: aChangeSet name]!

Item was added:
+ ----- Method: ChangesOrganizer class>>homeProjectName (in category 'utilities') -----
+ homeProjectName
+ 
+ 	^ (Smalltalk classNamed: #ReleaseBuilder)
+ 		ifNotNil: [:c | c homeProjectName]
+ 		ifNil: ['']!

Item was added:
+ ----- Method: ChangesOrganizer class>>rootProjectName (in category 'utilities') -----
+ rootProjectName
+ 
+ 	^ (Smalltalk classNamed: #ReleaseBuilder)
+ 		ifNotNil: [:c | c rootProjectName]
+ 		ifNil: ['']!

Squeak-dev mailing list -- [email protected]
To unsubscribe send an email to [email protected]