Open Niluge-KiWi opened 3 years ago
My goal is to use melpa stable by default for packages with :type elpa, and use melpa (non stable) for select packages.
:type elpa
The way I tried to do this is to set package-archive-priorities and specify :repo in the receipe of select packages:
package-archive-priorities
:repo
(require 'package) (setq package-archives '(("gnu" . "https://elpa.gnu.org/packages/") ("melpa" . "https://melpa.org/packages/") ("melpa-stable" . "https://stable.melpa.org/packages/")) package-archive-priorities '(("gnu" . 5) ("melpa" . 0) ("melpa-stable" . 10))) (package-initialize) (setq el-get-sources '( (:name magit :type elpa) (:name solarized-theme :type elpa :repo ("melpa" . "https://melpa.org/packages/")))) (el-get 'sync)
Result:
Analysis: https://github.com/dimitri/el-get/blob/d76ac84ae9670de7bf7725b362cafe86688771f9/methods/el-get-elpa.el#L71-L74 (el-get-elpa-package-id 'solarized-theme) returns version 1.3.1 from melpa-stable, ignoring the :repo I defined in the receipe.
(el-get-elpa-package-id 'solarized-theme)
My goal is to use melpa stable by default for packages with
:type elpa
, and use melpa (non stable) for select packages.The way I tried to do this is to set
package-archive-priorities
and specify:repo
in the receipe of select packages:Result:
Analysis: https://github.com/dimitri/el-get/blob/d76ac84ae9670de7bf7725b362cafe86688771f9/methods/el-get-elpa.el#L71-L74
(el-get-elpa-package-id 'solarized-theme)
returns version 1.3.1 from melpa-stable, ignoring the:repo
I defined in the receipe.