[ENH] SARInstallerEnhancements-nk

goran.krampe at bluefish.se goran.krampe at bluefish.se
Tue Jul 22 15:25:57 UTC 2003


Ned Konz <ned at bike-nomad.com> wrote:
> On Monday 21 July 2003 04:23 pm, Doug Way wrote:
> > (Another complicating factor is that the image will always (well,
> > for a long time) list "SARInstaller for 3.4" as being installed,
> > because we can't uninstall packages right now.  Although we could
> > unregister that one in the image, and then register a SARInstaller
> > for 3.6 or similar. Or...)
> 
> Well, I don't see any "official" way to mark a package as being 
> uninstalled. Though I could just remove it from the installedPackages 
> dictionary, this won't leave any trail.

Right. Note that the installedPackages Dictionary is different in
SM1.07. Now it has an OrderedCollection of Arrays as values with
timestamps and sequence numbers etc, see the code.

But you can still manipulate it in whichever way you like, we should
probably add some API for uninstallation etc.

The only "other" place where this info is kept is in the changelog, and
the idea of keeping doits in there to try to keep the installedPackages
Dictionary "correct" when recovering images was perhaps not that smart
anyway.

regards, Göran



More information about the Squeak-dev mailing list