-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Resolvers error messages should include the version requirements. #6199
Comments
Do to the github outage this got opened several times. Sorry for the spam. |
@Eh2406 I can work on this |
Wonderful! How can I help you get started? What are your opening questions? Should I try and rebase/rewrite or do you want to? Do you want to schedule a time to chat on discord or hangouts? |
@Eh2406 will ping you on discord |
The #5452 is not seeing it for some reason, but the two logick commits have been rebased on eh2406/master and pass the tests localy for me. |
@Dylan-DPC Did you get a chance to work on this? How is it going? Is there anything we can do to help? |
@Eh2406 Hey. Got busy with some stuff. Will work on it this week. Will ping on discord if I need anything :) |
@Eh2406 I see that a couple of pull requests were opened for this but never merged. I've got some time and would love to get involved if code still needs to be written. |
Help is welcome! The pull requests have bit-roteded, but I don't thing there is much to do to bring them up to date. The harder part was suggesting a better wording. |
Is anyone still working on this? If not I can take a stab at it! |
I believe it is open. |
Is this the appropriate place to ask questions while I work on this? I don't have much experience contributing to projects other my own. |
@zmitchell don't see why not put things here |
Here works grate! |
I'm trying to understand the pre-bitrot way of doing things so that I can understand what changes were made in the PR. After that the plan is to understand how things work post-bitrot so I know how to translate the changes in the PR. First question: What does the |
Good plan! The links holds the value of the "links field" https://doc.rust-lang.org/cargo/reference/manifest.html#the-links-field-optional. There will be only one crate in the dependency tree with each links value. This is primarily used to avoid linking errors. |
I'm still trying to build a mental model of the different pieces that fit together here.
So, here are my questions:
I have a couple more questions, but I'll wait until I know what a |
The mental model seems almost right. One quip is that A
A
It is a directed graph. Also to confuse things
Witch can be read as:
I don't think I have made sense, so keep asking! If I ever manage to make sence, please add some comments in your PR to make it easier for the next user! |
Thank you, I definitely plan to add some comments to make this all clear for the next complete n00b. I think most of that makes sense, but I think a better way to phrase my question would have been "how do I navigate Let's say I'm looking at a particular node,
|
So from |
Did #7934 solved this issue ? |
I dont think so. If |
Currently, if the resolver fails the error messages give lots of information on the paths that caused the problems, like:
cargo/tests/testsuite/build.rs
Lines 1356 to 1358 in 0b530c3
It would be nice to have the version requirements like: (wording needs improvement)
The data is easily available thanks to #5428 we just need to get it into the correct place, and find good wording. We almost had this working in #5452 before it bit-roted.
I am willing to mentor someone on getting this done. It may be a good place to start looking at the resolver without having to stare into the void at its core. If it would be useful I can rebase #5452 so that only the wording is left.
cc @necaris would you be interested?
The text was updated successfully, but these errors were encountered: