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
Closed

Be less verbose when extracting GHC #1212

ndmitchell opened this issue Oct 21, 2015 · 5 comments

Comments

@ndmitchell
Copy link
Contributor

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
Copy link
Contributor Author

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

@ndmitchell
Copy link
Contributor Author

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
Copy link
Contributor

borsboom 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
Copy link
Contributor Author

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
Copy link
Contributor

Opened #4643

snoyberg added a commit that referenced this issue Mar 22, 2019
…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
Projects
None yet
Development

No branches or pull requests

3 participants