From commits@source.squeak.org Sat Apr 20 06:55:24 2024 From: commits@source.squeak.org To: vm-dev@lists.squeakfoundation.org Subject: [Vm-dev] VM Maker: VMMakerUI-eem.61.mcz Date: Sat, 20 Apr 2024 06:55:11 +0000 Message-ID: <20240420065521.A901B5826C0@mail.squeak.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============7240583473925865221==" --===============7240583473925865221== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Eliot Miranda uploaded a new version of VMMakerUI to project VM Maker: http://source.squeak.org/VMMaker/VMMakerUI-eem.61.mcz =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Summary =3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Name: VMMakerUI-eem.61 Author: eem Time: 19 April 2024, 11:55:06.801761 pm UUID: 31d0c60c-2b67-4a80-8532-a7c8975e0645 Ancestors: VMMakerUI-eem.60 Use https for the VMMaker repo update =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Diff against VMMakerUI-eem.60 = =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Item was changed: ----- Method: TheWorldMainDockingBar>>updateVMMaker (in category '*VMMakerU= I-updater') ----- updateVMMaker =20 | branch updateMap updater history message | branch :=3D (PackageInfo named: #VMMaker) workingCopy ancestry ancestorStr= ingWithout: ''. updateMap :=3D branch first: (branch indexOf: $- ifAbsent: [branch size + = 1]) - 1. updateMap :=3D 'update', (updateMap allButFirst: #VMMaker size). updater :=3D MCMcmUpdater updateMapNamed: updateMap + repository: 'https://source.squeak.org/VMMaker'. - repository: 'http://source.squeak.org/VMMaker'. updater lastUpdateMap ifEmpty: [ "If this is the first time that you use the updater, start at 5.mcm to av= oid loading old code." updater lastUpdateMap at: updater repository put: 5]. =20 history :=3D updater dependentPackages collect: [:package | package name -> (package workingCopy ancestors "N.B. the first version in a package's history will have empty ancestors= ." ifEmpty: [nil] ifNotEmpty: [:ancestors| ancestors first])] as: OrderedDictionary. =20 updater doUpdate: false. =09 "Set update history to the packages that actually changed." updater dependentPackages do: [:package | | oldVersionInfo newVersionInfo | oldVersionInfo :=3D history at: package name ifAbsent: []. newVersionInfo :=3D package workingCopy ancestors first. (oldVersionInfo ifNil: [0] ifNotNil: [oldVersionInfo versionNumber]) < ne= wVersionInfo versionNumber ifTrue: [history at: package name put: {oldVersionInfo. newVersionInfo}] ifFalse: [history removeKey: package name]]. =09 "Prepare message, including the update history and OSVM ci badges." message :=3D String streamContents: [:s | s nextPutAll: 'VMMaker update succesful.

'. history ifEmpty: [s nextPutAll: 'All packages were already up-to-date.'] ifNotEmpty: [s nextPutAll: 'Updated packages:']. history keysAndValuesDo: [:packageName :updateInfo | s nextPutAll: '
- '. s nextPutAll: packageName; space. updateInfo isArray ifFalse: [s nextPutAll: '*removed*' translated] ifTrue: [ updateInfo first ifNil: [s nextPutAll: '*added*' translated] ifNotNil: [s print: updateInfo first versionNumber]. s nextPutAll: ' -> '. s print: updateInfo second versionNumber. s nextPutAll: '']]. s nextPutAll: ('

Url: {1}' format: {updater re= pository}). s nextPutAll: '
Map: '; print: updater updateMapName. =20 s nextPutAll: '
'. #('macOS (x86)' macos 'macOS (ARM)' 'macos-arm' 'Windows' win 'Linux (x86)' linux 'Linux (ARM)' 'linux-arm') groupsDo: [:label :workflow | s nextPutAll: ('
{4} {1}' format: { label. self osvm_GitHubActions_statusPageUrl: workflow. self osvm_GitHubActions_statusBadgeUrl: workflow. self osvm_GitHubActions_statusTimestamp: workflow})]. =09 s nextPutAll: ('

Note that updated platform sources might be avail= able, too: {1}' format: {'https://github.com/OpenSmalltal= k/opensmalltalk-vm'}). =09 ]. self inform: message asTextFromHtml.! --===============7240583473925865221==--