--- Begin Message ---
Subject: |
29.0.60; [FR] use-package :ensure to allow vc sources |
Date: |
Fri, 03 Mar 2023 22:57:36 +0800 |
User-agent: |
mu4e 1.8.14; emacs 29.0.60 |
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
--- End Message ---
--- Begin Message ---
Subject: |
Re: bug#60418: [PATCH] Add :vc keyword to use-package |
Date: |
Tue, 16 May 2023 19:30:48 +0000 |
Philip Kaludercic <philipk@posteo.net> writes:
> Tony Zorman <soliditsallgood@mailbox.org> writes:
>
>> On Sat, May 06 2023 18:50, Philip Kaludercic wrote:
>>> Eli Zaretskii <eliz@gnu.org> writes:
>>>> I understand that in most cases
>>>> users will want to install the latest,
>>>
>>> I don't know if that is the case. I might be wrong that the revision of
>>> the latest release is a good default? Tony, do you think we should add
>>> a user-option to regulate this behaviour.
>>
>> It's certainly my default to install the latest commit of a package
>> instead of the latest release. I don't know how general this desire is
>> among other people, but an option for controlling the specific behaviour
>> sounds great in either case.
>
> OK, so it might make sense to address this at a later point with a
> another patch.
>
> For now, what issues remain to be resolved before these patches can be
> applied?
Reviewing the thread, I think everything was ready (aside from a few
things that I promised to take care of), so I've pushed the change to
master. Thank you for your contribution!
--- End Message ---