Hi Stef,
I did try. The stable version loads my version, without your modifications
and it works as expected. I think your image was somehow messed up.
Doru
On Sat, Aug 10, 2013 at 9:02 AM, Stéphane Ducasse <stephane.ducasse(a)inria.fr
wrote:
>
> On Aug 9, 2013, at 10:33 PM, Tudor Girba <tudor(a)tudorgirba.com
wrote:
>
> I just checked, and there is no problem in the images I work with. Try
> this in the latest Moose 4.8 image:
>
> Gofer new
> smalltalkhubUser: 'girba' project: 'Snapshotcello';
> package: 'ConfigurationOfSnapshotcello';
> load.
> ConfigurationOfSnapshotcello loadStable.
> Snapshotcello new
> configurationClass: ConfigurationOfMoose;
> sourceVersion: #development;
> repositoryFor: 'ConfigurationOfMooseAlgos'
>
> ==> 'http://www.smalltalkhub.com/mc/Moose/MooseAlgos/main/'
>
> Also, as a test, I produced a couple of weeks ago a version of Moose
> (4.8-snapshot), and this loaded in a fresh Pharo 2.0 image without any
> problems.
>
>
> But with the synectique image I have problem.
>
> And in the latest moose image the computation of repository of MooseAlgos
> was Moose and it was wrong.
> Did you try the expressions I sent you?
> with the version prior to my modification?
>
> Stef
>
>
>
> Cheers,
> Doru
>
>
>
>
> On Fri, Aug 9, 2013 at 4:33 PM, Stéphane Ducasse <
> stephane.ducasse(a)inria.fr
wrote:
>
>> Doru
>>
>> I think that repositoryFor: is bogus
>>
>>
>> self repositoryFor: 'ConfigurationOfMooseAlgos-TudorGirba.14''
>> > 'http://www.smalltalkhub.com/mc/Moose/Moose/main/'
>> while it should return
>> 'http://www.smalltalkhub.com/mc/Moose/MooseAlgos/main/'
>>
>>
>> self packagesAndRepositoriesFromConfiguration
>> returns an OrderedCollection(#('ConfigurationOfFourDParser' '
>>
http://smalltalkhub.com/mc/Synectique/FourD/main/')
>> #('ConfigurationOfFourDEntities' '
>>
http://smalltalkhub.com/mc/Synectique/FourD/main/')
>> #('ConfigurationOfSynectiqueBrowser' '
>>
http://www.smalltalkhub.com/mc/Synectique/Core/main/')
>> #('ConfigurationOfSynectiqueEntities' '
>>
http://smalltalkhub.com/mc/Synectique/Core/main/')
>> #('ConfigurationOfBabyMock' '
>>
http://smalltalkhub.com/mc/zeroflag/BabyMock/main/')
>> #('ConfigurationOfMoose' '
>>
http://www.smalltalkhub.com/mc/Moose/Moose/main/') #('BabyMock-Core'
'
>>
http://smalltalkhub.com/mc/zeroflag/BabyMock/main/')
>> #('ConfigurationOfFame'
'http://www.smalltalkhub.com/mc/Moose/Fame/main/')
>> #('ConfigurationOfRoassal' '
>>
http://www.smalltalkhub.com/mc/ObjectProfile/Roassal/main/')
>> #('ConfigurationOfXMLParser' '
>>
http://www.smalltalkhub.com/mc/PharoExtras/XMLParser/main/')
>> #('ConfigurationOfPetitParser' '
>>
http://www.smalltalkhub.com/mc/Moose/PetitParser/main/')
>> #('ConfigurationOfSmallDude' '
>>
http://www.smalltalkhub.com/mc/Moose/SmallDude/main/')
>> #('ConfigurationOfGlamour' '
>>
http://www.smalltalkhub.com/mc/Moose/Glamour/main/')
>> #('ConfigurationOfMetanool' '
>>
http://www.smalltalkhub.com/mc/Moose/Metanool/main/')
>> #('ConfigurationOfRoelTyper' '
>>
http://www.smalltalkhub.com/mc/RMoD/RoelTyper/main/')
>> #('ConfigurationOfGToolkit' '
>>
http://www.smalltalkhub.com/mc/Moose/GToolkit/main/')
>> #('ConfigurationOfMooseAlgos' '
>>
http://www.smalltalkhub.com/mc/Moose/MooseAlgos/main/')
>> #('ConfigurationOfMondrian' '
>>
http://www.smalltalkhub.com/mc/Moose/Mondrian/main/')
>> #('ConfigurationOfPetitSQLParser' '
>>
http://www.smalltalkhub.com/mc/Moose/PetitSQLParser/main/')
>> #('ConfigurationOfMerlin' '
>>
http://www.smalltalkhub.com/mc/Moose/Merlin/main/')
>> #('ConfigurationOfDSM'
'http://www.smalltalkhub.com/mc/Moose/DSM/main/')
>> #('ConfigurationOfEyeSee' '
>>
http://www.smalltalkhub.com/mc/Moose/EyeSee/main/') #('OSProcess'
'
>>
http://www.squeaksource.com/OSProcess/') #('Moose-Help' '
>>
http://www.smalltalkhub.com/mc/Moose/Moose/main/')
>> #('Famix-Specifications' '
>>
http://www.smalltalkhub.com/mc/Moose/Moose/main/')
>> #('Arki-Reporter-Core'
'http://www.smalltalkhub.com/mc/Moose/Arki/main/')
>> #('Arki-Tests-Reporter'
'http://www.smalltalkhub.com/mc/Moose/Arki/main/')
>> #('Famix-Tests-C'
'http://www.smalltalkhub.com/mc/Moose/Moose/main/')
>> #('Famix-Tests-Extensions' '
>>
http://www.smalltalkhub.com/mc/Moose/Moose/main/')
>> #('Dynamix-Tests-Core' '
>>
http://www.smalltalkhub.com/mc/Moose/DynaMoose/main/')
>> #('Moose-TestResources-Reference-Core' '
>>
http://www.smalltalkhub.com/mc/Moose/Moose/main/')
>> #('Moose-TestResources-Reference-PackageOne' '
>>
http://www.smalltalkhub.com/mc/Moose/Moose/main/')
>> #('Moose-TestResources-LAN' '
>>
http://www.smalltalkhub.com/mc/Moose/Moose/main/')
>> #('Moose-TestResources-LCOM' '
>>
http://www.smalltalkhub.com/mc/Moose/Moose/main/')
>> #('Moose-TestResources-CategoryImporter' '
>>
http://www.smalltalkhub.com/mc/Moose/Moose/main/')
>> #('Moose-TestResources-KGB-P4FullInteracted' '
>>
http://www.smalltalkhub.com/mc/Moose/Moose/main/')
>> #('Moose-TestResources-KGB-P6InteractedReferee' '
>>
http://www.smalltalkhub.com/mc/Moose/Moose/main/')
>> #('Moose-TestResources-KGB-P5FullReferee' '
>>
http://www.smalltalkhub.com/mc/Moose/Moose/main/')
>> #('Moose-TestResources-KGB-P1FullReferencer' '
>>
http://www.smalltalkhub.com/mc/Moose/Moose/main/')
>> #('Moose-TestResources-KGB-P2InteractedReferencerReferee' '
>>
http://www.smalltalkhub.com/mc/Moose/Moose/main/')
>> #('Moose-TestResources-KGB-P3InteractedReferencer' '
>>
http://www.smalltalkhub.com/mc/Moose/Moose/main/')
>> #('Moose-TestResources-KGB-P7ReferencerReferee' '
>>
http://www.smalltalkhub.com/mc/Moose/Moose/main/')
>> #('Moose-TestResources-KGB-P8FullReferencer' '
>>
http://www.smalltalkhub.com/mc/Moose/Moose/main/')
>> #('Moose-TestResources-KGB-P9FullReferencer' '
>>
http://www.smalltalkhub.com/mc/Moose/Moose/main/')
>> #('Moose-TestResources-KGB-P10InteractedReferee' '
>>
http://www.smalltalkhub.com/mc/Moose/Moose/main/')
>> #('Moose-TestResources-KGB-P11FullReferee' '
>>
http://www.smalltalkhub.com/mc/Moose/Moose/main/')
>> #('Moose-TestResources-KGB-P12FullReferencer' '
>>
http://www.smalltalkhub.com/mc/Moose/Moose/main/')
>> #('Moose-TestResources-KGB-P13FullReferencer' '
>>
http://www.smalltalkhub.com/mc/Moose/Moose/main/')
>> #('Moose-TestResources-KGB-P14FullReferee' '
>>
http://www.smalltalkhub.com/mc/Moose/Moose/main/')
>> #('Moose-TestResources-KGB-PExtensions' '
>>
http://www.smalltalkhub.com/mc/Moose/Moose/main/')
>> #('Moose-TestResources-PackageBlueprint-P1' '
>>
http://www.smalltalkhub.com/mc/Moose/Moose/main/')
>> #('Moose-TestResources-PackageBlueprint-P2' '
>>
http://www.smalltalkhub.com/mc/Moose/Moose/main/')
>> #('Moose-TestResources-PackageBlueprint-P3' '
>>
http://www.smalltalkhub.com/mc/Moose/Moose/main/')
>> #('Moose-TestResources-PackageBlueprint-P4' '
>>
http://www.smalltalkhub.com/mc/Moose/Moose/main/')
>> #('Moose-Tests-MonticelloImporter' '
>>
http://www.smalltalkhub.com/mc/Moose/Moose/main/')
>> #('ConfigurationOfMagritte3'
'http://source.lukas-renggli.ch/magritte3/')
>> #('ConfigurationOfGrease' '
>>
http://www.squeaksource.com/MetacelloRepository/') #('Grease-Core'
>> 'http:/...etc…
>>
>>
>> I saw that there were some changes in the definition of repositoryFor:
>> compared to the version
>>
>> We have now
>>
>> self packagesAndRepositoriesFromConfiguration
>> select: [:each | ( (each first, '*') match:
>> 'ConfigurationOfMooseAlgos')]
>>
>>
>>
>> And may be it should be
>>
>> repositoryFor: aString
>> ^ (self packagesAndRepositoriesFromConfiguration
>> detect: [:each | ( (each first, '-*') match:
>> aString)]
>> ifNone: [self error: 'No repository found for ',
>> aString]) second
>>
>>
>> Now I wonder if we could not ask the working copy to get its name
>> like that we can have
>>
>> from the configuration
>> #(ConifgurationOfMooseAlgos '
>>
http://www.smalltalkhub.com/mc/Moose/MooseAlgos/main/')
>>
>> and from the working copy
>>
>> #(ConifgurationOfMooseAlgos
>> 'ConifgurationOfMooseAlgos-TudorGibar.14')
>>
>> and we do not have to match.
>>
>> What do you think?
>>
>>
>>
>>
>>
>>
>> >>
>> >> The packages are dirty in the Moose image on jenkins.
>> >>
>> >> Are you trying with Pharo 2.0?
>> >>
>> >> Did you try with empty package cache?
>> >> Because I'm retrying with a clean Pharo20 image.
>> >>
>> >> In fact I have three problems:
>> >> - MooseAlgos repo is not Moose but MooseAlgos and I have to check
>> why.
>> >> - I have problem with Metacallo not having the repositories set
>> up and then it cannot resolve packages
>> >> - Dependencies order (when I have empty package -
>> >> I have Metanool-Core that depends from MooseEntity
>> >> :(
>> >
>> > I have the impression that the cache does not affect the load so this
>> is already one variable less.
>> >
>> >
>> > _______________________________________________
>> > Moose-dev mailing list
>> > Moose-dev(a)iam.unibe.ch
>> >
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>>
>>
>> _______________________________________________
>> Moose-dev mailing list
>> Moose-dev(a)iam.unibe.ch
>>
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>>
>
>
>
> --
>
www.tudorgirba.com
>
> "Every thing has its own flow"
> _______________________________________________
> Moose-dev mailing list
> Moose-dev(a)iam.unibe.ch
>
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>
>
>
> _______________________________________________
> Moose-dev mailing list
> Moose-dev(a)iam.unibe.ch
>
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>
>
--
www.tudorgirba.com
"Every thing has its own flow"