-
Notifications
You must be signed in to change notification settings - Fork 14
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
Usability issue: versionCheck
doesn't show the problems it found
#126
Comments
looks like I can get the errors by doing |
gah, never mind, I misunderstood. the check isn't failing because MiMa is failing — MiMa isn't even running! rather, it's failing because my I don't know if I like this design, but at least I understand what's going on, now. I was baffled/confused before. |
Maybe I don't have the big picture or grok the higher wisdom, but.... I guess what I'd sort of expect here is that my |
In Slick, I took the opposite approach, which is to compute the version from The downside of computing
In theory, one could have |
I agree that this is can be confusing. The reason why we did that is because we wanted to support as many use cases as possible. With a typical setup with We could decide to support I hope this clarifies things. |
it does, though in 6 months I'll probably have forgotten it and confuse myself all over again :-) |
the unhelpfulness of the error message bit Lukas today over at scala/scala-xml#685 (comment)
correct prediction, it took me about 20 minutes to figure it out |
Julien asks, over on the scala-xml ticket:
The main thing would be for Additionally, it would be helpful if the error message showed the at present, we see e.g.
How about something more like:
|
oh, I basically already said this above:
|
Note that In #169 I change the reporting to show the following message instead:
You can see the full logs here. |
I have hit this repeatedly in multiple repos over the past year or two – only getting around to reporting it now.
When
versionPolicyCheck
fails, I get the usual MiMa output showing me what the actual problems are.But when
versionCheck
(the one you run at release time, rather than during PR validation) fails, I don't get any details, I just get e.g.according to the repo readme here,
I'm suggesting change the plugin so that the specific incompatibilities found are printed.
but it'd also be okay if I need to run an extra command in order to "use MiMa in forward mode" and see the errors, as long as we document what that command is
The text was updated successfully, but these errors were encountered: