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

Be less verbose when extracting GHC #1212

Closed
ndmitchell opened this issue Oct 21, 2015 · 5 comments

Comments

Projects
None yet
3 participants
@ndmitchell
Copy link
Contributor

commented Oct 21, 2015

Given stack --arch i386 --no-terminal --install-ghc build, that produces about 20K lines of output of the form Extracting .... That level of output makes it impossible to find anything in my console, and also means that for CI system (e.g. appveyor) it becomes ridiculously sluggish to navigate. Perhaps pass a quieter option to 7zip? Updates every 10 seconds on how many files have been extracted so far would be fine, or a . for each file, or something else.

@ndmitchell

This comment has been minimized.

Copy link
Contributor Author

commented Oct 21, 2015

For an example of sluggish and huge output https://ci.appveyor.com/project/ndmitchell/neil/build/1.0.1

@ndmitchell

This comment has been minimized.

Copy link
Contributor Author

commented Oct 26, 2015

Current workaround I use is stack setup > nul, which produces an eclectic selection of messages. Just about enough for me to know where it's got to, but not a sensibly chosen set.

@borsboom

This comment has been minimized.

Copy link
Contributor

commented Nov 1, 2015

I agree, it's really annoying. I don't see a command-line option for 7z to disable all the output. I think we'll have to swallow the stdout in this code. Might be as simple as switching to using readProcessNull instead of rawSystem. A PR would be welcome.

@ndmitchell

This comment has been minimized.

Copy link
Contributor Author

commented Nov 1, 2015

A better option would be to swallow the lines and turn it into a single . per line, or even better, a single . per 1% of files.

snoyberg added a commit that referenced this issue Mar 20, 2019

@snoyberg

This comment has been minimized.

Copy link
Contributor

commented Mar 20, 2019

Opened #4643

@snoyberg snoyberg closed this in 496ff9b Mar 22, 2019

snoyberg added a commit that referenced this issue Mar 22, 2019

Merge pull request #4643 from commercialhaskell/1212-quieter-setup-wi…
…ndows

Less verbose stack setup on Windows (fixes #1212)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.