-
Notifications
You must be signed in to change notification settings - Fork 414
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
No error is raised when building an empty package not defined in the dune-project file #6099
Comments
According to the description in #5120, that's intentional. This warning only happens when the package is defined in |
Ah.... Well, it makes the whole feature pretty much useless so I strongly disagree with #5120. Could we revert that? |
2 different things:
For the latter, the "classic" way to proceed would be to add the warning, and make it fatal for lang dune >= 3.5 but I'd like to evaluate if it triggers a lot on opam-repository to avoid adding to much noise. |
I'll add tests (first part of the above) but the for second part, I'm not sure how to proceed: if we add a warning for packages that are defined through an opam file, what would be the hint to fix the package? If the solution is to add |
Something like this maybe:
|
In addition, while writing tests I noticed that the warning case can never happen. I'll fix that next week. |
I'm going to remove the 3.6.0 milestone. This issue isn't new and a PR fixing it doesn't seem likely in time for the release. Instead, let's discuss it in a meeting and actually assign this to someone if this is ever to get done. |
It looks like somewhere between the merge of #4867 and the release of dune 3.0.0, the feature lost all its tests in #5120 and suffers from a regression:
The text was updated successfully, but these errors were encountered: