You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This pull request adds comprehensive support for local folder-based NuGet feeds throughout the codebase. It introduces detection and handling for local folder feeds, allowing package search, details, updates, icons, and versions to be retrieved directly from disk, bypassing HTTP requests. Additionally, there are improvements to Chocolatey source parsing and small utility enhancements.
Local NuGet feed support:
Added detection for local folder feeds by checking if the source URL uses the file scheme; these feeds are now handled by NuGetLocalFeed and scanned up to three directories deep for packages.
Updated BaseNuGet and BaseNuGetDetailsHelper to support searching, retrieving package details, updates, available versions, and icons directly from local folder feeds. This includes new helper methods for local feed enumeration, manifest parsing, and dependency extraction. [1][2][3][4][5][6][7][8]
Chocolatey source parsing improvements:
Improved parsing of Chocolatey sources to correctly handle and strip the "(Authenticated)" marker and robustly extract the source URL, preventing issues with authenticated feeds. [1][2][3][4]
Utilities and bug fixes:
Enhanced Tools.GetFileSizeAsLong and Tools.GetFileName to handle file:// URLs, allowing local file size and name retrieval without HTTP requests. [1][2]
These changes ensure seamless integration of local folder NuGet feeds, improving performance and reliability when working with packages stored on disk.
Adds local-folder and network-share support for NuGet feeds, including package discovery, metadata, updates, versions, icons, downloads, and improved Chocolatey source parsing.
Changes:
Adds local .nupkg enumeration, caching, and manifest parsing.
Integrates local feeds into NuGet search, details, updates, versions, icons, and downloads.
Improves Chocolatey source parsing, file-URI utilities, tests, fixtures, and documentation.
This dispatch is unreachable for local repositories exposed by the two PowerShell managers. PowerShell7SourceHelper.cs:112-120 accepts only URLs matching https?://, while PowerShellSourceHelper.cs:104-112 truncates a filesystem location at its first space. Consequently, local/UNC feeds (including paths like C:\Shared Packages) cannot be searched through those NuGet-backed managers. Please emit a structured or explicitly delimited repository listing and preserve the complete location in both source helpers.
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
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 adds comprehensive support for local folder-based NuGet feeds throughout the codebase. It introduces detection and handling for local folder feeds, allowing package search, details, updates, icons, and versions to be retrieved directly from disk, bypassing HTTP requests. Additionally, there are improvements to Chocolatey source parsing and small utility enhancements.
Local NuGet feed support:
filescheme; these feeds are now handled byNuGetLocalFeedand scanned up to three directories deep for packages.BaseNuGetandBaseNuGetDetailsHelperto support searching, retrieving package details, updates, available versions, and icons directly from local folder feeds. This includes new helper methods for local feed enumeration, manifest parsing, and dependency extraction. [1] [2] [3] [4] [5] [6] [7] [8]Chocolatey source parsing improvements:
Utilities and bug fixes:
Tools.GetFileSizeAsLongandTools.GetFileNameto handlefile://URLs, allowing local file size and name retrieval without HTTP requests. [1] [2]These changes ensure seamless integration of local folder NuGet feeds, improving performance and reliability when working with packages stored on disk.