SARInstaller for both 3.4/3.6 in updated image

goran.krampe at bluefish.se goran.krampe at bluefish.se
Sun Aug 10 08:59:17 UTC 2003


Doug Way <dway at riskmetrics.com> wrote:
> 
> >>> SMSqueakMap default installedPackagesDictionary removeKey:
> >>> (SMSqueakMap default cardWithName: 'SARInstaller for 3.4') id
> >>
> >> This seems to work.  Assuming this is reasonably safe, maybe we should
> >
> > Should be safe. There are no other places (Except for the ChangeLog of
> > course! But we can't do much about that - replaying changes will get
> > this back, as would the #recreateYaddayadda method) with this state.
> 
> Oops, well it turns out this doesn't work in a fresh image which hasn't 
> had a PackageLoader opened yet.  Sigh.  (I think this was roughly the 
> same problem with why it was difficult to de-register the package in 
> Ned's earlier update.)  My fresh image still knows that it has 
> 'SARInstaller for 3.4' installed, though... it shows up if I open a 
> PackageLoader later.
> 
> I'll leave this Doit out of the update stream for now, unless we find a 
> better fix.
> 
> (Is there a simple way to populate the 'cards' dictionary in 
> SMSqueakMap?  That seems to be the problem.)

But I think a simpler solution is to make the code work even without the
map loaded, like:

SMSqueakMap default installedPackagesDictionary removeKey: (UUID
fromString: '16dff307-ff49-4996-a216-957989e92d48'

(that is the id of "SARInstaller for 3.4")

regards, Göran



More information about the Squeak-dev mailing list