[squeak-dev] The Trunk: System-mt.1153.mcz

commits at source.squeak.org commits at source.squeak.org
Fri Apr 17 15:16:50 UTC 2020


Marcel Taeumel uploaded a new version of System to project The Trunk:
http://source.squeak.org/trunk/System-mt.1153.mcz

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

Name: System-mt.1153
Author: mt
Time: 17 April 2020, 5:16:44.35686 pm
UUID: ed1deacd-13b8-9144-850a-a91589b99e87
Ancestors: System-eem.1152

Adds a query for information about the CI status to the system version. Why? Because the system version shapes that query.

=============== Diff against System-eem.1152 ===============

Item was added:
+ ----- Method: SystemVersion>>ciStatusBadgeUrl (in category 'continuous integration') -----
+ ciStatusBadgeUrl
+ 
+ 	| branch |
+ 	branch := 'squeak-{1}{2}{3}' format: {
+ 		self isRelease ifTrue: [self majorVersionNumber] ifFalse: [''].
+ 		self isRelease ifTrue: ['.'] ifFalse: ['trunk'].
+ 		self isRelease ifTrue: [self minorVersionNumber] ifFalse: [''] }.
+ 	
+ 	^ 'https://secure.travis-ci.org/squeak-smalltalk/squeak-app.png?branch=', branch!

Item was added:
+ ----- Method: SystemVersion>>ciStatusPageUrl (in category 'continuous integration') -----
+ ciStatusPageUrl
+ 	"In a release image, let the user see the overview of branches to choose from. I am not aware of a permanent link for a specific branch. In a trunk image, just let Travis report the state of the main branch, which is usually for trunk builds."
+ 
+ 	^ 'http://travis-ci.org/squeak-smalltalk/squeak-app{1}' format: {
+ 		self isRelease ifFalse: [''] ifTrue: ['/branches'] }!



More information about the Squeak-dev mailing list