Pharo-dev
By thread
pharo-dev@lists.pharo.org
By month
Messages by month
- ----- 2026 -----
- July
- June
- May
- April
- March
- February
- January
- ----- 2025 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2024 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2023 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2022 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2021 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2020 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2019 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2018 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2017 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2016 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2015 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2014 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2013 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2012 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2011 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2010 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2009 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2008 -----
- December
- November
- October
- September
- August
- July
- June
- May
August 2017
- 787 messages
Re: [Pharo-dev] Creating the smallest server runtime footprint
by Tim Mackinnon
I really appreciate your patience and help on this - it looks very promising and I am giving it a spin nowâ¦
When you say the pharo repository - are you referring to this: https://github.com/pharo-project/pharo/tree/master/src <https://github.com/pharo-project/pharo/tree/master/src>. ? Just so I know for the future.
Tim
> On 3 Aug 2017, at 09:16, Pavel Krivanek <pavel.krivanek(a)gmail.com <mailto:pavel.krivanek@gmail.com>> wrote:
>
>
>
> 2017-08-03 10:14 GMT+02:00 Pavel Krivanek <pavel.krivanek(a)gmail.com <mailto:pavel.krivanek@gmail.com>>:
> The easiest think you can do is to copy to your repository (or some other) related packages from the Pharo repository (to do not have to clone it all):
>
> Metacello-GitBasedRepository.package
> Metacello-GitHub.package
> SUnit-Core.package
>
> and create baseline to load them. I already tried it so you can test it:
> https://drive.google.com/open?id=0BzSsmZhqtUTeMVJacTZtdW5UQW8 <https://drive.google.com/open?id=0BzSsmZhqtUTeMVJacTZtdW5UQW8>
>
> Then you will do something like:
>
> (accidental message send ;-) )
>
> BASELINE=MetacelloGitBasedRepository
> pharo "$IMAGE_NAME.image" --no-default-preferences eval --save \
> "Metacello new baseline: '$BASELINE'; repository: 'filetree://./PharoLambda/src <filetree://./PharoLambda/src>'; load."
>
> BASELINE=Lambda
> pharo "$IMAGE_NAME.image" --no-default-preferences eval --save \
> "Metacello new baseline: '$BASELINE'; repository: 'filetree://./PharoLambda/src <filetree://./PharoLambda/src>'; load."
>
> As I tried that. The baseline of Lambda is then able to be loaded.
>
> -- Pavel
>
>
>
>
>
> 2017-08-02 15:18 GMT+02:00 Tim Mackinnon <tim(a)testit.works <mailto:tim@testit.works>>:
> Ah, I think Iâm starting to get closer to what I needâ¦
>
> So if I want to load in that last piece to enable more general remote loading - how do I figure out how to do that? Iâm trying to work out where the build steps for building up the image (can I see them in Jenkins? It wasnât clear to me if I can look it up? Or the BaselineOfIDE was mentioned - looking there I can see a few metacello and gofer packages - but then I guess Iâm looking for an easy Mcz I can use with the example below?
>
> Or do I just load Metacello as a git submodule and then it will be on my local filesystem to then bootstrap up?
>
> I guess Iâm trying to work out the best sustainable approach to getting to a good server based image that has minimal tools and the ability to easily load remote code for pre-req projects.
>
> Tim
>
>> On 2 Aug 2017, at 07:05, Guillermo Polito <guillermopolito(a)gmail.com <mailto:guillermopolito@gmail.com>> wrote:
>>
>> Yes, you should be able to load an mcz in that image by doing:
>>
>> (MCDirectoryRepository new directory: 'where-your-mcz-is')
>> loadVersionFromFileNamed: 'Metacello-GitBasedRepository-Author.1.mcz') load.
>>
>> Guille
>>
>> On Wed, Aug 2, 2017 at 7:57 AM, Pavel Krivanek <pavel.krivanek(a)gmail.com <mailto:pavel.krivanek@gmail.com>> wrote:
>>
>> 2017-08-01 23:13 GMT+02:00 Tim Mackinnon <tim(a)testit.works <mailto:tim@testit.works>>:
>> Hi Pavel - I tried it again and the problem is do with Metacello dependencies in your baseline.
>>
>> The SUnit baseline doesnât specify any additional dependencies to load (it just loads local packages), whereas my baseline that fails looks like this:
>>
>> baseline: spec
>> <baseline>
>>
>> spec for: #common do: [
>> spec configuration: 'ZTimestamp' with: [
>> spec
>> versionString: #stable;
>> repository: 'http://mc.stfx.eu/Neo <http://mc.stfx.eu/Neo>' ].
>>
>> spec baseline: 'AWS' with: [
>> spec repository: 'github://newapplesho/aws-sdk-smalltalk:v1.10/pharo-repository <>' ].
>>
>> spec
>> package: 'Lambda' with: [ spec requires: {'ZTimestamp'. 'AWS'}].
>>
>> ].
>>
>>
>> The âspec configuration: â¦.â Specifications cause the error:
>>
>> 25 UndefinedObject(Object)>>doesNotUnderstand: #addTo:
>> 26 MCRepositoryGroup>>addRepository:
>>
>> If I remove those lines from my baseline above (as well the requires: reference to them) I can then successfully load my packages.
>>
>> So is this something the minimal image should support (otherwise how do you load external packages into your image without checking them in locally?) OR is there something simple I can checkin and load locally to return that behaviour? (Personally I think it would make sense to allow remote loading - Iâm guessing Pharo itself as a core has everything it needs - but if you want to do any experimentation on the core and need remote packages, you would hit this too - so it feels a bit limiting).
>>
>> The dependencies in th baseline are supported but the support for most of external repositories (like package Metacello-GitBasedRepository) is loaded at the end of bootstrapping process in BaselineOfIDE. We should check/solve dependencies and move it into the minimal Pharo. For now you can try to load it by yourself or work with already prepared local clones of required repositories.
>>
>> -- Pavel
>>
>>
>>
>>
>> Tim
>>
>>> On 1 Aug 2017, at 10:06, Pavel Krivanek <pavel.krivanek(a)gmail.com <mailto:pavel.krivanek@gmail.com>> wrote:
>>>
>>>
>>>
>>> 2017-07-31 22:51 GMT+02:00 Tim Mackinnon <tim(a)testit.works <mailto:tim@testit.works>>:
>>> I wasnât clear on which image to retry - the https://ci.inria.fr/pharo/job/Pharo-6.0-Update-Step-3.2-Minimal/lastSuccess… <https://ci.inria.fr/pharo/job/Pharo-6.0-Update-Step-3.2-Minimal/lastSuccess…> one still shows as being last updated 7 days ago.
>>>
>>> The https://ci.inria.fr/pharo/view/6.0-SysConf/job/Pharo-6.0-Step-04-01-Configu… <https://ci.inria.fr/pharo/view/6.0-SysConf/job/Pharo-6.0-Step-04-01-Configu…> one gives me a mismatch error: This interpreter (vers. 68021) cannot read image file (vers. 6521).
>>>
>>> The https://ci.inria.fr/pharo/view/7.0/job/70-Bootstrap-32bit-Conversion/lastSu… <https://ci.inria.fr/pharo/view/7.0/job/70-Bootstrap-32bit-Conversion/lastSu…> one gives me a walkback when trying to run my install script :
>>>
>>> 25 UndefinedObject(Object)>>doesNotUnderstand: #addTo:
>>> 26 MCRepositoryGroup>>addRepository:
>>> 27 createRepository
>>> | repo |
>>> repo := self project createRepository: self.
>>> ^ MCRepositoryGroup default repositories
>>> detect: [ :each | each = repo ]
>>> ifNone: [
>>> MCRepositoryGroup default addRepository: repo.
>>> repo ] in MetacelloRepositorySpec>>createRepository
>>>
>>> I think this is because the image doesnât support Metacello? As in:
>>> Metacello new
>>> repository: 'filetree://../src <>';
>>> baseline: 'Lambda';
>>> load.
>>>
>>> How do you guys load things into the minimal images (I thought you used Metacello - but maybe you do it some other way?)
>>>
>>> I can use a big 6.1 image fine (as it has Metacello loaded) but Iâd really like a minimal solution - that can load in libraries like AWS S3, or XML parsing etc. and it seems like I should be a good customer for kicking the tires on all of this.
>>>
>>> Tim
>>>
>>>
>>> I checked the 64-bit Pharo 7 minimal image and loading of baseline (of SUnit from pharo-project/pharo) works:
>>>
>>> ./pharo Pharo7.0-minimal-64bit-b1625bf.image eval --save "Metacello new baseline: 'SUnit'; repository: 'filetree://./pharo-core/src <>'; load."
>>>
>>> ./pharo Pharo7.0-minimal-64bit-b1625bf.image eval "TestCase suite run"
>>>
>>> Can you test it too?
>>>
>>> -- Pavel
>>
>>
>>
>>
>>
>> --
>>
>> Guille Polito
>>
>> Research Engineer
>> French National Center for Scientific Research - http://www.cnrs.fr <http://www.cnrs.fr/>
>>
>>
>> Web: http://guillep.github.io <http://guillep.github.io/>
>> Phone: +33 06 52 70 66 13 <tel:+33%206%2052%2070%2066%2013>
>
>
Aug. 3, 2017
Re: [Pharo-dev] [vwnc] Live Programming in Smalltalk development environments survey + raffle
by Juraj Kubelka
Hi Helge,
we are targeting it to ICSE 2018. With crossed fingers it will happen :-)
Cheers,
Juraj
> El 03-08-2017, a las 10:30, Nowak, Helge <HNowak(a)cincom.com> escribió:
>
> Dear Juraj, Romain and Alexandre, <>
>
> this is indeed an interesting piece of research! Where will you publish the results with detailed analysis?
>
> Cheers
> Helge
>
> Helge Nowak
> Cincom Smalltalk Technical Account Manager EMEA
> <image001.png> <http://www.cincomsmalltalk.com/>
> Cincom Systems GmbH & Co. oHG
> Am Kronberger Hang 4
> 65824 Schwalbach/Ts.
> GERMANY
> office
> mobile
> fax
>
> website
> email
> +49 89 89 66 44 94
> +49 172 74 00 402
> +49 89 89 66 44 95
>
> http://www.cincomsmalltalk.com <http://www.cincomsmalltalk.com/>
> hnowak(a)cincom.com <mailto:hnowak@cincom.com>
> A standpoint is an intellectual horizon of radius zero. -- Albert Einstein
>
> Geschäftsführer/Managing Directors: Thomas M. Nies, Donald E. Vick
> oHG mit Sitz/based in Schwalbach/Ts. (Amtsgericht Königstein/Ts. HRA 2653)
> Pers. haftender Gesellschafter/Partner liable to unlimited extent:
> Cincom Systems Verwaltungsgesellschaft mbH (Amtsgericht Königstein/Ts. HRB 5069)
>
> --- CONFIDENTIALITY STATEMENT ---
> This e-mail transmission contains information that is intended to be privileged and confidential. It is intended only for the addressee named above. If you receive this e-mail in error, please do not read, copy or disseminate it in any manner. If you are not the intended recipient, any disclosure, copying, distribution or use of the contents of this information is prohibited, please reply to the message immediately by informing the sender that the message was misdirected. After replying, please erase it from your computer system. Your assistance in correcting this error is appreciated.
>
>
> Von: Juraj Kubelka [mailto:juraj.kubelka@icloud.com]
> Gesendet: Donnerstag, 3. August 2017 09:31
> An: Any question about pharo is welcome <pharo-users(a)lists.pharo.org>; Pharo Development List <pharo-dev(a)lists.pharo.org>; Squeak Virtual Machine Development Discussion <vm-dev(a)lists.squeakfoundation.org>; squeak-dev(a)lists.squeakfoundation.org; vwnc(a)lists.cs.illinois.edu
> Betreff: [vwnc] Live Programming in Smalltalk development environments survey + raffle
>
> â âWe are apologize for multiple copies.â â
>
> Dear Smalltalker,
>
> Live programming frees developers from the "edit-compile-run" loop and allows people to interact with running programs very easily. Live programming is getting popular, but many of its features have
> been present in Smalltalk for a very long time.
>
> We want to understand how Smalltalk software developers use live programming features in practice. We would be grateful if you could participate in our 10-minute survey on this subject:
> http://bit.ly/2ufcg2D <http://bit.ly/2ufcg2D>
>
> As a thank you for your participation, you will be able to participate in a raffle to win a Smalltalk book of your choice. If you wish to participate, you will need to share your email with us, so
> that we can contact you.
> We will appreciate if you share the survey
> - Twitter post: https://twitter.com/JurajKubelka/status/893006267085709312 <https://twitter.com/JurajKubelka/status/893006267085709312>
> - Facebook post: https://www.facebook.com/juraj.kubelka/posts/10212505941300008 <https://www.facebook.com/juraj.kubelka/posts/10212505941300008>
>
> By participating in the survey you will:
> - help me to successfully finish my PhD,
> - push Smalltalk awareness in Live Programming research community,
> - bring new integrated electronic communication ideas, and
> - bring new ideas to improve our Smalltalk Live Programming experience :-)
>
> We will close the survey on Wednesday, August 9, 2017 AoE.
>
> Thank you and we really hope you enjoy participating in our survey!
>
> Juraj Kubelka, PhD Student at the University of Chile
>
> Romain Robbes, Professor at Free University of Bozen-Bolzano
>
> Alexandre Bergel, Professor at the University of Chile
Aug. 3, 2017
Re: [Pharo-dev] Creating the smallest server runtime footprint
by Pavel Krivanek
2017-08-03 10:14 GMT+02:00 Pavel Krivanek <pavel.krivanek(a)gmail.com>:
> The easiest think you can do is to copy to your repository (or some other)
> related packages from the Pharo repository (to do not have to clone it all):
>
> Metacello-GitBasedRepository.package
> Metacello-GitHub.package
> SUnit-Core.package
>
> and create baseline to load them. I already tried it so you can test it:
> https://drive.google.com/open?id=0BzSsmZhqtUTeMVJacTZtdW5UQW8
>
> Then you will do something like:
>
(accidental message send ;-) )
BASELINE=MetacelloGitBasedRepository
pharo "$IMAGE_NAME.image" --no-default-preferences eval --save \
"Metacello new baseline: '$BASELINE'; repository:
'filetree://./PharoLambda/src'; load."
BASELINE=Lambda
pharo "$IMAGE_NAME.image" --no-default-preferences eval --save \
"Metacello new baseline: '$BASELINE'; repository:
'filetree://./PharoLambda/src'; load."
As I tried that. The baseline of Lambda is then able to be loaded.
-- Pavel
>
>
> 2017-08-02 15:18 GMT+02:00 Tim Mackinnon <tim(a)testit.works>:
>
>> Ah, I think Iâm starting to get closer to what I needâ¦
>>
>> So if I want to load in that last piece to enable more general remote
>> loading - how do I figure out how to do that? Iâm trying to work out where
>> the build steps for building up the image (can I see them in Jenkins? It
>> wasnât clear to me if I can look it up? Or the BaselineOfIDE was mentioned
>> - looking there I can see a few metacello and gofer packages - but then I
>> guess Iâm looking for an easy Mcz I can use with the example below?
>>
>> Or do I just load Metacello as a git submodule and then it will be on my
>> local filesystem to then bootstrap up?
>>
>> I guess Iâm trying to work out the best sustainable approach to getting
>> to a good server based image that has minimal tools and the ability to
>> easily load remote code for pre-req projects.
>>
>> Tim
>>
>> On 2 Aug 2017, at 07:05, Guillermo Polito <guillermopolito(a)gmail.com>
>> wrote:
>>
>> Yes, you should be able to load an mcz in that image by doing:
>>
>> (MCDirectoryRepository new directory: 'where-your-mcz-is')
>> loadVersionFromFileNamed: 'Metacello-GitBasedRepository-Author.1.mcz')
>> load.
>>
>> Guille
>>
>> On Wed, Aug 2, 2017 at 7:57 AM, Pavel Krivanek <pavel.krivanek(a)gmail.com>
>> wrote:
>>
>>>
>>> 2017-08-01 23:13 GMT+02:00 Tim Mackinnon <tim(a)testit.works>:
>>>
>>>> Hi Pavel - I tried it again and the problem is do with Metacello
>>>> dependencies in your baseline.
>>>>
>>>> The SUnit baseline doesnât specify any additional dependencies to load
>>>> (it just loads local packages), whereas my baseline that fails looks like
>>>> this:
>>>>
>>>> baseline: spec
>>>> <baseline>
>>>>
>>>> spec for: #common do: [
>>>> spec configuration: 'ZTimestamp' with: [
>>>> spec
>>>> versionString: #stable;
>>>> repository: 'http://mc.stfx.eu/Neo' ].
>>>> spec baseline: 'AWS' with: [
>>>> spec repository: 'github://newapplesho/aws-sdk-
>>>> smalltalk:v1.10/pharo-repository' ].
>>>> spec
>>>> package: 'Lambda' with: [ spec requires: {'ZTimestamp'. 'AWS'}].
>>>> ].
>>>>
>>>>
>>>> The âspec configuration: â¦.â Specifications cause the error:
>>>>
>>>> 25 UndefinedObject(Object)>>*doesNotUnderstand: #addTo:*
>>>> 26 MCRepositoryGroup>>addRepository:
>>>>
>>>> If I remove those lines from my baseline above (as well the requires:
>>>> reference to them) I can then successfully load my packages.
>>>>
>>>> So is this something the minimal image should support (otherwise how do
>>>> you load external packages into your image without checking them in
>>>> locally?) OR is there something simple I can checkin and load locally to
>>>> return that behaviour? (Personally I think it would make sense to allow
>>>> remote loading - Iâm guessing Pharo itself as a core has everything it
>>>> needs - but if you want to do any experimentation on the core and need
>>>> remote packages, you would hit this too - so it feels a bit limiting).
>>>>
>>>
>>> The dependencies in th baseline are supported but the support for most
>>> of external repositories (like package Metacello-GitBasedRepository) is
>>> loaded at the end of bootstrapping process in BaselineOfIDE. We should
>>> check/solve dependencies and move it into the minimal Pharo. For now you
>>> can try to load it by yourself or work with already prepared local clones
>>> of required repositories.
>>>
>>> -- Pavel
>>>
>>>
>>>
>>>
>>>>
>>>> Tim
>>>>
>>>> On 1 Aug 2017, at 10:06, Pavel Krivanek <pavel.krivanek(a)gmail.com>
>>>> wrote:
>>>>
>>>>
>>>>
>>>> 2017-07-31 22:51 GMT+02:00 Tim Mackinnon <tim(a)testit.works>:
>>>>
>>>>> I wasnât clear on which image to retry - the
>>>>> https://ci.inria.fr/pharo/job/Pharo-6.0-Update-Step-3.2-
>>>>> Minimal/lastSuccessfulBuild/artifact/Pharo-minimal-64.zip one still
>>>>> shows as being last updated 7 days ago.
>>>>>
>>>>> The https://ci.inria.fr/pharo/view/6.0-SysConf/job/Pharo-6.0
>>>>> -Step-04-01-ConfigurationOfMinimalPharo/ one gives me a mismatch
>>>>> error: This interpreter (vers. 68021) cannot read image file (vers. 6521).
>>>>>
>>>>> The https://ci.inria.fr/pharo/view/7.0/job/70-Bootstrap-32bi
>>>>> t-Conversion/lastSuccessfulBuild/artifact/latest-minimal-64.zip one
>>>>> gives me a walkback when trying to run my install script :
>>>>>
>>>>> 25 UndefinedObject(Object)>>*doesNotUnderstand: #addTo:*
>>>>> 26 MCRepositoryGroup>>addRepository:
>>>>> 27 createRepository
>>>>> | repo |
>>>>> repo := self project createRepository: self.
>>>>> ^ MCRepositoryGroup default repositories
>>>>> detect: [ :each | each = repo ]
>>>>> ifNone: [
>>>>> MCRepositoryGroup default addRepository: repo.
>>>>> repo ] in MetacelloRepositorySpec>>createRepository
>>>>>
>>>>> I think this is because the image doesnât support Metacello? As in:
>>>>>
>>>>> Metacello new
>>>>> repository: 'filetree://../src';
>>>>> baseline: 'Lambda';
>>>>> load.
>>>>>
>>>>>
>>>>> How do you guys load things into the minimal images (I thought you
>>>>> used Metacello - but maybe you do it some other way?)
>>>>>
>>>>> I can use a big 6.1 image fine (as it has Metacello loaded) but Iâd
>>>>> really like a minimal solution - that can load in libraries like AWS S3, or
>>>>> XML parsing etc. and it seems like I should be a good customer for kicking
>>>>> the tires on all of this.
>>>>>
>>>>> Tim
>>>>>
>>>>>
>>>> I checked the 64-bit Pharo 7 minimal image and loading of baseline (of
>>>> SUnit from pharo-project/pharo) works:
>>>>
>>>> ./pharo Pharo7.0-minimal-64bit-b1625bf.image eval --save "Metacello
>>>> new baseline: 'SUnit'; repository: 'filetree://./pharo-core/src';
>>>> load."
>>>>
>>>> ./pharo Pharo7.0-minimal-64bit-b1625bf.image eval "TestCase suite run"
>>>>
>>>> Can you test it too?
>>>>
>>>> -- Pavel
>>>>
>>>>
>>>>
>>>
>>
>>
>> --
>>
>> Guille Polito
>>
>> Research Engineer
>> French National Center for Scientific Research - *http://www.cnrs.fr*
>> <http://www.cnrs.fr/>
>>
>>
>> *Web:* *http://guillep.github.io* <http://guillep.github.io/>
>> *Phone: *+33 06 52 70 66 13 <+33%206%2052%2070%2066%2013>
>>
>>
>>
>
Aug. 3, 2017
Re: [Pharo-dev] Creating the smallest server runtime footprint
by Pavel Krivanek
The easiest think you can do is to copy to your repository (or some other)
related packages from the Pharo repository (to do not have to clone it all):
Metacello-GitBasedRepository.package
Metacello-GitHub.package
SUnit-Core.package
and create baseline to load them. I already tried it so you can test it:
https://drive.google.com/open?id=0BzSsmZhqtUTeMVJacTZtdW5UQW8
Then you will do something like:
2017-08-02 15:18 GMT+02:00 Tim Mackinnon <tim(a)testit.works>:
> Ah, I think Iâm starting to get closer to what I needâ¦
>
> So if I want to load in that last piece to enable more general remote
> loading - how do I figure out how to do that? Iâm trying to work out where
> the build steps for building up the image (can I see them in Jenkins? It
> wasnât clear to me if I can look it up? Or the BaselineOfIDE was mentioned
> - looking there I can see a few metacello and gofer packages - but then I
> guess Iâm looking for an easy Mcz I can use with the example below?
>
> Or do I just load Metacello as a git submodule and then it will be on my
> local filesystem to then bootstrap up?
>
> I guess Iâm trying to work out the best sustainable approach to getting to
> a good server based image that has minimal tools and the ability to easily
> load remote code for pre-req projects.
>
> Tim
>
> On 2 Aug 2017, at 07:05, Guillermo Polito <guillermopolito(a)gmail.com>
> wrote:
>
> Yes, you should be able to load an mcz in that image by doing:
>
> (MCDirectoryRepository new directory: 'where-your-mcz-is')
> loadVersionFromFileNamed: 'Metacello-GitBasedRepository-Author.1.mcz')
> load.
>
> Guille
>
> On Wed, Aug 2, 2017 at 7:57 AM, Pavel Krivanek <pavel.krivanek(a)gmail.com>
> wrote:
>
>>
>> 2017-08-01 23:13 GMT+02:00 Tim Mackinnon <tim(a)testit.works>:
>>
>>> Hi Pavel - I tried it again and the problem is do with Metacello
>>> dependencies in your baseline.
>>>
>>> The SUnit baseline doesnât specify any additional dependencies to load
>>> (it just loads local packages), whereas my baseline that fails looks like
>>> this:
>>>
>>> baseline: spec
>>> <baseline>
>>>
>>> spec for: #common do: [
>>> spec configuration: 'ZTimestamp' with: [
>>> spec
>>> versionString: #stable;
>>> repository: 'http://mc.stfx.eu/Neo' ].
>>> spec baseline: 'AWS' with: [
>>> spec repository: 'github://newapplesho/aws-sdk-
>>> smalltalk:v1.10/pharo-repository' ].
>>> spec
>>> package: 'Lambda' with: [ spec requires: {'ZTimestamp'. 'AWS'}].
>>> ].
>>>
>>>
>>> The âspec configuration: â¦.â Specifications cause the error:
>>>
>>> 25 UndefinedObject(Object)>>*doesNotUnderstand: #addTo:*
>>> 26 MCRepositoryGroup>>addRepository:
>>>
>>> If I remove those lines from my baseline above (as well the requires:
>>> reference to them) I can then successfully load my packages.
>>>
>>> So is this something the minimal image should support (otherwise how do
>>> you load external packages into your image without checking them in
>>> locally?) OR is there something simple I can checkin and load locally to
>>> return that behaviour? (Personally I think it would make sense to allow
>>> remote loading - Iâm guessing Pharo itself as a core has everything it
>>> needs - but if you want to do any experimentation on the core and need
>>> remote packages, you would hit this too - so it feels a bit limiting).
>>>
>>
>> The dependencies in th baseline are supported but the support for most of
>> external repositories (like package Metacello-GitBasedRepository) is loaded
>> at the end of bootstrapping process in BaselineOfIDE. We should check/solve
>> dependencies and move it into the minimal Pharo. For now you can try to
>> load it by yourself or work with already prepared local clones of required
>> repositories.
>>
>> -- Pavel
>>
>>
>>
>>
>>>
>>> Tim
>>>
>>> On 1 Aug 2017, at 10:06, Pavel Krivanek <pavel.krivanek(a)gmail.com>
>>> wrote:
>>>
>>>
>>>
>>> 2017-07-31 22:51 GMT+02:00 Tim Mackinnon <tim(a)testit.works>:
>>>
>>>> I wasnât clear on which image to retry - the https://ci.inria.fr/pharo/
>>>> job/Pharo-6.0-Update-Step-3.2-Minimal/lastSuccessfulBuild/ar
>>>> tifact/Pharo-minimal-64.zip one still shows as being last updated 7
>>>> days ago.
>>>>
>>>> The https://ci.inria.fr/pharo/view/6.0-SysConf/job/Pharo-6.0
>>>> -Step-04-01-ConfigurationOfMinimalPharo/ one gives me a mismatch
>>>> error: This interpreter (vers. 68021) cannot read image file (vers. 6521).
>>>>
>>>> The https://ci.inria.fr/pharo/view/7.0/job/70-Bootstrap-32bi
>>>> t-Conversion/lastSuccessfulBuild/artifact/latest-minimal-64.zip one
>>>> gives me a walkback when trying to run my install script :
>>>>
>>>> 25 UndefinedObject(Object)>>*doesNotUnderstand: #addTo:*
>>>> 26 MCRepositoryGroup>>addRepository:
>>>> 27 createRepository
>>>> | repo |
>>>> repo := self project createRepository: self.
>>>> ^ MCRepositoryGroup default repositories
>>>> detect: [ :each | each = repo ]
>>>> ifNone: [
>>>> MCRepositoryGroup default addRepository: repo.
>>>> repo ] in MetacelloRepositorySpec>>createRepository
>>>>
>>>> I think this is because the image doesnât support Metacello? As in:
>>>>
>>>> Metacello new
>>>> repository: 'filetree://../src';
>>>> baseline: 'Lambda';
>>>> load.
>>>>
>>>>
>>>> How do you guys load things into the minimal images (I thought you used
>>>> Metacello - but maybe you do it some other way?)
>>>>
>>>> I can use a big 6.1 image fine (as it has Metacello loaded) but Iâd
>>>> really like a minimal solution - that can load in libraries like AWS S3, or
>>>> XML parsing etc. and it seems like I should be a good customer for kicking
>>>> the tires on all of this.
>>>>
>>>> Tim
>>>>
>>>>
>>> I checked the 64-bit Pharo 7 minimal image and loading of baseline (of
>>> SUnit from pharo-project/pharo) works:
>>>
>>> ./pharo Pharo7.0-minimal-64bit-b1625bf.image eval --save "Metacello new
>>> baseline: 'SUnit'; repository: 'filetree://./pharo-core/src'; load."
>>>
>>> ./pharo Pharo7.0-minimal-64bit-b1625bf.image eval "TestCase suite run"
>>>
>>> Can you test it too?
>>>
>>> -- Pavel
>>>
>>>
>>>
>>
>
>
> --
>
> Guille Polito
>
> Research Engineer
> French National Center for Scientific Research - *http://www.cnrs.fr*
> <http://www.cnrs.fr/>
>
>
> *Web:* *http://guillep.github.io* <http://guillep.github.io/>
> *Phone: *+33 06 52 70 66 13 <+33%206%2052%2070%2066%2013>
>
>
>
Aug. 3, 2017
Live Programming in Smalltalk development environments survey + raffle
by Juraj Kubelka
â âWe are apologize for multiple copies.â â
Dear Smalltalker,
Live programming frees developers from the "edit-compile-run" loop and allows people to interact with running programs very easily. Live programming is getting popular, but many of its features have been present in Smalltalk for a very long time.
We want to understand how Smalltalk software developers use live programming features in practice. We would be grateful if you could participate in our 10-minute survey on this subject: http://bit.ly/2ufcg2D <http://bit.ly/2ufcg2D>
As a thank you for your participation, you will be able to participate in a raffle to win a Smalltalk book of your choice. If you wish to participate, you will need to share your email with us, so that we can contact you.
We will appreciate if you share the survey
- Twitter post: https://twitter.com/JurajKubelka/status/893006267085709312 <https://twitter.com/JurajKubelka/status/893006267085709312>
- Facebook post: https://www.facebook.com/juraj.kubelka/posts/10212505941300008 <https://www.facebook.com/juraj.kubelka/posts/10212505941300008>
By participating in the survey you will:
- help me to successfully finish my PhD,
- push Smalltalk awareness in Live Programming research community,
- bring new integrated electronic communication ideas, and
- bring new ideas to improve our Smalltalk Live Programming experience :-)
We will close the survey on Wednesday, August 9, 2017 AoE.
Thank you and we really hope you enjoy participating in our survey!
Juraj Kubelka, PhD Student at the University of Chile
Romain Robbes, Professor at Free University of Bozen-Bolzano
Alexandre Bergel, Professor at the University of Chile
Aug. 3, 2017
Re: [Pharo-dev] [IMPORTANT] Following changes in the bootstrapping process
by Tudor Girba
Hi,
> On Aug 2, 2017, at 5:53 PM, Stephane Ducasse <stepharo.self(a)gmail.com> wrote:
>
>>> - Deprecated FileStream & childs (Moved to Deprecated70)
>>
>> *Counts direct references to FileStream & subclasses in a 6.1 Moose image*
>> Brave souls!
>
> It means that Moose will have to update. These classes are not gone
> just deprecated.
I am looking forward for moving to 7.0 and updating this part. Most people look at this type of upgrade like a chore, but I think it will be fun :)
>> I hope the migration guide will be up to snuff, or I imagine a large
>> percentage will be staying on 7.0 for a looong while :)
>
> Henrik did you mean 6.0?
> We would to resurrect andre automatic evolver. But well this is work
> when we do not know
> how to set it up.
This would be interesting.
Doru
>>
>> Cheers,
>> Henry
>>
>>
>>
>> --
>> View this message in context: http://forum.world.st/IMPORTANT-Following-changes-in-the-bootstrapping-proc…
>> Sent from the Pharo Smalltalk Developers mailing list archive at Nabble.com.
>>
>
--
www.tudorgirba.com
www.feenk.com
"Be rather willing to give than demanding to get."
Aug. 3, 2017
Question about Bloc
by Alexandre Bergel
Hi!
We were wondering whether someone did some workload with Bloc. How many elements can Bloc render, at the same time?
Is there a support for Quad-Tree ?
Cheers,
Alexandre
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
Aug. 3, 2017
Re: [Pharo-dev] Creating the smallest server runtime footprint
by Tim Mackinnon
As an aside, Iâve just noticed that I get the same error in a normal 6.1 image when you try to load a baselineof package in Iceberg using the install menu option. So I wonder if this might actually be a bug in the image that the minimal version is getting as well?
Tim
> On 1 Aug 2017, at 22:13, Tim Mackinnon <tim(a)testit.works> wrote:
>
> Hi Pavel - I tried it again and the problem is do with Metacello dependencies in your baseline.
>
> The SUnit baseline doesnât specify any additional dependencies to load (it just loads local packages), whereas my baseline that fails looks like this:
>
> baseline: spec
> <baseline>
>
> spec for: #common do: [
> spec configuration: 'ZTimestamp' with: [
> spec
> versionString: #stable;
> repository: 'http://mc.stfx.eu/Neo <http://mc.stfx.eu/Neo>' ].
>
> spec baseline: 'AWS' with: [
> spec repository: 'github://newapplesho/aws-sdk-smalltalk:v1.10/pharo-repository <github://newapplesho/aws-sdk-smalltalk:v1.10/pharo-repository>' ].
>
> spec
> package: 'Lambda' with: [ spec requires: {'ZTimestamp'. 'AWS'}].
>
> ].
>
>
> The âspec configuration: â¦.â Specifications cause the error:
>
> 25 UndefinedObject(Object)>>doesNotUnderstand: #addTo:
> 26 MCRepositoryGroup>>addRepository:
>
> If I remove those lines from my baseline above (as well the requires: reference to them) I can then successfully load my packages.
>
> So is this something the minimal image should support (otherwise how do you load external packages into your image without checking them in locally?) OR is there something simple I can checkin and load locally to return that behaviour? (Personally I think it would make sense to allow remote loading - Iâm guessing Pharo itself as a core has everything it needs - but if you want to do any experimentation on the core and need remote packages, you would hit this too - so it feels a bit limiting).
>
> Tim
>
>> On 1 Aug 2017, at 10:06, Pavel Krivanek <pavel.krivanek(a)gmail.com <mailto:pavel.krivanek@gmail.com>> wrote:
>>
>>
>>
>> 2017-07-31 22:51 GMT+02:00 Tim Mackinnon <tim(a)testit.works <mailto:tim@testit.works>>:
>> I wasnât clear on which image to retry - the https://ci.inria.fr/pharo/job/Pharo-6.0-Update-Step-3.2-Minimal/lastSuccess… <https://ci.inria.fr/pharo/job/Pharo-6.0-Update-Step-3.2-Minimal/lastSuccess…> one still shows as being last updated 7 days ago.
>>
>> The https://ci.inria.fr/pharo/view/6.0-SysConf/job/Pharo-6.0-Step-04-01-Configu… <https://ci.inria.fr/pharo/view/6.0-SysConf/job/Pharo-6.0-Step-04-01-Configu…> one gives me a mismatch error: This interpreter (vers. 68021) cannot read image file (vers. 6521).
>>
>> The https://ci.inria.fr/pharo/view/7.0/job/70-Bootstrap-32bit-Conversion/lastSu… <https://ci.inria.fr/pharo/view/7.0/job/70-Bootstrap-32bit-Conversion/lastSu…> one gives me a walkback when trying to run my install script :
>>
>> 25 UndefinedObject(Object)>>doesNotUnderstand: #addTo:
>> 26 MCRepositoryGroup>>addRepository:
>> 27 createRepository
>> | repo |
>> repo := self project createRepository: self.
>> ^ MCRepositoryGroup default repositories
>> detect: [ :each | each = repo ]
>> ifNone: [
>> MCRepositoryGroup default addRepository: repo.
>> repo ] in MetacelloRepositorySpec>>createRepository
>>
>> I think this is because the image doesnât support Metacello? As in:
>> Metacello new
>> repository: 'filetree://../src <>';
>> baseline: 'Lambda';
>> load.
>>
>> How do you guys load things into the minimal images (I thought you used Metacello - but maybe you do it some other way?)
>>
>> I can use a big 6.1 image fine (as it has Metacello loaded) but Iâd really like a minimal solution - that can load in libraries like AWS S3, or XML parsing etc. and it seems like I should be a good customer for kicking the tires on all of this.
>>
>> Tim
>>
>>
>> I checked the 64-bit Pharo 7 minimal image and loading of baseline (of SUnit from pharo-project/pharo) works:
>>
>> ./pharo Pharo7.0-minimal-64bit-b1625bf.image eval --save "Metacello new baseline: 'SUnit'; repository: 'filetree://./pharo-core/src <filetree://./pharo-core/src>'; load."
>>
>> ./pharo Pharo7.0-minimal-64bit-b1625bf.image eval "TestCase suite run"
>>
>> Can you test it too?
>>
>> -- Pavel
>
Aug. 2, 2017
Re: [Pharo-dev] [IMPORTANT] Following changes in the bootstrapping process
by Henrik Sperre Johansen
Stephane Ducasse-3 wrote
>>> - Deprecated FileStream & childs (Moved to Deprecated70)
>>
>> *Counts direct references to FileStream & subclasses in a 6.1 Moose
>> image*
>> Brave souls!
>
> It means that Moose will have to update. These classes are not gone
> just deprecated.
Not just Moose, also all the packages it depends on.
Included in said image, at a cursory glance;
- Metacello
- Fuel
- SmaCC
- Beacon
- Fame
- Grease
- PetitParser2
- Roassal2
- Rubric
And that's just a quick count of the *direct* FileStream references, not
including the majority of cases requiring rewrites as a result of FileHandle
write/readStream now returning a pure binary stream / API of Zn stream being
different from old File streams.
Stephane Ducasse-3 wrote
>> I hope the migration guide will be up to snuff, or I imagine a large
>> percentage will be staying on 7.0 for a looong while :)
>
> Henrik did you mean 6.0?
Deprecated in 70 means slated for removal in 80 / only deprecation warnings
on use in 7.0, no?
So going to 7.0 will still be possible in most cases, with warnings turned
off.
8.0 is where the leap will be.
Stephane Ducasse-3 wrote
> We would to resurrect andre automatic evolver. But well this is work
> when we do not know
> how to set it up.
Like I said, brave souls!
Cheers,
Henry
--
View this message in context: http://forum.world.st/IMPORTANT-Following-changes-in-the-bootstrapping-proc…
Sent from the Pharo Smalltalk Developers mailing list archive at Nabble.com.
Aug. 2, 2017
Re: [Pharo-dev] [IMPORTANT] Following changes in the bootstrapping process
by Stephane Ducasse
>> - Deprecated FileStream & childs (Moved to Deprecated70)
>
> *Counts direct references to FileStream & subclasses in a 6.1 Moose image*
> Brave souls!
It means that Moose will have to update. These classes are not gone
just deprecated.
> I hope the migration guide will be up to snuff, or I imagine a large
> percentage will be staying on 7.0 for a looong while :)
Henrik did you mean 6.0?
We would to resurrect andre automatic evolver. But well this is work
when we do not know
how to set it up.
>
> Cheers,
> Henry
>
>
>
> --
> View this message in context: http://forum.world.st/IMPORTANT-Following-changes-in-the-bootstrapping-proc…
> Sent from the Pharo Smalltalk Developers mailing list archive at Nabble.com.
>
Aug. 2, 2017