Add NuGet server.#147
Open
Adam Driscoll (adamdriscoll) wants to merge 10 commits into
Open
Conversation
Copilot started reviewing on behalf of
Adam Driscoll (adamdriscoll)
June 17, 2026 15:42
View session
Contributor
There was a problem hiding this comment.
Pull request overview
This PR adds a NuGet v3 feed implementation to the PowerShell Universal Gallery repo, including a PowerShell module that manages on-disk package storage and metadata generation, plus PSU endpoint and published-folder wiring and accompanying documentation.
Changes:
- Added
PowerShellUniversal.NuGetmodule (psm1 + manifest) implementing catalog storage, metadata generation, and search/autocomplete behaviors. - Added PSU endpoint definitions and published-folder mounts to expose NuGet-compatible routes.
- Added a README documenting endpoints, configuration, publishing, and maintenance.
Reviewed changes
Copilot reviewed 5 out of 5 changed files in this pull request and generated 9 comments.
Show a summary per file
| File | Description |
|---|---|
| APIs/NuGet/README.md | Documents feed endpoints, configuration, publishing workflow, and maintenance commands. |
| APIs/NuGet/PowerShellUniversal.NuGet.psm1 | Implements repository storage layout, catalog I/O, metadata generation, and search/autocomplete logic. |
| APIs/NuGet/PowerShellUniversal.NuGet.psd1 | Module manifest exporting the public functions for the NuGet feed module. |
| APIs/NuGet/.universal/publishedFolders.ps1 | Creates and publishes static folders for flat-container and registration metadata. |
| APIs/NuGet/.universal/endpoints.ps1 | Defines NuGet-compatible PSU API endpoints (index, search, autocomplete, flat container, registration, publish, unlist/relist, delete). |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request introduces a new NuGet V3 package feed module for PowerShell Universal, providing endpoints for package publishing, search, retrieval, and management, as well as on-disk storage and metadata generation. It includes a PowerShell module manifest, published folder setup, endpoint definitions, and a comprehensive README.
NuGet V3 Feed Implementation
PowerShellUniversal.NuGet.psd1) defining exported functions for managing NuGet packages, metadata, and repository operations.publishedFolders.ps1to ensure required directories for the flat container and registration metadata are created and exposed as static folders.endpoints.ps1for service index, package search, autocomplete, flat container, registration, publishing, unlisting/relisting, catalog listing, and hard-deletion. Endpoints include authentication and role-based access where appropriate.Documentation
README.mddescribing all endpoints, configuration options, publishing instructions, and maintenance commands for the new NuGet feed module.