* bug#61937: 29.0.60; [FR] use-package :ensure to allow vc sources
@ 2023-03-03 14:57 Ruijie Yu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-03-04 9:29 ` Philip Kaludercic
0 siblings, 1 reply; 2+ messages in thread
From: Ruijie Yu via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2023-03-03 14:57 UTC (permalink / raw)
To: 61937
I have been using straight.el [1] before `use-package' was taken into
emacs.git, as I needed to use some packages not from any elpa source but
from vc sources. I recently noticed the function `package-vc-install'
has been introduced into 29, and would like to have `use-package' use it
in its :ensure form.
An analogous version from straight.el has already been made available,
which looks like the following:
(use-package foo
:straight (foo :repo "https://path.to/foo.el" :type git))
My hope is to extend :ensure form so that a similar specification can be
supplied to install packages directly from vc sources.
[1]: https://github.com/radian-software/straight.el
--
Best,
RY
^ permalink raw reply [flat|nested] 2+ messages in thread
* bug#61937: 29.0.60; [FR] use-package :ensure to allow vc sources
2023-03-03 14:57 bug#61937: 29.0.60; [FR] use-package :ensure to allow vc sources Ruijie Yu via Bug reports for GNU Emacs, the Swiss army knife of text editors
@ 2023-03-04 9:29 ` Philip Kaludercic
0 siblings, 0 replies; 2+ messages in thread
From: Philip Kaludercic @ 2023-03-04 9:29 UTC (permalink / raw)
To: Ruijie Yu; +Cc: 61937
Ruijie Yu <ruijie@netyu.xyz> writes:
> I have been using straight.el [1] before `use-package' was taken into
> emacs.git, as I needed to use some packages not from any elpa source but
> from vc sources. I recently noticed the function `package-vc-install'
> has been introduced into 29, and would like to have `use-package' use it
> in its :ensure form.
This has already been proposed (with a patch) in bug#60418.
> An analogous version from straight.el has already been made available,
> which looks like the following:
>
> (use-package foo
> :straight (foo :repo "https://path.to/foo.el" :type git))
>
> My hope is to extend :ensure form so that a similar specification can be
> supplied to install packages directly from vc sources.
I have to admit that I am not a fan of this. Personally I install all
my packages using regular tarballs, and then manually select packages
that I want to track in source-form if I am interested in contributing a
patch.
One has to keep in mind that by default you will be checking out the tip
of the default development branch. This is not what GNU ELPA and NonGNU
ELPA do. I know *some other* archives do this, but IMO this contributes
to the instability that a lot of Emacs users experience in regards to
the packages in the Emacs world. Coincidentally I also believe that the
popularity of alternative (non-cooperative) package managers like this
"straight.el" boils down to the promise of being able to pin and revert
to previous packages states. Personally I believe that this is an
up-side-down approach to solve the problem from the wrong angle. The
default approach to package management should be reliable and suffice.
--
Philip Kaludercic
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-03-04 9:29 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-03-03 14:57 bug#61937: 29.0.60; [FR] use-package :ensure to allow vc sources Ruijie Yu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-03-04 9:29 ` Philip Kaludercic
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.