-
Notifications
You must be signed in to change notification settings - Fork 456
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No magit.info when installing via el-get #2865
Conversation
Hey guys I tried to install magit in a new system via el-get and I kept getting an error. that magit can't find magit.info. Following hints from this: dimitri#2574 I removed Documentation from `:info` to `nil` and it now works. I am not sure if this is an error in the recipe or something I do not understand about how it should work, but I am opening a PR to gather some feedback
It seems that
|
It also seems that |
It should depend on all of these: (define-package "magit" "3.3.0-git"
"A Git porcelain inside Emacs."
'((emacs "25.1")
(compat "28.1.1.0")
(dash "20210826")
(git-commit "20220222")
(magit-section "20220325")
(transient "20220325")
(with-editor "20220318"))
:homepage "https://magit.vc"
:keywords '("git" "tools" "vc")) |
Thank you guys for the explanation. I am trying to apply the required changes but have a problem. I can run But I can't add So the question is how can a recipe specify some code to run before the dependency tree is created? Any ideas @charmoniumQ @dimitri @tarsius ? Without doing that we end up with an error when emacs starts. Debugger entered--Lisp error: (error "El-get can not find a recipe for package \"compat\"")
signal(error ("El-get can not find a recipe for package \"compat\""))
error("El-get can not find a recipe for package \"%s\"" "compat")
el-get-read-recipe("compat")
el-get-package-def("compat")
el-get-dependencies-graph(compat)
el-get-dependencies-graph(magit)
mapcar(el-get-dependencies-graph (el-get s dash f llvm-mode anzu ag highlight-indentation highlight-symbol solarized-emacs slime company-mode markdown-mode rainbow-delimiters org-mode org-present org-reveal flycheck magit expand-region ace-jump-mode dockerfile-mode projectile helm-projectile solidity-mode cmake-mode go-mode web-mode helm yaml-mode yasnippet smart-mode-line volatile-highlights elisp-slime-nav elisp-format rust-mode multiple-cursors jedi elpy js2-mode py-isort tide python-black vlf))
el-get-dependencies((el-get s dash f llvm-mode anzu ag highlight-indentation highlight-symbol solarized-emacs slime company-mode markdown-mode rainbow-delimiters org-mode org-present org-reveal flycheck magit expand-region ace-jump-mode dockerfile-mode projectile helm-projectile solidity-mode cmake-mode go-mode web-mode helm yaml-mode yasnippet smart-mode-line volatile-highlights elisp-slime-nav elisp-format rust-mode multiple-cursors jedi elpy js2-mode py-isort tide python-black vlf))
el-get-init-and-install((el-get s dash f llvm-mode anzu ag highlight-indentation highlight-symbol solarized-emacs slime company-mode markdown-mode rainbow-delimiters org-mode org-present org-reveal flycheck magit expand-region ace-jump-mode dockerfile-mode projectile helm-projectile solidity-mode cmake-mode go-mode web-mode helm yaml-mode yasnippet smart-mode-line volatile-highlights elisp-slime-nav elisp-format rust-mode multiple-cursors jedi elpy js2-mode py-isort tide python-black vlf))
el-get(sync (el-get s dash f llvm-mode anzu ag highlight-indentation highlight-symbol solarized-emacs slime company-mode markdown-mode rainbow-delimiters org-mode org-present org-reveal flycheck magit expand-region ace-jump-mode dockerfile-mode projectile helm-projectile solidity-mode cmake-mode go-mode web-mode helm yaml-mode yasnippet smart-mode-line volatile-highlights elisp-slime-nav elisp-format rust-mode multiple-cursors jedi elpy js2-mode py-isort tide python-black vlf))
eval-buffer(#<buffer *load*-476807> nil "/home/lefteris/.emacs.d/lk/el-get-start.el" nil t) ; Reading at buffer position 4032
load-with-code-conversion("/home/lefteris/.emacs.d/lk/el-get-start.el" "/home/lefteris/.emacs.d/lk/el-get-start.el" nil t)
require(el-get-start)
eval-buffer(#<buffer *load*> nil "/home/lefteris/.emacs.d/init.el" nil t) ; Reading at buffer position 1034
load-with-code-conversion("/home/lefteris/.emacs.d/init.el" "/home/lefteris/.emacs.d/init.el" t t)
load("/home/lefteris/.emacs.d/init" noerror nomessage)
startup--load-user-init-file(#f(compiled-function () #<bytecode 0xca2e35ceb3a57aa>) #f(compiled-function () #<bytecode -0x1f3c686ddc0cdc35>) t) |
Actually, since you don't split up magit into multiple package (I believe), you don't have to depend on |
Isn't the problem just that there is not recipe for |
I think the question is how should a package not in ELPA depend on a package in ELPA? The solution might be to just package |
What do you mean by "ELPA"? Magit, a package available from both Melpa and NonGNU Elpa, depends on What do you mean by "how should [the package] depend [on another package]"? It just does, and a package manager that allows installing packages from one of these three *ELPAs has to make sure that packages from the other two are also available. |
I'm wondering how that relationship should be represented in the |
So right now there is 2 solutions to make this work with el-get properly:
I would like to go with (2) but am just a user of el-get and not a developer so I would like advice from a core-contributor. |
This (== dependency on |
For the |
should be fixed by #2954 |
Hey guys I tried to install magit in a new system via el-get and I kept getting an error. that magit can't find magit.info. Following hints from this: #2574 I removed Documentation from
:info
tonil
and it now works.I am not sure if this is an error in the recipe or something I do not understand about how it should work, but I am opening a PR to gather some feedback