-
Notifications
You must be signed in to change notification settings - Fork 904
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
Suppress verbose output to verbose - like with 7-zip #476
Comments
@MikaelSmith so if they come on with --verbose (aka -v), would you consider turning that off? |
I would expect to see that in a verbose / debug log, but definitely not during normal operation. |
Yeah, I wasn't using verbose output (that I know of) when I tried it out with a recent version of Chocolatey. |
Should be pretty easy to add. Right now it is letting it use the window, a recent change that fixed other things like powershell interaction #219 |
Any file system operation is probably better served as a verbose log as it could be quite a bit of information being passed around. For checksumming files, it is definitely a verbose set of information - definitely not something we want to overload users with unless they opt into seeing the information.
This was completed with #616. |
Sometimes, Install-ChocolateyZipPackage and Get-ChocolateyUnzip capture files that don't belong to the package, record them in the <packagename>Install.zip.txt file, and cause them to be removed upon uninstallation by UnInstall-ChocolateyZipPackage. Instead use 7z's standard output to determine which files belong to the package. This also avoids scanning possibly large directory trees. This also resolves GH-476 by suppressing 7z's output as verbose.
It's too bad Appveyor's choco doesn't have this fix yet! |
I also am anticipating when this fix is propagated to AppVeyor. As far as I can, the fix hasn't been put in a released version of chocolately yet. |
For some packages, like mingw, listing all the files extracted is overwhelming. The log in AppVeyor is one instance.
Showing all the 7-Zip output is a recent change. It would be nice to have a way to suppress that output.
The text was updated successfully, but these errors were encountered: