Yes is in the to-do list. Some weeks ago Mariano created an account on the book site for me in order to update the relevant sections but only until now the configuration is working.
I will update it ASAP.
Cheers
El mié, 27-04-2011 a las 22:13 +0200, Stéphane Ducasse escribió:
cool miguel may be we should publish this information on the collabactive book.
stef
On Apr 27, 2011, at 6:35 PM, Miguel Cobá wrote:
Hi all,
I'm glad to announce a new version of ConfigurationOfMagma with support for Magma 1.2. This configuration has been tested on
PharoCore 1.1.x PharoCore 1.2.x
Thank you very much to Chris Muller who, as always, is working hard to keep Magma running on Squeak and Pharo. I used the same versions of packages he used in his scripts for Squeak in order to update the configuration.
You must download the latest PharoCore image or update a existing one before installing Magma, as Magma needs some changes that were applied to Pharo post-release and are available in the update stream.
Pharo 1.1.x
Download PharoCore 1.1.2 from:
https://gforge.inria.fr/frs/download.php/28341/PharoCore-1.1.2.zip
Update it if necessary and save it.
Pharo 1.2.x
You have two options:
- Take a released 1.2.1 from:
http://www.pharo-project.org/pharo-download/stable-core
This is actually image update 12345. Evaluate:
SystemVersion newVersion: 'Pharo1.2.2a'.
update the image (it will update to 12350, at this time) and save it.
- Take a snapshot of the upcoming 1.2.2 release of Pharo 1.2.x line
from:
https://gforge.inria.fr/frs/download.php/28436/PharoCore-1.2.2a-12345.zip
update the image (it will update to 12350, at this time) and save it.
Install Magma
Ok, now you have an updated image. Load the configuration by evaluating:
Gofer new squeaksource: 'MetacelloRepository'; package: 'ConfigurationOfMagma'; load.
And depending on which of client, server or the full suite of Magma do you want, evaluate:
- Magma client
((Smalltalk at: #ConfigurationOfMagma) project version: #stable) load: 'Client'.
- Magma server
((Smalltalk at: #ConfigurationOfMagma) project version: #stable) load: 'Server'.
- Magma tester
((Smalltalk at: #ConfigurationOfMagma) project version: #stable) load: 'Tester'.
For example, to load the full magma suite evaluate:
Gofer new squeaksource: 'MetacelloRepository'; package: 'ConfigurationOfMagma'; load. ((Smalltalk at: #ConfigurationOfMagma) project version: #stable) load: 'Tester'.
This will load client, server and test of Magma.
Running tests
To run the tests evaluate:
MagmaTestCase allowWriteBarrier: false. MagmaTestCase fullSuite maDebug.
Stable versions
This release of ConfigurationOfMagma includes support for Metacello's symbolic versions. Currently the #stable version of Magma is configured like this:
Pharo version #stable version
Pharo 1.1.x 1.2 Pharo 1.2.x 1.2 Pharo 1.3.x 1.2
That is, Magma 1.2 is the #stable version for Pharo 1.1, Pharo 1.2 and Pharo 1.3.
Known issues
Magma 1.2 loads correctly and appears to work for the basic things (create a repo, add data, commit, etc) in PharoCore 1.3 and Pharo 1.3, but the full suite hasn't ran correctly in the current unstable Pharo. So use Magma 1.2 on Pharo 1.3 on your own risk and not for production yet. When the issues (including the Transcript revert that should happen in Pharo soon) are addressed, a new announce will be made for Magma on Pharo 1.3
Any feedback welcome.
Enjoy.
Miguel Cobá http://twitter.com/MiguelCobaMtz http://miguel.leugim.com.mx
magma@lists.squeakfoundation.org