-
Notifications
You must be signed in to change notification settings - Fork 711
cabal check
fails (exitcode 1), but produces warnings only, no error
#8880
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
Comments
Having a different prompt for warnings and errors is indeed reasonable request. The information is there, but as now it gets drowned in the output. Specifically:
are the "headers" for different error severities, fixing cabal/cabal-install/src/Distribution/Client/Check.hs Lines 81 to 108 in d53b4d4
I will sketch (and welcome suggestions on) some ideas for a better UX. I see the file was modified in #8427, so — like Sisyphus — that would have to be rebased. |
Notes to my future self. This is where cabal/cabal-install/src/Distribution/Client/Main.hs Lines 877 to 883 in d53b4d4
and this is where the warning message is formed: cabal/Cabal/src/Distribution/Simple/Utils.hs Lines 450 to 461 in d53b4d4
A less invasive option is to just style header messages differently (add
|
@ffaf1 for the record, i think Cabal's messaging is severely under-developed in terms of decorations. Please, give me more emojis and alike! One of the ways to figure how to do it is to steal from someone, i think. E.g. |
Also, I think, the presentation here would benefit greatly from simply having blank lines after every message... Sorry I didn't mention it before the merge. |
I am getting a failure from
cabal check
(3.10.1.0) with the following warnings:https://github.com/diagrams/active/actions/runs/4546584124/jobs/8015396504?pr=41#step:21:21
I wish for a clearer communication of the problems:
The text was updated successfully, but these errors were encountered: