-
Notifications
You must be signed in to change notification settings - Fork 151
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
Show better warning when dependency recipe is overridden #523
Comments
Is it possible to also specify the package that pulled in the dependency? This would make it easier to rearrange an init file so that the custom recipe is evaluated first. |
Yep, sounds like a good idea and simple to implement (the data already exists at the right place as it is used when displaying messages about build system status). |
As things stand today, is there any good way to inspect the tree of transitive dependencies? I have no idea which of my packages is pulling in The only way I know to find it is commenting out packages, which is tedious. |
We don't have anything graphical at the moment, but all the needed information is available in the
which indicates that the |
This variable might be worth mentioning in the README file. I had a hard time finding it. |
@jasonhemann the |
Right, we want to avoid documenting such internal variables, and instead we want to provide user-facing commands that have a stable and well-designed API, like the one @progfolio mentioned. |
Even better |
- This should remove the two different recipes for elfeed warning - See for context - radian-software/straight.el#518 - radian-software/straight.el#523
We currently have a warning
which is produced when a recipe conflict happens, see #518. However this is not very informative to the end user in the most common case, which is that the package was pulled in as a dependency unbeknownst to them, using the default recipe, and then they try to specify a custom recipe for it. We have the data available to detect when this has happened, so we should use it and display a different warning, like
The text was updated successfully, but these errors were encountered: