On Thu, Jan 7, 2010 at 10:33 PM, Alexandre Bergel <alexandre@bergel.eu>wrote:
A minor comment:
Gofer new squeaksource: 'MetacelloRepository'; package: 'ConfigurationOfPharo'; load.
((Smalltalk at: #ConfigurationOfPharo) project version: '1.0- rc2.10505') load.
I find this incantation quite ugly.
This is what we have so far.
Why not something like: Gofer load: 'ConfigurationOfPharo' version: '1.0-rc2.10505'. Gofer loadLastVersionOf: 'ConfigurationOfPharo'.
Because right now is the only way. If MetacelloConfigurations has acceptance, then we can even create a mehod in Gofer like this: Gofer new metacelloRepository: 'ConfigurationOfPharo'; package: 'Slime'; load.
Even better: Gofer load: 'Pharo' version: '1.0-rc2.10505'. Gofer loadLastVersionOf: 'Pharo'.
For example, I find the expression quite unintuitive: Gofer new squeaksource: 'Mondrian'; package: 'ConfigurationOfMondrian'; load. (Smalltalk at: #ConfigurationOfMondrian) perform: #loadDefault.
I always need to lookup the mondrian website. Gofer loadLastVersionOf: 'Mondrian' would be perfect (assuming that ConfigurationOfMondrian) is in MetacelloRepository
Yes, I agree. But don't worry. Esteban Lorenzano is working exatly in that. You will be able to do: Loader load: 'Pharo' version: '1.0' and wala!! (Esteban, correct me if I am wrong). However, this is yet in development and we are not even sure if this architecture will be the choosen one. We are just trying to see what we can doo.
Cheers, Alexandre -- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project