We use PetitParser as hosted on SmalltalkHub -> github.
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' ];
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.
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
I will run the tests.
All the tests are passing so (except the integration because I did not install the archetypes). So this look ok.