pillar icon indicating copy to clipboard operation
pillar copied to clipboard

We use PetitParser as hosted on SmalltalkHub -> github.

Open Ducasse opened this issue 6 years ago • 4 comments

spec project: 'PetitParser' with: [ spec className: #ConfigurationOfPetitParser; versionString: #stable; loads: #('Tests'); repository: 'http://www.smalltalkhub.com/mc/Moose/PetitParser/main' ]; project: 'PetitParserTest' with: [ spec className: #ConfigurationOfPetitParser; versionString: #stable; loads: #('Tests'); repository: 'http://www.smalltalkhub.com/mc/Moose/PetitParser/main' ];

Ducasse avatar Feb 24 '20 09:02 Ducasse

I tried this

spec
	project: 'PetitParser'
	with: [ spec 
   			baseline: 'PetitParser' 
   			with: [ spec repository: 'github://moosetechnology/PetitParser:v2.2.0/src'.
				spec loads: #('Tests') ] ];
	project: 'PetitParserTest'
	with: [ spec 
   			baseline: 'PetitParser' 
   			with: [ spec repository: 'github://moosetechnology/PetitParser:v2.2.0/src'.
			spec loads: #('Tests') ] ];

But it failed probably because we use project: with: In the expression above I just replace in block (of project:with:) with a baseline invocation.

So I'm puzzled. I do not know in the first place why we used project:with: so I will try to remove it.

Ducasse avatar Apr 12 '20 21:04 Ducasse

Now I did


		"Petit Parse One packages"			
	 	spec 
   				baseline: 'PetitParser' 
   				with: [ spec repository: 'github://moosetechnology/PetitParser:v2.2.0/src'.
								spec loads: #('Tests') ] ];
		package: 'Pillar-PetitPillarOld' with: [ spec requires: #('PetitParser' 'Pillar-Model') ];
		package: 'Pillar-Tests-PetitPillarOld' with: [ spec  requires: #('PetitParser' 'Pillar-PetitPillarOld') ];
		group: 'old' with: #( 'Pillar-PetitPillarOld' 'Pillar-Tests-PetitPillarOld' ).

and looks like it works

Ducasse avatar Apr 12 '20 21:04 Ducasse

I will run the tests.

Ducasse avatar Apr 12 '20 21:04 Ducasse

All the tests are passing so (except the integration because I did not install the archetypes). So this look ok.

Ducasse avatar Apr 12 '20 21:04 Ducasse