This repository was archived by the owner on Dec 19, 2020. It is now read-only.
Improve resolution warning for wit-manifest from commit instead of disk #219
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.json
s 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
master
of it's dependency,api-scala-sifive
. Wit correctly tells me that it's ignoring thewit-manifest.json
that's currently on disk forapi-scala-sifive
, instead using the one from the commit that is pointed to byexample-scala-wake-project
Wit
v0.12.0
messageCurrently proposed small change
instead of checked-out version of <package>
->currently checked-out version in <package>
Alternative proposal