Skip to content
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

Allow "Unknown variable" warnings to be surpressed #49

Conversation

gridbugs
Copy link

When using the opam-0install library to solve dependencies the "Unknown variable" warnings can get in the way of other console output. This adds an optional argument which enables printing this warning (defaulting to true).

When using the opam-0install library to solve dependencies the "Unknown
variable" warnings can get in the way of other console output. This adds
an optional argument which enables printing this warning (defaulting to
`true`).
@kit-ty-kate
Copy link
Collaborator

What kind of unknown variable issue are you having? Is that related to #46 ?

@gridbugs
Copy link
Author

It's adding a lot of noise to the output of opam monorepo lock which looks like tarides/opam-monorepo#349 and #45.

@kit-ty-kate
Copy link
Collaborator

In that case it's an actual bug (variables that should be taken into account are not) so I would be inclined to close this and instead to focus on fixing tarides/opam-monorepo#349 properly. Do you want to have a go at it?

cc @Leonidas-from-XIV

@Leonidas-from-XIV
Copy link

Leonidas-from-XIV commented Apr 27, 2023

I mean, #46 already exists and solves this issue, just needs to get approved or revised and merged.

@gridbugs
Copy link
Author

Ah I didn't realize there was already a fix for this in progress. Happy to close this and focus on the existing fix instead.

@gridbugs gridbugs closed this Apr 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants