-------- Forwarded Message -------- Subject: [Moose-dev] Re: Wrong version loaded using Metacello Date: Fri, 10 Apr 2015 17:10:54 +0200 From: Jan Kurš <kurs.jan@gmail.com> Reply-To: Moose-related development <moose-dev@iam.unibe.ch> To: Moose-related development <moose-dev@iam.unibe.ch> Hi Dale, That works for me! Do you have any idea, when will this fix appear in Pharo? Thank you for fixing this! Cheers, Jan On 9 April 2015 at 04:33, Dale Henrichs <dale.henrichs@gemtalksystems.com <mailto:dale.henrichs@gemtalksystems.com>> wrote: Jan, I believe that I've fixed the bug [1], but of course the proof will be in the pudding:) So If you could run the following Metacello update script in your image (this will work in pharo3.0 or pharo4.0) and make sure it works for you: Metacello new à baseline: 'Metacello'; à repository: 'github://dalehenrich/metacello-work:master/repository'; à get. Metacello new à baseline: 'Metacello'; à repository: 'github://dalehenrich/metacello-work:master/repository'; à onConflict: [:ex | ex allow]; à load The proper package was loaded for me in my test in Pharo3.0: à à à Loaded -> PetitIndent-JanKurs.1 --- http://smalltalkhub.com/mc/Moose/PetitParser/main/ --- cache Dale [1] https://github.com/dalehenrich/metacello-work/issues/339 On 04/08/2015 12:14 AM, Jan Kurà ¡ wrote:
Dale, Thank you for the information and your help. And honestly, I am surprised as well :)
Cheers, Jan
On 7 April 2015 at 23:21, Dale Henrichs <dale.henrichs@gemtalksystems.com <mailto:dale.henrichs@gemtalksystems.com>> wrote:
Jan,
This looks like a bug in MetacelloGoferPackage>>matches: ...Ã I've submitted a bug[1] and will work on getting a patch out as soon as I can ... I am a bit surprised that this particular bug has remained hidden (or unreported) for so long, but it is a good find ... thanks for provided the details I needed to identify the problem ...
Dale
[1] https://github.com/dalehenrich/metacello-work/issues/339
On 04/07/2015 09:08 AM, Jan Kurà ¡ wrote:
Hi Dale,
One can reproduce the behaviour by evaluating this in Pharo 3 or Pharo 4 image:
Gofer new smalltalkhubUser: 'Moose' project: 'PetitParser'; Ã Ã Ã configurationOf: #PetitParser; load.
(ConfigurationOfPetitParser project version: '1.10') load.
The first command loads (in my case) ConfigurationOfPetitParser (JanKurs.68)
When I evaluate: (ConfigurationOfPetitParser project version: '1.10') record asString.
I get: a MetacelloNullRecordingMCSpecLoader(linear load : à à à linear load : 1.10 [ConfigurationOfPetitParser] à à à à à à load : ConfigurationOfGlamour à à à atomic load : 1.10 [ConfigurationOfPetitParser] à à à à à à load : PetitParser-JanKurs.262 à à à à à à load : PetitTests-JanKurs.67 à à à à à à à ... à à à à à à à ... à à à à à à load : PetitIslands-JanKurs.18 à à à à à à load : PetitIndent-JanKurs.1 à à à à à à load : Factorial-Language-lr.6 à à à à à à explicit load : Glamour à à à à à à à à à load : ConfigurationOfGlamour-AndreiChis.203 à à à à à à linear load : 3.0.6 [ConfigurationOfGlamour] à à à à à à à ...
Yet if I really load, the transcript shows (see the full transcript in the attachement):
Loading 1.10 of ConfigurationOfPetitParser... Fetched -> ConfigurationOfGlamour-AndreiChis.203 --- http://smalltalkhub.com/mc/Moose/Glamour/main/ --- http://smalltalkhub.com/mc/Moose/Glamour/main/ Loaded -> ConfigurationOfGlamour-AndreiChis.203 --- http://smalltalkhub.com/mc/Moose/Glamour/main/ --- /home/kursjan/tmp/pharo16/package-cache Fetched -> PetitParser-JanKurs.262 --- http://smalltalkhub.com/mc/Moose/PetitParser/main/ --- http://smalltalkhub.com/mc/Moose/PetitParser/main/ Fetched -> PetitTests-JanKurs.67 --- http://smalltalkhub.com/mc/Moose/PetitParser/main/ --- http://smalltalkhub.com/mc/Moose/PetitParser/main/ ... ... Fetched -> PetitIndent-JanKurs.11 --- http://smalltalkhub.com/mc/Moose/PetitParser/main/ --- http://smalltalkhub.com/mc/Moose/PetitParser/main/ ... ...
Cheers, Jan
On 6 April 2015 at 23:23, Dale Henrichs <dale.henrichs@gemtalksystems.com <mailto:dale.henrichs@gemtalksystems.com>> wrote:
Jan,
I would really like to see the Transcript output for this load .... also I'd like to know which mcz version of ConfigurationOfPetitParser you are using ... I can guess, but there are often a number of different versions of configurations floating around and I don't want to waste time on a version that does not match the one that you are having trouble with ...
Dale
On 04/04/2015 03:01 AM, Jan Kurà ¡ wrote:
Hi All,
In ConfigurationOfPetitParser, there is a stable version 1.10 for Pharo 3.0 which says to load version PetitIndent.JanKurs.1.
version110: spec à à à <version: '1.10' imports: #('1.6-baseline' )>
à à à spec for: #'common' do: [
à à à .. à à à package: 'PetitIndent' with: 'PetitIndent-JanKurs.1'; à à à ..
Yet, if I load the stable version from Pharo 3.0:
Gofer new smalltalkhubUser: 'Moose' project: 'PetitParser'; Ã Ã Ã configurationOf: #PetitParser; load. (ConfigurationOfPetitParser project version: '1.10') load.
I got PetitIndent.JanKurs.11 loaded, which is very unfortunate, since other packages are kept old.
Does anyone knows why is this?
Cheers, Jan
_______________________________________________ Moose-dev mailing list Moose-dev@iam.unibe.ch <mailto:Moose-dev@iam.unibe.ch> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
_______________________________________________ Moose-dev mailing list Moose-dev@iam.unibe.ch <mailto:Moose-dev@iam.unibe.ch> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
_______________________________________________ Moose-dev mailing list Moose-dev@iam.unibe.ch <mailto:Moose-dev@iam.unibe.ch> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
_______________________________________________ Moose-dev mailing list Moose-dev@iam.unibe.ch <mailto:Moose-dev@iam.unibe.ch> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
_______________________________________________ Moose-dev mailing list Moose-dev@iam.unibe.ch <mailto:Moose-dev@iam.unibe.ch> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
_______________________________________________ Moose-dev mailing list Moose-dev@iam.unibe.ch <mailto:Moose-dev@iam.unibe.ch> https://www.iam.unibe.ch/mailman/listinfo/moose-dev