emacs-bug-tracker
[Top][All Lists]
Advanced

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

bug#61937: closed (29.0.60; [FR] use-package :ensure to allow vc sources


From: GNU bug Tracking System
Subject: bug#61937: closed (29.0.60; [FR] use-package :ensure to allow vc sources)
Date: Tue, 16 May 2023 19:31:02 +0000

Your message dated Tue, 16 May 2023 19:30:48 +0000
with message-id <87zg649iqf.fsf@posteo.net>
and subject line Re: bug#60418: [PATCH] Add :vc keyword to use-package
has caused the debbugs.gnu.org bug report #60418,
regarding 29.0.60; [FR] use-package :ensure to allow vc sources
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs@gnu.org.)


-- 
60418: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=60418
GNU Bug Tracking System
Contact help-debbugs@gnu.org with problems
--- 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 ---

reply via email to

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