[squeak-dev] [Squeak5.3a][Test] RefactoringTools --> deprecation warning in Sunit-tests when version for 5.2 is used / maintainer?

Tobias Pape Das.Linux at gmx.de
Mon Sep 9 15:21:11 UTC 2019


> On 09.09.2019, at 17:09, Tobias Pape <Das.Linux at gmx.de> wrote:
> 
>> 
>> On 09.09.2019, at 17:05, H. Hirzel <hannes.hirzel at gmail.com> wrote:
>> 
>> I did a re-test and used as suggested for Squeak 5.3alpha
>> 
>> Installer ss
>> 	project: 'MetacelloRepository';
>> 	addPackage: 'ConfigurationOfRefactoringTools';
>> 	install.
>> (Smalltalk at: #ConfigurationOfRefactoringTools) project load: '2.0'.
>> 
>> 
>> Result: This load script does not load the tests. So I can not say if
>> the issue with the deprecation warning is gone or not.
> 
> Try this:
> 
> Metacello new
> 	configuration: 'RefactoringBrowser';
> 	load: #('Core Tests').
Err:
this
> Metacello new
> 	configuration: 'RefactoringTools';
> 	load.
> 

should read

Metacello new
	configuration: 'RefactoringTools';
	version: '2.0';
	load.

> Best regards
> 	-Tobias
> 
> 
>> 
>> 
>> Particulars of the image below, and also the log output to the Transcript.
>> 
>> Result is that it loads fine.
>> 
>> 
>> 
>> 
>> 
>> 
>> Image
>> -----
>> /home/user28/Documents/Squeak5.3-18885/Squeak5.3alpha-18885-64bit-All-in-One.app/Contents/Resources/Squeak5.3alpha-18885-64bit.image
>> Squeak5.3alpha
>> latest update: #18885
>> Current Change Set: Unnamed1
>> Image format 68021 (64 bit)
>> 
>> Virtual Machine
>> ---------------
>> /home/user28/Documents/Squeak5.3-18885/Squeak5.3alpha-18885-64bit-All-in-One.app/Contents/Linux-x86_64/lib/squeak/5.0-201810190412/squeak
>> Croquet Closure Cog[Spur] VM [CoInterpreterPrimitives VMMaker.oscog-eem.2461]
>> Unix built on Oct 20 2018 08:15:11 Compiler: 4.8.4
>> platform sources revision VM: 201810190412
>> https://github.com/OpenSmalltalk/opensmalltalk-vm.git Date: Thu Oct 18
>> 21:12:21 2018 CommitHash: 15341b57 Plugins: 201810190412
>> https://github.com/OpenSmalltalk/opensmalltalk-vm.git
>> CoInterpreter VMMaker.oscog-eem.2461 uuid:
>> b3cd33f5-6309-43a1-b669-7a1805111f34 Oct 20 2018
>> StackToRegisterMappingCogit VMMaker.oscog-eem.2464 uuid:
>> 0b1fa0a3-a781-4fd5-b1cf-1809796ccbbf Oct 20 2018
>> 
>> 
>> ......................................................................................................................
>> Transcript log output
>> 
>> found ConfigurationOfRefactoringTools-mt.5.mcz...
>> loaded
>> 
>> GoferVersionReference>>setName:(name is shadowed)
>> GoferVersionReference>>setName:(name is shadowed)
>> Loading 1.0-beta.31.1.8 of ConfigurationOfMetacello...
>> Fetched -> ConfigurationOfGofer-dkh.45 ---
>> http://seaside.gemtalksystems.com/ss/metacello ---
>> http://seaside.gemtalksystems.com/ss/metacello
>> Loaded -> ConfigurationOfGofer-dkh.45 ---
>> http://seaside.gemtalksystems.com/ss/metacello ---
>> http://seaside.gemtalksystems.com/ss/metacello
>> Project: Gofer Core 1.0.5.1
>> Fetched -> Gofer-Core.squeak-dkh.135 ---
>> http://seaside.gemtalksystems.com/ss/metacello ---
>> http://seaside.gemtalksystems.com/ss/metacello
>> Fetched -> Metacello-Core-dkh.494 ---
>> http://smalltalkhub.com/mc/dkh/metacello/main ---
>> http://seaside.gemtalksystems.com/ss/metacello
>> Fetched -> Metacello-Platform.squeak-dkh.17 ---
>> http://seaside.gemtalksystems.com/ss/metacello ---
>> http://smalltalkhub.com/mc/dkh/metacello/main
>> Loaded -> Gofer-Core.squeak-dkh.135 ---
>> http://seaside.gemtalksystems.com/ss/metacello --- cache
>> Loaded -> Metacello-Core-dkh.494 ---
>> http://smalltalkhub.com/mc/dkh/metacello/main --- cache
>> MetacelloSqueakPlatform>>downloadFile:to: (OSProcess is Undeclared)
>> MetacelloSqueakPlatform>>downloadFile:to: (OSProcess is Undeclared)
>> MetacelloSqueakPlatform>>extractRepositoryFrom:to: (OSProcess is Undeclared)
>> Loaded -> Metacello-Platform.squeak-dkh.17 ---
>> http://seaside.gemtalksystems.com/ss/metacello --- cache
>> ...finished 1.0-beta.31.1.8
>> Loading 1.0-beta.31.1.8 of ConfigurationOfMetacello...
>> Fetched -> ConfigurationOfHelpSystem-DaleHenrichs.13 ---
>> http://www.squeaksource.com/MetacelloRepository ---
>> http://www.squeaksource.com/MetacelloRepository
>> Loaded -> ConfigurationOfHelpSystem-DaleHenrichs.13 ---
>> http://www.squeaksource.com/MetacelloRepository ---
>> /home/user28/Documents/Squeak5.3-18885/Squeak5.3alpha-18885-64bit-All-in-One.app/Contents/Resources/package-cache
>> Project: Gofer Core 1.0.5.1
>> Fetched -> Metacello-ToolBox-dkh.130 ---
>> http://smalltalkhub.com/mc/dkh/metacello/main ---
>> http://seaside.gemtalksystems.com/ss/metacello
>> Project: Help System 1.1
>> Fetched -> Metacello-Help-dkh.11 ---
>> http://seaside.gemtalksystems.com/ss/metacello ---
>> http://smalltalkhub.com/mc/dkh/metacello/main
>> Loaded -> Metacello-ToolBox-dkh.130 ---
>> http://smalltalkhub.com/mc/dkh/metacello/main --- cache
>> Loaded -> Metacello-Help-dkh.11 ---
>> http://seaside.gemtalksystems.com/ss/metacello --- cache
>> ...finished 1.0-beta.31.1.8
>> Loading 2.0 of ConfigurationOfRefactoringTools...
>> Fetched -> ConfigurationOfRefactoringBrowser-mt.79 ---
>> http://www.squeaksource.com/MetacelloRepository ---
>> http://www.squeaksource.com/MetacelloRepository
>> Loaded -> ConfigurationOfRefactoringBrowser-mt.79 ---
>> http://www.squeaksource.com/MetacelloRepository ---
>> /home/user28/Documents/Squeak5.3-18885/Squeak5.3alpha-18885-64bit-All-in-One.app/Contents/Resources/package-cache
>> Project: RefactoringBrowser 3.0
>> Fetched -> AST-Core-eem.97 --- http://www.squeaksource.com/rb ---
>> http://www.squeaksource.com/rb
>> Fetched -> AST-Semantic-lr.15 --- http://www.squeaksource.com/rb ---
>> http://www.squeaksource.com/rb
>> Fetched -> Refactoring-Environment-mt.12 ---
>> http://www.squeaksource.com/rb --- http://www.squeaksource.com/rb
>> Fetched -> Refactoring-Changes-mt.24 ---
>> http://www.squeaksource.com/rb --- http://www.squeaksource.com/rb
>> Fetched -> Refactoring-Core-mt.164 --- http://www.squeaksource.com/rb
>> --- http://www.squeaksource.com/rb
>> Fetched -> Refactoring-Critics-mt.21 ---
>> http://www.squeaksource.com/rb --- http://www.squeaksource.com/rb
>> Fetched -> Refactoring-Spelling-mt.29 ---
>> http://www.squeaksource.com/rb --- http://www.squeaksource.com/rb
>> Fetched -> RefactoringTools-mt.3 ---
>> http://ss3.gemtalksystems.com/ss/RefactoringToolsForSqueak ---
>> http://ss3.gemtalksystems.com/ss/RefactoringToolsForSqueak
>> Loaded -> AST-Core-eem.97 --- http://www.squeaksource.com/rb --- cache
>> Loaded -> AST-Semantic-lr.15 --- http://www.squeaksource.com/rb --- cache
>> Loaded -> Refactoring-Environment-mt.12 ---
>> http://www.squeaksource.com/rb --- cache
>> Loaded -> Refactoring-Changes-mt.24 --- http://www.squeaksource.com/rb --- cache
>> Loaded -> Refactoring-Core-mt.164 --- http://www.squeaksource.com/rb --- cache
>> Loaded -> Refactoring-Critics-mt.21 --- http://www.squeaksource.com/rb --- cache
>> Loaded -> Refactoring-Spelling-mt.29 ---
>> http://www.squeaksource.com/rb --- cache
>> Evaluated -> Refactoring-Spelling >> postLoadRBSpelling
>> Loaded -> RefactoringTools-mt.3 ---
>> http://ss3.gemtalksystems.com/ss/RefactoringToolsForSqueak --- cache
>> ...finished 2.0
>> 
>> On 9/9/19, Tobias Pape <Das.Linux at gmx.de> wrote:
>>> Hi There
>>> 
>>>> On 09.09.2019, at 09:17, Marcel Taeumel <marcel.taeumel at hpi.de> wrote:
>>>> 
>>>>> How will the load script look like after the release of Squeak 5.3?
>>>> 
>>>> Installer ss
>>>>  project: 'MetacelloRepository';
>>>>  addPackage: 'ConfigurationOfRefactoringTools';
>>>>  install.
>>>> (Smalltalk at: #ConfigurationOfRefactoringTools) project load.
>>> 
>>> 
>>> I'd say that, if we use Metacello, lets use the new form consistently:
>>> 
>>> 	Metacello  new
>>> 		"squeaksource: 'MetacelloRepository'; "  "<-- this is the default for
>>> mcz-based Configurations"
>>> 		configuration: 'RefactoringTools';
>>> 		"verison: #stable; "  "<-- this is the default"
>>> 		load.
>>> 
>>> :)
>>> 
>>>> 
>>>> As soon as my SqueakMap account is working, I can also update that entry
>>>> on SqueakMap.
>>>> 
>>>> Best,
>>>> Marcel
>>>>> Am 08.09.2019 18:19:30 schrieb H. Hirzel <hannes.hirzel at gmail.com>:
>>>>> 
>>>>> On 9/5/19, Marcel Taeumel wrote:
>>>>> 
>>>>> 
>>>>> "----------------------------------------------------------------------------------"
>>>>> " Load script for refactoring tools for Squeak 5.3a "
>>>>> "----------------------------------------------------------------------------------"
>>>>> 
>>>>> Installer ss
>>>>> project: 'MetacelloRepository';
>>>>> addPackage: 'ConfigurationOfRefactoringTools';
>>>>> install.
>>>>> (Smalltalk at: #ConfigurationOfRefactoringTools) project load: '2.0'.
>>>>> 
>>>>> thank you Marcel and others for the updated script. Could somebody do
>>>>> an independent test and confirm that this works indeed with a pristine
>>>>> Squeak 5.3alpha
>>>>> http://files.squeak.org/trunk/Squeak5.3alpha-18879-64bit/
>>>>> 
>>>>> 
>>>>> 
>>>>> How will the load script look like after the release of Squeak 5.3?
>>>>> 
>>>>> 
>>>>> 
>>>>> I understand that a load script for a _stable_ version of a package
>>>>> for 5.3alpha takes the one for Squeak 5.2 release.
>>>>> 
>>>>> 
>>>>> 
>>>>> I do not understand this conclusion.
>>>>> 
>>>>> 
>>>>> 
>>>>> 
>>>>> Good to know. Is there a wiki pages which summarizes this 'fallback'
>>>>> behavior?
>>>>> 
>>>>> At the moment this search
>>>>> 
>>>>> http://wiki.squeak.org/squeak/search?search=Metacello+version+number+matching&casesensitive=false&and=true
>>>>> 
>>>>> gives no result.
>>>>> 
>>>>> Regards
>>>>> Hannes




More information about the Squeak-dev mailing list