documentation: true outputs to stdout when -v0 is enabled
Open
cabal-install: cmd/haddock
Cabal: cmd/haddock
re: enable-documentation
type: bug
- Dominant language
- Haskell
- Stars
- 1.7k
- Forks
- 750
- Avg merge
- 4d 3h
- Merged PRs (30d)
- 28
Description
`-v0` should never output anything to stdout. cabal-install should be silent in this mode of operation.
If you enable `documentation: true` in a cabal file then a lot of junk from haddock is output.
Perhaps passing `--no-warnings` to haddock is sufficient.
Contributor guide
Research direction
Start by reproducing cabal-install with `-v0` and `documentation: true` in a Cabal file, then inspect the Haddock invocation and its output handling. Done means that this mode produces no stdout, including output from Haddock.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- haskell
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100