chocolatey / chocolatey-licensed-issues

Issues for Licensed Editions of Chocolatey
19 stars 13 forks source link

Add option to skip file logging for Zip file extraction in the Get-ChocolateyUnZip and Install-ChocolateyZipPackage cmdlets #319

Closed sync-by-unito[bot] closed 1 year ago

sync-by-unito[bot] commented 1 year ago

Description

Add a new disableLogging parameter to the licensed implementation of the Get-ChocolateyUnZip and Install-ChocolateyZipPackage Cmdlets.

Why Is It Needed

Chocolatey has been known to timeout when a large file is being extracted.

In addition, this option was added into Chocolatey CLI in version 1.2.0, with the new disableLogging parameter being added to the open source Cmdlet, so the same parameter needs to be added to the licensed version of the Cmdlet, so that this doesn't get "lost" when the licensed extension is being used.

Related Issues and Tickets

Acceptance Tests

  1. The Pester tests that were added to the linked Chocolatey CLI issue need to be executed and confirmed to work, when the licensed extension is also installed.

Done Checklist

┆Issue is synchronized with this Gitlab issue by Unito ┆Milestone: 5.0.0