[Pkg] The Trunk: SMBase-cmm.139.mcz

commits at source.squeak.org commits at source.squeak.org
Wed Apr 25 01:21:54 UTC 2018


Chris Muller uploaded a new version of SMBase to project The Trunk:
http://source.squeak.org/trunk/SMBase-cmm.139.mcz

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

Name: SMBase-cmm.139
Author: cmm
Time: 24 April 2018, 8:21:39.517531 pm
UUID: 97c9e4d9-8217-4baa-9d76-a3409c4a93e0
Ancestors: SMBase-nice.138

When creating new package Releases, use the script of the selected ancestor as the template, because usually it's just some package #'s that need updating.
	The new informative template script is used when creating the first Release, or by selecting the Package itself, instead of one of its Releases.

=============== Diff against SMBase-nice.138 ===============

Item was changed:
  ----- Method: SMPackageRelease>>initializeFromRelease:package: (in category 'initialize-release') -----
+ initializeFromRelease: parentRelease package: aPackage 
+ 	"Initialize package release from a given parent.  Branch if needed."
+ 	self
+ 		map: aPackage map
+ 		id: UUID new.
- initializeFromRelease: parentRelease package: aPackage
- 	"Initialize package release from a given parent.
- 	Branch if needed."
- 
- 	self map: aPackage map id: UUID new.
  	package := aPackage.
  	aPackage isCommunitySupported ifTrue: [ self beCommunitySupported ].
+ 	automaticVersion := parentRelease
+ 		ifNil: [ VersionNumber first ]
+ 		ifNotNil: [ parentRelease nextOrBranch ].
+ 	self downloadUrl: parentRelease downloadUrl.
+ 	version := note := String empty!
- 	automaticVersion :=
- 		parentRelease
- 			ifNil: [VersionNumber first]
- 			ifNotNil: [parentRelease nextOrBranch].
- 	version := note := downloadUrl := ''!



More information about the Packages mailing list