[squeak-dev] The Inbox: Installer-Core-tcj.426.mcz

Tobias Pape Das.Linux at gmx.de
Mon Apr 1 20:42:01 UTC 2019


> 
> On 01.04.2019, at 20:12, commits at source.squeak.org wrote:
> 
> A new version of Installer-Core was added to project The Inbox:
> http://source.squeak.org/inbox/Installer-Core-tcj.426.mcz
> 
> ==================== Summary ====================
> 
> Name: Installer-Core-tcj.426
> Author: tcj
> Time: 1 April 2019, 2:12:29.625292 pm
> UUID: 210468c4-4297-48c9-9d7c-02fe4a04a91f
> Ancestors: Installer-Core-dtl.425
> 
> Include the package for Metacello help (written in Squeak HelpBrowser format) when loading Metacello via Installer's convenience method.

good idea.

> 
> (Developed in collaboration with Dale Henrichs)
> 
> =============== Diff against Installer-Core-dtl.425 ===============
> 
> Item was changed:
>  ----- Method: Installer class>>ensureRecentMetacello (in category 'scripts') -----
>  ensureRecentMetacello
>  	"Copied and adapted from https://github.com/Metacello/metacello/blob/master/README.md"
>  	
>  	| metacello |
>  	((Smalltalk classNamed: #WebClient)
>  		ifNil: [ false ]
>  		ifNotNil: [ :webClient | 
>  			[ (webClient httpHead: 'https://github.com') isSuccess ] 
>  				on: Error
>  				do: [ false ] ])
>  		ifFalse: [ ^self inform: 'Could not connect to "https://github.com".\\You need an internet connection and SSL support\to install (or update) Metacello.\\Please fix those issues and try again.' translated withCRs ].
>  	
>  	metacello := (Smalltalk classNamed: #Metacello) ifNil: [
>  		"Get the Metacello configuration (for Squeak users)"
>  		Installer gemsource
>  			project: 'metacello';
>  			addPackage: 'ConfigurationOfMetacello';
>  			install.
> 
>  		"Bootstrap Metacello Preview, using mcz files (#'previewBootstrap' symbolic version"
>  		((Smalltalk classNamed: #ConfigurationOfMetacello) project 
>  			version: #'previewBootstrap') load.
> 
>  		Smalltalk classNamed: #Metacello ].
> 
>  	"Now load latest version of Metacello"
>  	metacello new
>  		baseline: 'Metacello';
>  		repository: 'github://Metacello/metacello:master/repository';
>  		get.
>  	metacello new
>  		baseline: 'Metacello';
>  		repository: 'github://Metacello/metacello:master/repository';
> + 		load: #('default' 'Metacello-Help').
> + !
> - 		load.!
> 
> 




More information about the Squeak-dev mailing list