GNU bug report logs -
#69410
30.0.50; [WISHLIST] Use-package: allow :ensure to accept package spec instead of separate :vc keyword
Previous Next
To reply to this bug, email your comments to 69410 AT debbugs.gnu.org.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#69410
; Package
emacs
.
(Mon, 26 Feb 2024 16:26:03 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
No Wayman <iarchivedmywholelife <at> gmail.com>
:
New bug report received and forwarded. Copy sent to
bug-gnu-emacs <at> gnu.org
.
(Mon, 26 Feb 2024 16:26:03 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
I think it would be cleaner to allow use-package's :ensure keyword
to accept the arguments the :vc keyword currently does. e.g.
;; Install EXAMPLE package from ELPA archive
(use-package example :ensure t)
;; Install EXAMPLE package from source
(use-package example :ensure (:url
"https://www.forge.com/maintainer/example"))
My reasoning is that this has greater potential to work across
multiple package managers.
Instead of each package manager adding their own use-package
keyword (e.g. :vc, :straight, :elpaca), they can all interpret the
:ensure keyword's value. It would make things simpler for package
maintainers offering example declarations and users switching
between package managers.
Thoughts?
This bug report was last modified 67 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.