[Cuis-dev] Reload button in package list tool

Luciano Notarfrancesco luchiano at gmail.com
Wed Mar 9 22:26:11 PST 2022


Is it actually possible to load a different version of a package that is
already installed? Sounds quite nontrivial, same as uninstalling a package.
For example what happens if an installed package implements
Object>>#printOn: but the new version doesn’t? You restore the #printOn:
from the base image? Not to mention that a package could run arbitrary code
on loading, I have no idea how to reverse that.


On Mon, 7 Mar 2022 at 7:46 PM Mariano Montone via Cuis-dev <
cuis-dev at lists.cuis.st> wrote:

> Hi,
>
> I'd like to add a reload button in package list.
>
> It reloads the package with what is on disk.
>
> It would serve for both:
> - Updating a package to latest version on disk.
> - Reverting changes to a package. User wants to discard the unsaved
> changes to a package.
>
> If user has unsaved changes and tries to reload, Cuis warns and confirms
> the action.
>
> I don't know if you'll like it. I do.
>
> Cheers,
>
> Mariano--
> Cuis-dev mailing list
> Cuis-dev at lists.cuis.st
> https://lists.cuis.st/mailman/listinfo/cuis-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20220310/b751e2ec/attachment-0001.htm>


More information about the Cuis-dev mailing list