diff --git a/tests/packages/dependencyfailure/dependencyfailure.nuspec b/tests/packages/dependencyfailure/dependencyfailure.nuspec index 46f577f772..4ab6e842ad 100644 --- a/tests/packages/dependencyfailure/dependencyfailure.nuspec +++ b/tests/packages/dependencyfailure/dependencyfailure.nuspec @@ -7,8 +7,12 @@ __REPLACE_AUTHORS_OF_SOFTWARE_COMMA_SEPARATED__ https://_Software_Location_REMOVE_OR_FILL_OUT_ dependencyfailure admin SPACE_SEPARATED - __REPLACE__ - __REPLACE__MarkDown_Okay + Package includes a dependency for a package that is known to fail installation. + + Package includes a dependency for a package that is known to fail installation. + + It can be used in tests to ensure that failing dependencies do not allow the package to install. + diff --git a/tests/packages/failingdependency/failingdependency.nuspec b/tests/packages/failingdependency/failingdependency.nuspec index 66769fd42c..c8179b5e80 100644 --- a/tests/packages/failingdependency/failingdependency.nuspec +++ b/tests/packages/failingdependency/failingdependency.nuspec @@ -7,8 +7,8 @@ __REPLACE_AUTHORS_OF_SOFTWARE_COMMA_SEPARATED__ https://_Software_Location_REMOVE_OR_FILL_OUT_ dependencyfailure admin SPACE_SEPARATED - __REPLACE__ - __REPLACE__MarkDown_Okay + Package that fails to install. Used as part of dependency tree. + Package that fails to install. Used as part of dependency tree. diff --git a/tests/packages/failingdependency/tools/chocolateyinstall.ps1 b/tests/packages/failingdependency/tools/chocolateyinstall.ps1 index b14a38a512..04105d6173 100644 --- a/tests/packages/failingdependency/tools/chocolateyinstall.ps1 +++ b/tests/packages/failingdependency/tools/chocolateyinstall.ps1 @@ -1,3 +1,2 @@ Write-Error "This should fail!" $env:ChocolateyExitCode = '15608' -#throw "This is crap" \ No newline at end of file diff --git a/tests/packages/hasfailingnesteddependency/1.0.0/hasfailingnesteddependency.nuspec b/tests/packages/hasfailingnesteddependency/1.0.0/hasfailingnesteddependency.nuspec index 3113e456a8..0479bb03ec 100644 --- a/tests/packages/hasfailingnesteddependency/1.0.0/hasfailingnesteddependency.nuspec +++ b/tests/packages/hasfailingnesteddependency/1.0.0/hasfailingnesteddependency.nuspec @@ -7,8 +7,12 @@ __REPLACE_AUTHORS_OF_SOFTWARE__ __REPLACE_YOUR_NAME__ false - __REPLACE__ - __REPLACE__ + + Package that contains dependencies that have dependencies that may fail to install. + + Used for testing dependency resolution and ensuring dependency failures do not allow package installation. + + Package that contains dependencies that have dependencies that may fail to install. hasfailingnesteddependency admin diff --git a/tests/packages/upgradedowngradesdependency/1.0.0/downgradesdependency.nuspec b/tests/packages/upgradedowngradesdependency/1.0.0/downgradesdependency.nuspec index dc187b1bec..142b308132 100644 --- a/tests/packages/upgradedowngradesdependency/1.0.0/downgradesdependency.nuspec +++ b/tests/packages/upgradedowngradesdependency/1.0.0/downgradesdependency.nuspec @@ -7,7 +7,14 @@ __REPLACE_AUTHORS_OF_SOFTWARE__ __REPLACE_YOUR_NAME__ false - __REPLACE__ + + These packages can be used to test the installation or upgrading of packages that require an existing package to downgrade. + +Each version is available as `upgradedowngradesdependency` and `downgradesdependency`. This is to allow testing of scenarios where `choco upgrade all` would process the dependency before and after the parent package. + +- Version 1.0.0 contains a range that can be used in an upgrade scenario and has a dependency on `isdependency 1.0.0 or greater` +- Version 2.0.0 contains an exact dependency on `isdependency` with a version of `1.0.0` + Package to test for out of range dependencies. This 1st version have a valid exact range. diff --git a/tests/packages/upgradedowngradesdependency/1.0.0/upgradedowngradesdependency.nuspec b/tests/packages/upgradedowngradesdependency/1.0.0/upgradedowngradesdependency.nuspec index 829afd16f8..a18dfdf619 100644 --- a/tests/packages/upgradedowngradesdependency/1.0.0/upgradedowngradesdependency.nuspec +++ b/tests/packages/upgradedowngradesdependency/1.0.0/upgradedowngradesdependency.nuspec @@ -7,7 +7,14 @@ __REPLACE_AUTHORS_OF_SOFTWARE__ __REPLACE_YOUR_NAME__ false - __REPLACE__ + + These packages can be used to test the installation or upgrading of packages that require an existing package to downgrade. + +Each version is available as `upgradedowngradesdependency` and `downgradesdependency`. This is to allow testing of scenarios where `choco upgrade all` would process the dependency before and after the parent package. + +- Version 1.0.0 contains a range that can be used in an upgrade scenario and has a dependency on `isdependency 1.0.0 or greater` +- Version 2.0.0 contains an exact dependency on `isdependency` with a version of `1.0.0` + Package to test for out of range dependencies. This 1st version have a valid exact range. diff --git a/tests/packages/upgradedowngradesdependency/2.0.0/downgradesdependency.nuspec b/tests/packages/upgradedowngradesdependency/2.0.0/downgradesdependency.nuspec index 817853880f..42229dc482 100644 --- a/tests/packages/upgradedowngradesdependency/2.0.0/downgradesdependency.nuspec +++ b/tests/packages/upgradedowngradesdependency/2.0.0/downgradesdependency.nuspec @@ -7,7 +7,14 @@ __REPLACE_AUTHORS_OF_SOFTWARE__ __REPLACE_YOUR_NAME__ false - __REPLACE__ + + These packages can be used to test the installation or upgrading of packages that require an existing package to downgrade. + +Each version is available as `upgradedowngradesdependency` and `downgradesdependency`. This is to allow testing of scenarios where `choco upgrade all` would process the dependency before and after the parent package. + +- Version 1.0.0 contains a range that can be used in an upgrade scenario and has a dependency on `isdependency 1.0.0 or greater` +- Version 2.0.0 contains an exact dependency on `isdependency` with a version of `1.0.0` + Package to test for out of range dependencies. This version uses a dependency that require a lower version. diff --git a/tests/packages/upgradedowngradesdependency/2.0.0/upgradedowngradesdependency.nuspec b/tests/packages/upgradedowngradesdependency/2.0.0/upgradedowngradesdependency.nuspec index a2728342a2..58b125b3e7 100644 --- a/tests/packages/upgradedowngradesdependency/2.0.0/upgradedowngradesdependency.nuspec +++ b/tests/packages/upgradedowngradesdependency/2.0.0/upgradedowngradesdependency.nuspec @@ -7,7 +7,14 @@ __REPLACE_AUTHORS_OF_SOFTWARE__ __REPLACE_YOUR_NAME__ false - __REPLACE__ + + These packages can be used to test the installation or upgrading of packages that require an existing package to downgrade. + +Each version is available as `upgradedowngradesdependency` and `downgradesdependency`. This is to allow testing of scenarios where `choco upgrade all` would process the dependency before and after the parent package. + +- Version 1.0.0 contains a range that can be used in an upgrade scenario and has a dependency on `isdependency 1.0.0 or greater` +- Version 2.0.0 contains an exact dependency on `isdependency` with a version of `1.0.0` + Package to test for out of range dependencies. This version uses a dependency that require a lower version. diff --git a/tests/packages/upgradedowngradesdependency/Readme.md b/tests/packages/upgradedowngradesdependency/Readme.md index 7579fa543b..0f2c4f806f 100644 --- a/tests/packages/upgradedowngradesdependency/Readme.md +++ b/tests/packages/upgradedowngradesdependency/Readme.md @@ -1,6 +1,6 @@ -These packages can be used to test the installation or upgrading of packages that have require an existing package to downgrade. +These packages can be used to test the installation or upgrading of packages that require an existing package to downgrade. Each version is available as `upgradedowngradesdependency` and `downgradesdependency`. This is to allow testing of scenarios where `choco upgrade all` would process the dependency before and after the parent package. -- Version 1.0.0 Contains a range that can be used in an upgrade scenario and has a dependency on `isdependency 1.0.0 or greater` -- Version 2.0.0 Contains an exact dependency on `isdependency` with a version of `1.0.0` +- Version 1.0.0 contains a range that can be used in an upgrade scenario and has a dependency on `isdependency 1.0.0 or greater` +- Version 2.0.0 contains an exact dependency on `isdependency` with a version of `1.0.0`