emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Suggestion for package.el: atomic package-upgrade


From: dqs7cp2e
Subject: Suggestion for package.el: atomic package-upgrade
Date: Mon, 31 Jul 2023 08:58:16 +0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.13.1

The current `package-upgrade' from package.el delete old package
before installing the new one. This can be problematic if the user
interrupt the process or if there is some network problems.

`package-install' allow the same package to be installed if the
argument is `package-desc' instead symbol representing package name.
This allow package to be upgraded atomically. Is this a bad idea?

Attachment: package-upgrade--diff.txt
Description: Text document


reply via email to

[Prev in Thread] Current Thread [Next in Thread]