Improve resolution warning for wit-manifest from commit instead of disk#219
Improve resolution warning for wit-manifest from commit instead of disk#219Jack Koenig (jackkoenig) wants to merge 1 commit into
Conversation
|
what does it mean for wit to 'use' a manifest |
It means it's "using" the dependencies specified in the manifest for dependency resolution. Is there a different verb that would be more clear? "reading"? |
|
To bikeshed a little, how about
|
I think the issue is that from a user's perspective, they don't understand what the result of the dependency resolution is used for. I'll admit that even I get confused by the message, even as an advanced user of Wit, since I don't know the internals of Wit very well. I think for the specific scenario of using In other scenarios, different behaviors may be clearer, but it's not obvious to me what is desirable without examining each case individually. |
|
At the moment the "WARNING" status is the only place that contains the information that an I'd like to see the various facts all chained together: Is that possible? |
Concrete proposal for improvement to warning. The idea is that it's as clear as possible to the user that the Wit resolution algorithm picks what
wit-manifest.jsons are being used and they may not match the ones currently checked out on disk.I got these messages by creating a workspace for https://github.com/sifive/example-scala-wake-project and then checking out
masterof it's dependency,api-scala-sifive. Wit correctly tells me that it's ignoring thewit-manifest.jsonthat's currently on disk forapi-scala-sifive, instead using the one from the commit that is pointed to byexample-scala-wake-projectWit
v0.12.0messageCurrently proposed small change
instead of checked-out version of <package>->currently checked-out version in <package>Alternative proposal