MicrosoftDocs / PowerShell-Docs-PSGet

The official documentation for PowerShellGet and PowerShell Gallery
https://docs.microsoft.com/powershell/gallery/overview
Creative Commons Attribution 4.0 International
25 stars 26 forks source link

Fixed typo in JSON example of required PSResource spec #139

Closed arpan3t closed 4 months ago

arpan3t commented 4 months ago

PR Summary

Changed closing bracket typo in JSON example of PSResource specification under Searching by required resources section of about PSResourceGet doc.

PR Checklist

learn-build-service-prod[bot] commented 4 months ago

Learn Build status updates of commit 02cedc9:

:white_check_mark: Validation status: passed

File Status Preview URL Details
powershell-gallery/powershellget-3.x/Microsoft.PowerShell.PSResourceGet/About/about_PSResourceGet.md :white_check_mark:Succeeded View (powershellget-3.x)

For more details, please refer to the build report.

For any questions, please:

github-actions[bot] commented 4 months ago

Expectations

Thanks for your submission! Here's a quick note to provide you with some context for what to expect from the docs team and the process now that you've submitted a PR. Even if you've contributed to this repo before, we strongly suggest reading this information; it might have changed since you last read it.

To see our process for reviewing PRs, please read our editor's checklist and process for managing pull requests in particular. Below is a brief, high-level summary of what to expect, but our contributor guide has expanded details.

The docs team begins to review your PR if you request them to or if your PR meets these conditions:

You can always request a review at any stage in your authoring process, the docs team is here to help! You do not need to submit a fully polished and finished draft; the docs team can help you get content ready for merge.

While reviewing your PR, the docs team may make suggestions, write comments, and ask questions. When all requirements are satisfied, the docs team marks your PR as Approved and merges it. Once your PR is merged, it is included the next time the documentation is published. For this project, the documentation is published daily at 3 p.m. Pacific Standard Time (PST).

sdwheeler commented 4 months ago

It's not a typo. That is a valid Nuget version range. See https://learn.microsoft.com/nuget/concepts/package-versioning?tabs=semver20sort#version-ranges as referenced in the article.

"[0.0.1,1.3.0)" evaluates to the range of 0.0.1 ≤ x < 1.3.0.

arpan3t commented 4 months ago

Interesting, my fault. I assumed that since the description of the example is

The next example shows the same specification in JSON format.

and everything from the HashTable example is the same in the JSON example except for that version range, that it was a typo.