forked from chocolatey/choco
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'pr531-modify' into stable
* pr531-modify: (chocolateyGH-268)(specs) BeforeModify failure is ignored (maint) remove comment (chocolateyGH-268) Revert removed fixes (chocolateyGH-268) Rename Legacy Prior to Before Modify (maint) formatting (chocolateyGH-268) Use MockLogger.contains_message in verification expressions. (chocolateyGH-268) Trigger beforeUpgradeAction from the NugetService. (chocolateyGH-268) Add before-package-upgrade method to ChocolateyPackageService (chocolateyGH-268) Add optional beforeUpgradeAction to upgrade_run method. (chocolateyGH-268) Add a before_modify action to the PowershellService (chocolateyGH-268)(spec) Added "before modify" integration test scenarios. (chocolateyGH-268) Extract method to provide folder information for package. (chocolateyGH-268) Add chocolateyBeforeModify.ps1 script to test packages. (chocolateyGH-268)(spec) Add scenarios verifying powershell script execution.
- Loading branch information
Showing
17 changed files
with
180 additions
and
61 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
...hocolatey.tests.integration/context/installpackage/1.0.0/tools/chocolateyBeforeModify.ps1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Write-Output "$env:PackageName $env:PackageVersion Before Modification" |
3 changes: 3 additions & 0 deletions
3
...hocolatey.tests.integration/context/upgradepackage/1.0.0/tools/chocolateyBeforeModify.ps1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
Write-Output "$env:PackageName $env:PackageVersion Before Modification" | ||
|
||
throw "This should not break the upgrade/uninstall" |
1 change: 1 addition & 0 deletions
1
...hocolatey.tests.integration/context/upgradepackage/1.1.0/tools/chocolateyBeforeModify.ps1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Write-Output "$env:PackageName $env:PackageVersion Before Modification" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.