-
Notifications
You must be signed in to change notification settings - Fork 907
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
Add option to skip file logging for Zip file extraction in the Get-ChocolateyUnZip and Install-ChocolateyZipPackage cmdlets #1332
Comments
-bb1 ). This switch would allow for the log detail to be missing.
This would also remove chocolatey's ability to use WorkaroundUse |
Adds a switch "disableLogging" to Get-ChocolateyUnzip and Install-ChocolateyZipPackage. This switch disable 7zip logging of extracted filenames and does not write out the log of extracted files. Install-ChocolateyZip passes the switch to Get-ChocolateyUnzip, and the functionality is implemented into Get-ChocolateyUnzip. This is useful for large archives with a very large number of files as logging the extracted files can significantly slow down the extraction process.
Adds a switch "disableLogging" to Get-ChocolateyUnzip and Install-ChocolateyZipPackage. This switch disable 7zip logging of extracted filenames and does not write out the log of extracted files. Install-ChocolateyZip passes the switch to Get-ChocolateyUnzip, and the functionality is implemented into Get-ChocolateyUnzip. This is useful for large archives with a very large number of files as logging the extracted files can significantly slow down the extraction process.
Adds a switch "disableLogging" to Get-ChocolateyUnzip and Install-ChocolateyZipPackage. This switch disable 7zip logging of extracted filenames and does not write out the log of extracted files. Install-ChocolateyZip passes the switch to Get-ChocolateyUnzip, and the functionality is implemented into Get-ChocolateyUnzip. This is useful for large archives with a very large number of files as logging the extracted files can significantly slow down the extraction process.
Adds a switch "disableLogging" to Get-ChocolateyUnzip and Install-ChocolateyZipPackage. This switch disable 7zip logging of extracted filenames and does not write out the log of extracted files. Install-ChocolateyZip passes the switch to Get-ChocolateyUnzip, and the functionality is implemented into Get-ChocolateyUnzip. This is useful for large archives with a very large number of files as logging the extracted files can significantly slow down the extraction process.
Adds a switch "disableLogging" to Get-ChocolateyUnzip and Install-ChocolateyZipPackage. This switch disable 7zip logging of extracted filenames and does not write out the log of extracted files. Install-ChocolateyZip passes the switch to Get-ChocolateyUnzip, and the functionality is implemented into Get-ChocolateyUnzip. This is useful for large archives with a very large number of files as logging the extracted files can significantly slow down the extraction process.
Adds a switch "disableLogging" to Get-ChocolateyUnzip and Install-ChocolateyZipPackage. This switch disable 7zip logging of extracted filenames and does not write out the log of extracted files. Install-ChocolateyZip passes the switch to Get-ChocolateyUnzip, and the functionality is implemented into Get-ChocolateyUnzip. This is useful for large archives with a very large number of files as logging the extracted files can significantly slow down the extraction process.
(#1332) Add switch to disable logging for archive extraction
In the release notes, we should call out that this will not be available in licensed versions until a release of the Licensed extension. |
A follow up issue for Chocolatey Licensed Extension has been created so that this work can be tracked. |
This commit adds two new tests for the upcoming functionality that has been added that allows maintainers to specify an extra argument when extracting zip archives to not log out the file paths that are inside of the archive.
This commit adds two new tests for the upcoming functionality that has been added that allows maintainers to specify an extra argument when extracting zip archives to not log out the file paths that are inside of the archive.
(#1332) Add tests for disabling file logging of archive extractions
🎉 This issue has been resolved in version 1.2.0 🎉 The release is available on: Your GitReleaseManager bot 📦🚀 |
Choco times-out for large zip files (
9, 500+
files).Perhaps an option to disable the logging of each file would speed-up the process?
(Admin edit - notes):
Admin edit - Gitter screenshots
The above link to Gitter may disappear as we have transitioned to Discord for chat, so capturing some screenshots of the conversation:
The text was updated successfully, but these errors were encountered: