Esteban
From a vocabulary point of view could loader be an extension of Gofer? Because we have Gofer, metacello, and keeping the list to the minimum would be cool.
Gofer configuration list GoferConfigurationLoader list ?? Stef
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.
yep, that's true. Currently I'm alpha-testing it and writing some tests and documentation, but now you can do things like:
Loader new list. "Lists all available projects, scanning all repositories" Loader new search: 'Blah'. "Looks for project Blah scanning all repositories. 'Blah' can be a segment, not just a full name" Loader new load: 'Blah'. "Load latest usable version of ConfigurationOfBlah." Loader new load: 'Blah' version: '1.0'. "Load '1.0' version of ConfigurationOfBlah." Loader new managed. "Answers a list of current managed projects." Loader new update. "Updates configurations for all managed projects." Loader new update: 'Blah'. "Updates ConfigurationOfBlah." Loader new upgrade. "Upgrades all managed project to a newest version (if present)". Loader new upgrade: 'Blah'. "Upgrades project 'Blah' to a newest version (if present)".
You can specify permanent repositories by executing:
Loader repository: 'http://myownrepo/project'. Loader repository: 'http://myownrepo/project' username: 'myself' password: 'secret'.
(this acts as adding universes to apt-get of debian)
And you can use "temporal" repositories: Loader new repository: 'http://myownrepo/project'; load: 'Blah'.
This repostories are dropped after use it, but any managed project keeps it for future managing.
I hope this will solve all the loading issues. In the future, you could do just:
Loader new load: 'Pharo'. and get a full PharoDev image :)
Cheers, Esteban
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project