Skip to content

Set minPublishAgeHours with dotnet nuget add,update source - #7724

Merged
zivkan merged 1 commit into
devfrom
dev-zivkan-source-cooldown-cli
Sep 21, 2026
Merged

zivkan merged 1 commit into
devfrom
dev-zivkan-source-cooldown-cli

Conversation

@zivkan

@zivkan zivkan commented Sep 20, 2026

Copy link
Copy Markdown
Member

Bug

Fixes: NuGet/Home#15031

Description

Add --min-publish-age-hours option to dotnet nuget add source and dotnet nuget update source commands, to set the minPublishAgeHours setting in nuget.config files.

PR Checklist

  • Meaningful title, helpful description and a linked NuGet/Home issue
  • Added tests
  • Link to an issue or pull request to update docs if this PR changes settings, environment variables, new feature, etc. cooldown: update docs Home#15036

@zivkan
zivkan requested a review from a team as a code owner September 20, 2026 22:11

@donnie-msft donnie-msft left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems good to me. Just had feedback on the help text clarity.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

cooldown: dotnet nuget [add|update] source

4 participants