Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update PackageUpdateResource to receive bool to indicate if snupkg are enabled #6249

Draft
wants to merge 2 commits into
base: dev
Choose a base branch
from

Conversation

jgonz120
Copy link
Contributor

@jgonz120 jgonz120 commented Jan 31, 2025

Bug

Fixes:

Description

SymbolPackageUpdateResource is currently only being used in PackageUpdateResource to determine if snupkg are enabled for symbol sources. Since the push command allows users to specify a SymbolSource, there may not be a SymbolPackageUpdateResource available. This created a new function which takes in "allowSnupkg" as a parameter instead of trying to determine if it's available based on whether or not SymbolPackageUpdateResource is null.

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.

@jgonz120 jgonz120 requested a review from a team as a code owner January 31, 2025 23:06
@jgonz120 jgonz120 marked this pull request as draft February 1, 2025 00:12
@jgonz120 jgonz120 changed the title Set symbolPackageUpdateResource when symbolSource is passed by param to nuget push Update PackageUpdateResource to receive bool to indicate if snupkg are enabled Feb 1, 2025
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.

1 participant