The Trunk: ReleaseBuilder-eem.175.mcz

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

The Trunk: ReleaseBuilder-eem.175.mcz

commits-2
Eliot Miranda uploaded a new version of ReleaseBuilder to project The Trunk:
http://source.squeak.org/trunk/ReleaseBuilder-eem.175.mcz

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

Name: ReleaseBuilder-eem.175
Author: eem
Time: 16 January 2018, 9:27:21.1982 am
UUID: 76764a70-9b31-4ed9-b812-548875319786
Ancestors: ReleaseBuilder-eem.174

Fix installing the new ReleaseBuilder class>>initialize method so that setNewSystemVersion: works in subclasses (needed e.g. for ReleaseBuilderSqueakland).

=============== Diff against ReleaseBuilder-eem.174 ===============

Item was changed:
  ----- Method: ReleaseBuilder class>>setNewSystemVersion: (in category 'manual') -----
  setNewSystemVersion: version
 
+ | implementingClass initializeMethodSource |
- | initializeMethodSource |
  initializeMethodSource := self initializeTemplate format: {version}.
+ implementingClass := self class whichClassIncludesSelector: #initialize.
+ (implementingClass >> #initialize) getSource asString ~= initializeMethodSource ifTrue:
+ [implementingClass
- (self class >> #initialize) getSource asString ~= initializeMethodSource ifTrue:
- [self class
  compile: initializeMethodSource
  classified: 'class initialization'].
 
  self initialize.
  self assert: (SystemVersion current version beginsWith: self versionString).
 
  SystemVersion current isRelease ifFalse: [
  self inform: ('You just changed the system version to {1}.\Please upload the changed ''ReleaseBuilder'' package to\\   {2}\\so that this version change will be official.' translated withCRs format: {SystemVersion current version. self buildRepository description})]!