Skip to content

Commit

Permalink
(maint) Remove templated values from test packages
Browse files Browse the repository at this point in the history
This commit removes templated values from the test packages being added
in this PR.
  • Loading branch information
corbob committed Sep 26, 2024
1 parent 0b93f0c commit 23b5661
Show file tree
Hide file tree
Showing 7 changed files with 23 additions and 59 deletions.
Original file line number Diff line number Diff line change
@@ -1,59 +1,23 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Read this before creating packages: https://docs.chocolatey.org/en-us/create/create-packages -->
<!-- It is especially important to read the above link to understand additional requirements when publishing packages to the community feed aka dot org (https://chocolatey.org/packages). -->
<!-- Test your packages in a test environment: https://github.com/chocolatey/chocolatey-test-environment -->

<!--
This is a nuspec. It mostly adheres to https://docs.nuget.org/create/Nuspec-Reference. Chocolatey uses a special version of NuGet.Core that allows us to do more than was initially possible. As such there are certain things to be aware of:
* the package xmlns schema url may cause issues with nuget.exe
* Any of the following elements can ONLY be used by choco tools - projectSourceUrl, docsUrl, mailingListUrl, bugTrackerUrl, packageSourceUrl, provides, conflicts, replaces
* nuget.exe can still install packages with those elements but they are ignored. Any authoring tools or commands will error on those elements
-->
<!-- You can embed software files directly into packages, as long as you are not bound by distribution rights. -->
<!-- * If you are an organization making private packages, you probably have no issues here -->
<!-- * If you are releasing to the community feed, you need to consider distribution rights. -->
<!-- Do not remove this test for UTF-8: if “Ω” doesn’t appear as greek uppercase omega letter enclosed in quotation marks, you should use an editor that supports UTF-8, not this one. -->

<package xmlns="http://schemas.microsoft.com/packaging/2015/06/nuspec.xsd">
<metadata>
<!-- == PACKAGE SPECIFIC SECTION == -->
<!-- This section is about this package, although id and version have ties back to the software -->
<!-- id is lowercase and if you want a good separator for words, use '-', not '.'. Dots are only acceptable as suffixes for certain types of packages, e.g. .install, .portable, .extension, .template -->
<!-- If the software is cross-platform, attempt to use the same id as the debian/rpm package(s) if possible. -->
<id>get-chocolateyunzip-licensed</id>
<!-- version should MATCH as closely as possible with the underlying software -->
<!-- Is the version a prerelease of a version? https://docs.nuget.org/create/versioning#creating-prerelease-packages -->
<!-- Note that unstable versions like 0.0.1 can be considered a released version, but it's possible that one can release a 0.0.1-beta before you release a 0.0.1 version. If the version number is final, that is considered a released version and not a prerelease. -->
<version>3.21.2</version>
<!-- owners is a poor name for maintainers of the package. It sticks around by this name for compatibility reasons. It basically means you. -->
<owners>__REPLACE__</owners>
<!-- ============================== -->

<!-- == SOFTWARE SPECIFIC SECTION == -->
<!-- This section is about the software itself -->
<title>__REPLACE__ (Portable)</title>
<authors>__REPLACE__</authors>
<owners>chocolatey</owners>
<title>get-chocolateyunzip-licensed (Portable)</title>
<authors>Chocolatey Software</authors>
<!-- copyright is usually years and software vendor, but not required for internal feeds -->
<copyright>__REPLACE__</copyright>
<copyright>Chocolatey Software</copyright>
<tags>get-chocolateyunzip-licensed</tags>
<description>__REPLACE__MarkDown_Okay</description>
<!-- =============================== -->
<description>
This package contains a commercial edition of the cmdlet `Get-ChocolateyUnzip`, and can be used to verify that installation with that cmdlet works as intended.

<!-- Specifying dependencies and version ranges? https://docs.nuget.org/create/versioning#specifying-version-ranges-in-.nuspec-files -->
<!--<dependencies>
<dependency id="" version="__MINIMUM_VERSION__" />
<dependency id="" version="[__EXACT_VERSION__]" />
<dependency id="" version="[_MIN_VERSION_INCLUSIVE, MAX_VERSION_INCLUSIVE]" />
<dependency id="" version="[_MIN_VERSION_INCLUSIVE, MAX_VERSION_EXCLUSIVE)" />
<dependency id="" />
</dependencies>-->
Additionally it can be tested that the package will fail if being installed on FOSS Edition of Chocolatey.

<!--<provides>NOT YET IMPLEMENTED</provides>-->
<!--<conflicts>NOT YET IMPLEMENTED</conflicts>-->
<!--<replaces>NOT YET IMPLEMENTED</replaces>-->
The package defines the license types `business`, `Education` and `professional` as being valid licenses.
</description>
</metadata>
<!-- this section controls what actually gets packaged into the Chocolatey package -->
<files>
<file src="tools\**" target="tools" />
</files>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
<id>hasfailingnesteddependency</id>
<version>1.0.0</version>
<title>hasfailingnesteddependency</title>
<authors>__REPLACE_AUTHORS_OF_SOFTWARE__</authors>
<owners>__REPLACE_YOUR_NAME__</owners>
<authors>Chocolatey Software</authors>
<owners>chocolatey</owners>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<description>
Package that contains dependencies that have dependencies that may fail to install.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@
<id>hasnesteddependency</id>
<version>1.0.0</version>
<title>hasnesteddependency</title>
<authors>__REPLACE_AUTHORS_OF_SOFTWARE__</authors>
<owners>__REPLACE_YOUR_NAME__</owners>
<authors>Chocolatey Software</authors>
<owners>chocolatey</owners>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<description>__REPLACE__</description>
<summary>__REPLACE__</summary>
<description>Package used for testing nested dependencies.</description>
<summary>Package used for testing nested dependencies.</summary>
<releaseNotes />
<copyright />
<tags>hasnesteddependency admin</tags>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
<id>downgradesdependency</id>
<version>1.0.0</version>
<title>Has out of range Dependency</title>
<authors>__REPLACE_AUTHORS_OF_SOFTWARE__</authors>
<owners>__REPLACE_YOUR_NAME__</owners>
<authors>Chocolatey Software</authors>
<owners>chocolatey</owners>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<description>
These packages can be used to test the installation or upgrading of packages that require an existing package to downgrade.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
<id>upgradedowngradesdependency</id>
<version>1.0.0</version>
<title>Has out of range Dependency</title>
<authors>__REPLACE_AUTHORS_OF_SOFTWARE__</authors>
<owners>__REPLACE_YOUR_NAME__</owners>
<authors>Chocolatey Software</authors>
<owners>chocolatey</owners>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<description>
These packages can be used to test the installation or upgrading of packages that require an existing package to downgrade.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
<id>downgradesdependency</id>
<version>2.0.0</version>
<title>Has out of range Dependency (Below available)</title>
<authors>__REPLACE_AUTHORS_OF_SOFTWARE__</authors>
<owners>__REPLACE_YOUR_NAME__</owners>
<authors>Chocolatey Software</authors>
<owners>chocolatey</owners>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<description>
These packages can be used to test the installation or upgrading of packages that require an existing package to downgrade.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
<id>upgradedowngradesdependency</id>
<version>2.0.0</version>
<title>Has out of range Dependency (Below available)</title>
<authors>__REPLACE_AUTHORS_OF_SOFTWARE__</authors>
<owners>__REPLACE_YOUR_NAME__</owners>
<authors>Chocolatey Software</authors>
<owners>chocolatey</owners>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<description>
These packages can be used to test the installation or upgrading of packages that require an existing package to downgrade.
Expand Down

0 comments on commit 23b5661

Please sign in to comment.