Hi,
I'm using the Metacello scripting API to load my code into the image. In some cases, I make some changes in my Pharo image that I decide to throw away. I would then like to load my baseline from a file tree repository into my image. If I use Gofer, and there are changes in the image, I get this behaviour: a warning that says I have unsaved changes in my image, and I then have the option to Load, Merge or Cancel. I like this. If I use Metacello, the changes in my image are not updated and the package stays dirty. I've spent considerable time debugging and frankly, I'm giving up. I end up in loadUsing:gofer:, that goes through a chain of load directives, and this ends up doing nothing. Any ideas? Thanks Otto -- You received this message because you are subscribed to the Google Groups "Metacello" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. For more options, visit https://groups.google.com/groups/opt_out. |
this is not metacello stuff, but I’m usually throw away the image and create a new one, if I want to go back to previous versions.
I have a script: phget -o -d myDir it will download latest image put in subdir myDir (with name myDir.image) and if it find a file: pharo_config with some template it will load the configuration. you can see my scripts and take a look at pharo_config template here: https://github.com/EstebanLM/pharo-scripts/tree/master/tools cheers, Esteban ps: they assume a mac and vm installed in Application/Pharo/…, but they can be easily adapted to any non-windows environment (and even windows with a decent tool setting :) On 07 Jan 2014, at 11:20, Otto Behrens <[hidden email]> wrote: > Hi, > > I'm using the Metacello scripting API to load my code into the image. > > In some cases, I make some changes in my Pharo image that I decide to > throw away. I would then like to load my baseline from a file tree > repository into my image. > > If I use Gofer, and there are changes in the image, I get this > behaviour: a warning that says I have unsaved changes in my image, and > I then have the option to Load, Merge or Cancel. I like this. > > If I use Metacello, the changes in my image are not updated and the > package stays dirty. I've spent considerable time debugging and > frankly, I'm giving up. I end up in loadUsing:gofer:, that goes > through a chain of load directives, and this ends up doing nothing. > > Any ideas? > > Thanks > Otto > > -- > You received this message because you are subscribed to the Google Groups "Metacello" group. > To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. > For more options, visit https://groups.google.com/groups/opt_out. -- You received this message because you are subscribed to the Google Groups "Metacello" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. For more options, visit https://groups.google.com/groups/opt_out. |
> this is not metacello stuff, but I’m usually throw away the image and create a new one, if I want to go back to previous versions.
> I have a script: > > phget -o -d myDir > > it will download latest image put in subdir myDir (with name myDir.image) and if it find a file: pharo_config with some template it will load the configuration. Thanks, we've got the option of getting a new using our tools / scripts too. But if I have changed 5 methods that I want to ditch, then building an image takes some time. I'd like this to be fast and I can't see why it is not possible to load from disk quickly, ignoring changes in the image if I wish? -- You received this message because you are subscribed to the Google Groups "Metacello" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. For more options, visit https://groups.google.com/groups/opt_out. |
you can also just force the load in monticello browser
On 07 Jan 2014, at 13:22, Otto Behrens <[hidden email]> wrote: >> this is not metacello stuff, but I’m usually throw away the image and create a new one, if I want to go back to previous versions. >> I have a script: >> >> phget -o -d myDir >> >> it will download latest image put in subdir myDir (with name myDir.image) and if it find a file: pharo_config with some template it will load the configuration. > > Thanks, we've got the option of getting a new using our tools / > scripts too. But if I have changed 5 methods that I want to ditch, > then building an image takes some time. I'd like this to be fast and I > can't see why it is not possible to load from disk quickly, ignoring > changes in the image if I wish? > > -- > You received this message because you are subscribed to the Google Groups "Metacello" group. > To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. > For more options, visit https://groups.google.com/groups/opt_out. -- You received this message because you are subscribed to the Google Groups "Metacello" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. For more options, visit https://groups.google.com/groups/opt_out. |
Free forum by Nabble | Edit this page |