[Feature]Add package download command #6804
Merged
Nigusu-Allehu merged 15 commits intodev-feature-package-downloadfrom Oct 28, 2025
Merged
[Feature]Add package download command #6804Nigusu-Allehu merged 15 commits intodev-feature-package-downloadfrom
package download command #6804Nigusu-Allehu merged 15 commits intodev-feature-package-downloadfrom
Conversation
bd2b8ed to
319cf63
Compare
zivkan
reviewed
Sep 25, 2025
nkolev92
reviewed
Sep 29, 2025
zivkan
reviewed
Sep 30, 2025
aortiz-msft
reviewed
Oct 1, 2025
aortiz-msft
reviewed
Oct 1, 2025
aortiz-msft
reviewed
Oct 1, 2025
Merged
3 tasks
d5aa961 to
80dce46
Compare
3 tasks
5636baf to
3a94836
Compare
Member
Author
|
@NuGet/nuget-client 👀 |
nkolev92
reviewed
Oct 23, 2025
Member
nkolev92
left a comment
There was a problem hiding this comment.
I just found one thing that I missed the previous review.
nkolev92
approved these changes
Oct 23, 2025
jeffkl
approved these changes
Oct 23, 2025
zivkan
approved these changes
Oct 23, 2025
3 tasks
aortiz-msft
reviewed
Oct 25, 2025
aortiz-msft
reviewed
Oct 25, 2025
aortiz-msft
reviewed
Oct 25, 2025
This was referenced Oct 27, 2025
aortiz-msft
approved these changes
Oct 28, 2025
6d3aa38
into
dev-feature-package-download
16 of 17 checks passed
3 tasks
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.
Bug
Fixes: NuGet/Home#14608
Description
This PR implements the following design spec NuGet/Home#14495. It adds an implementation for the
dotnet package downloadcommand. Audit is not implemented in this PR, and will be added in a follow up PR.The command allows users to download NuGet packages directly. By default, packages are downloaded to the current working directory (CWD). Users can optionally specify a different output directory.
Version Resolution
The
ResolvePackageDownloadVersionmethod determines which version of a package to download from the provided sources:The method returns both the resolved
NuGetVersionand theSourceRepositoryit came from. If no valid version is found, an error is logged.Usage Example
PR Checklist
package downloadcommand Home#14558