Starting new squeaksource image at sqf.org

Bert Freudenberg bert at impara.de
Sun Aug 28 20:06:11 UTC 2005


Am 28.08.2005 um 19:16 schrieb Doug Way:

> I tried starting my new squeaksource image (based on Bert's config)  
> at sqf.org last night.  It mostly worked, except there was an odd  
> problem with the mcz file names in the projects.  Instead of  
> listing Balloon-md.3.mcz etc under the Filename column, it listed  
> the commit-log description of the .mcz file in place of that.  This  
> caused filename-based retrieval to not work.
>
> I'm guessing this is an incompatibility in the data.obj  
> (repository) file format between Bert's config and the original SS  
> image that Avi setup... maybe an additional inst var is in there or  
> something.  I re-created the problem on my local machine by copying  
> the data.obj from sqf.org, also.
>
> Anyway, for now I just switched sqf.org back to the old SS image to  
> keep it running as it was.
>
> I played around with it some more on my machine, and I think what I  
> will do is just start over with a new data.obj repository.  I'll  
> set up the new data.obj with 3 superadmins (me, Marcus and Avi),  
> and the three re-created empty projects.  (Everyone else will need  
> to re-add their login, and then Marcus or I can add them as  
> developers to projects.)  I found there is a handy  
> SSFileSystem>>recoverAllLostVersions method which will repopulate  
> all of the .mcz files saved in the project directories, back into  
> the data.obj repository.  So we shouldn't lose any of the mcz  
> versions.  I'll run that once when I start it up, and we should be  
> back where we were before, except for the users to be added.
>
> I'll give this a try this evening... don't want to keep people  
> waiting on this any longer.  (If something goes wrong, I'll just  
> switch back to the old SS image for now again, but I think this  
> should work.)
>
> Once this is set up, then we'll be able to set up the real update  
> stream again.

Doh, this happens when you code in a live image ;-) You don't even  
notice reordering instance variables. I though I only added them at  
the end, and have lazy initialization, but apparently I forgot one  
place. You could find the offending place by looking at the database  
in the object explorer. Then you can still import your older data if  
you temporarily restore the former variable order, load the data,  
modify the variable order, and save.

- Bert -




More information about the Packages mailing list