]> git.eshelyaron.com Git - emacs.git/commit
Handle missing dependencies for source packages
authorPhilip Kaludercic <philipk@posteo.net>
Sun, 25 Dec 2022 08:35:36 +0000 (09:35 +0100)
committerPhilip Kaludercic <philipk@posteo.net>
Sun, 25 Dec 2022 08:36:01 +0000 (09:36 +0100)
commitb38e56d8a98d9488ed6ae16521334c25304153ca
treefb03f8463a75b91198d95b5042f01819be998f02
parent7bc7b6b4dd9dde10d08eb421a98f6d19fcfbfa1a
Handle missing dependencies for source packages

* lisp/emacs-lisp/package-vc.el (package-vc-install-dependencies): Add
new function.
(package-vc--unpack-1): Call 'package-vc-install-dependencies' instead
of 'package-compute-transaction' and 'package-download-transaction'.

It is unreasonable to abort the installation, since we cannot expect
all dependencies to be available in the regular archives.  Instead we
note which packages couldn't be found, and warn the user that these
will be missing.
lisp/emacs-lisp/package-vc.el