Hi Stef,
Not yet. I was away :)
Doru
On Sat, Aug 11, 2012 at 11:19 AM, Stéphane Ducasse
<stephane.ducasse(a)inria.fr> wrote:
doru
did you get a look?
because I thought that this is what you wanted to snapshot moose versions?
Stef
On Aug 2, 2012, at 4:47 PM, Guillaume Larcheveque wrote:
Today we created a tool with stephane:
I'm a kind of loader that know how to save and load list of packages.
First when you have a configuration of packages that you want to version use:
(Pay attention version and save first your packages, we are talking here about saving a
list of packages not the packages themselves)
publishNewVersion
it will create a new method scriptXXX on the MooseConfigurationRepository
You can then version this class in the package containing the Reloader class.
In another image once you load this new version you can reload the configuration you save
using the method
reload: aNumber
and it will load all the packages you previously specified.
Under the cover, we need a way to know which packages to save and where to load them.
Here is how this information is specified right now, it can be modified using accessors.
defaultSavedPackagesPatternNames
^ #(#('Moose-Tests-Algos-InformationRetrieval*'
'http://www.squeaksource.com/MooseAlgos') #('Moose-Settings*'
'http://www.squeaksource.com/Moose') #('ConfigurationOfNewECompletion*'
'http://ss3.gemstone.com/ss/NEC') #('Fame-Example*'
'http://www.squeaksource.com/Fame')
#('Moose-Tests-Algos-FormalConceptAnalysis*'
'http://www.squeaksource.com/MooseAlgos') #('CollectionExtensions*'
'http://www.squeaksource.com/CollectionExtensions') #('Grease-Core*'
'http://www.squeaksource.com/Seaside30') #('PetitSmalltalk*'
'http://source.lukas-renggli.ch/petit') #('Mondrian-Visitor*'
'http://www.squeaksource ......)
Currently, it kills squeaksource but we will retry with a wait between each package
and it should works.
This tool is available at:
http://www.smalltalkhub.com/mc/StephaneDucasse/MooseReloader/main
--
Guillaume Larcheveque
_______________________________________________
Moose-dev mailing list
Moose-dev(a)iam.unibe.ch
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
_______________________________________________
Moose-dev mailing list
Moose-dev(a)iam.unibe.ch
https://www.iam.unibe.ch/mailman/listinfo/moose-dev