[Cuis-dev] uninstalling a package

ken.dickey at whidbey.com ken.dickey at whidbey.com
Thu Jun 6 10:37:56 PDT 2024


On 2024-06-06 07:50, Mark Volkmann via Cuis-dev wrote:
..
> What does the "delete/merge" button in the "Installed Packages" window 
> do? Does it just remove the name of the package from the list of 
> installed packages?

Cuis is an exploratory environment -- the system reflects upon itself.

Opening an Installed Packages Browser

Command-click the Morph, select menu: debug->`browse morph class`

Note CodePackageListWindow>>deletePackage in the `commands` method 
category.

Note `CodePackage deregister: current` in the code.  Select and ask for 
`implementers`.

Note `self installedPackages removeKey: aCodePackage packageName.` which 
suggests that the action of delete/merge is to remove knowledge of the 
named Package and so consider its code just a part of the current image.

As a quick check, you can `Feature require: 'FFI'.` (or any small 
package).

Open the Installed Packages browser and delete/merge the FFI package.

Open a Code Browser and note that the package code still there.  [Test 
assumptions]

Close the image without saving. -- just a test..

Become an explorer!  Cuis welcomes this!

Good on ya,
-KenD


More information about the Cuis-dev mailing list