emacs-devel
[Top][All Lists]
Advanced

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

Re: feature/package+vc 04c4c578c7 3/4: Allow for packages to be installe


From: Stefan Monnier
Subject: Re: feature/package+vc 04c4c578c7 3/4: Allow for packages to be installed directly from VCS
Date: Mon, 17 Oct 2022 17:41:52 -0400
User-agent: Gnus/5.13 (Gnus v5.13)

Philip Kaludercic [2022-10-17 17:21:35] wrote:
> Stefan Monnier <monnier@iro.umontreal.ca> writes:
>>> +          ;; Add `package-vc' data
>>> +          (let ((spec (cdr pkg-spec))
>>> +                (ups (list :upstream 'Git nil nil nil)))
>>> +            (if (null (plist-get spec :url))
>>> +                (setf (nth 2 ups) (concat 
>>> "https://git.savannah.gnu.org/git/";
>>> +                                          elpaa--gitrepo)
>>> +                      (nth 3 ups) (plist-get spec :lisp-dir)
>>> +                      (nth 4 ups) (concat elpaa--branch-prefix pkg))
>>> +              (setf (nth 2 ups) (plist-get spec :url)
>>> +                    (nth 3 ups) (plist-get spec :lisp-dir)
>>> +                    (nth 4 ups) (plist-get spec :branch)))
>>> +            (push ups extras))
>>
>> I think rather than invent a new format and duplicate that info into
>> `archive-contents`, pushing us to worry about its size, I'd prefer to
>> just stash a copy of `elpa-packages` alongside `archive-contents`.
>
> That sounds like a good idea, as long as we are fine with
> "elpa-packages" being a public interface that couldn't just be changed
> at will.

We can massage it a bit to make it more "future proof".
E.g. we can start by removing the `:core` packages :-)


        Stefan




reply via email to

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