[Pharo-users] How to #currentVersion from a Configuration

2018-04-02 Thread Hilaire
Hello, I use to do perform this code to get the installed version from a ConfigurationOfDrGeo: drgeoVersion     ^ 'Installed version: ', ConfigurationOfDrGeo new project currentVersion versionNumber versionString It does not work anymore, and produce the following error stack Any idea? Hi

Re: [Pharo-users] unsolicited package-cache use

2018-04-02 Thread Hilaire
Hi Dale, Sorry to reply very lately to your help email, I am getting slow on Pharo those those days. I am afraid to be a bit out of sync: what is a BaselineOf? I only have a ConfigurationOfDrGeo and baseline methods into. Hilaire Le 18/01/2018 à 16:10, Dale Henrichs a écrit : Hilaire,

[Pharo-users] Quick way to switch from playground to system browser

2018-04-02 Thread Andrei Stebakov
I wonder if there is a best practice for modifying code in you class in system browser and testing the behavior in the playground. The way I do it, I have to type the code, use the mouse to find and switch to the playground and then execute some code in it. Is there a more ergonomic way to modify/t

Re: [Pharo-users] unsolicited package-cache use

2018-04-02 Thread Stephane Ducasse
Hilaire A BaselineOf is the equivalent in better to a ConifgurationOf The key benefit is that you just specify a kind of ConfigurationOf baseline and you are done No need to express manually versions. With a baseline you can get branches, a specific hash So you have all the power but with le

Re: [Pharo-users] How to #currentVersion from a Configuration

2018-04-02 Thread Stephane Ducasse
In my pharo 6.1 image I have currentVersion | cacheKey cv | cacheKey := self configuration class. ^ MetacelloPlatform current stackCacheFor: #currentVersion at: cacheKey doing: [ :cache | cv := self currentVersionAgainst: nil. ^ cache at: cacheKey put: cv ] And we do not change the code that Dale

Re: [Pharo-users] Quick way to switch from playground to system browser

2018-04-02 Thread Stephane Ducasse
Yes define a test and you can press the green button. Else you can also define a class side method and it you tage it with XX class>> foo ^ self new. you will get an inspector in the returned object On Mon, Apr 2, 2018 at 7:48 PM, Andrei Stebakov wrote: > I wonder if there is a best practic

[Pharo-users] Dynamic shapes for RTEdgeBuilder

2018-04-02 Thread Andrei Stebakov
If I want to select edge shape (solid vs dashed line) based on the property of the "to" element, what technique can I use? Currently it looks like #shape method of RTEdgeBuilder only allows to specify a singe shape for all edges.

Re: [Pharo-users] unsolicited package-cache use

2018-04-02 Thread Hilaire
My needs are simple, but still I don't understand what I should do from my ConfigurationOfDrGeo Le 02/04/2018 à 19:53, Stephane Ducasse a écrit : Hilaire A BaselineOf is the equivalent in better to a ConifgurationOf The key benefit is that you just specify a kind of ConfigurationOf baseline

Re: [Pharo-users] How to #currentVersion from a Configuration

2018-04-02 Thread Hilaire
May be old ConfigurationOf breaks on some part I only added a baseline to my configuration: baseline1801: spec         spec for: #common do: [         spec blessing: #baseline;             repository: repoPath;             description: 'Dr. Geo, an interactive geometry application.';          

Re: [Pharo-users] unsolicited package-cache use

2018-04-02 Thread Hilaire
Reading the BaselineOf class comment, will start with that.. Le 02/04/2018 à 21:13, Hilaire a écrit : My needs are simple, but still I don't understand what I should do from my ConfigurationOfDrGeo -- Dr. Geo http://drgeo.eu

Re: [Pharo-users] unsolicited package-cache use

2018-04-02 Thread Thierry Goubier
Hi Hilaire, a BaselineOf is the same as a baseline method in a ConfigurationOf: a list of packages with their prerequisites and groups. What the BaselineOf does not contain are methods describing versions with package versions and author names; instead, what a BaselineOf says is: fetch the l

Re: [Pharo-users] Dynamic shapes for RTEdgeBuilder

2018-04-02 Thread Alexandre Bergel
Hi Andrei, Indeed, this is a limitation we did not see when we designed RTShapeBuilder and RTEdgeBuilder. Currently, you cannot select the shape based on some properties. Cheers, Alexandre > On Apr 2, 2018, at 3:55 PM, Andrei Stebakov wrote: > > If I want to select edge shape (solid vs dashed