Skip to content

XRAY-156685 - Nuget native support - #865

Open
Phavya-jfrog wants to merge 2 commits into
jfrog:devfrom
Phavya-jfrog:feature/XRAY-156685-nuget-native
Open

XRAY-156685 - Nuget native support#865
Phavya-jfrog wants to merge 2 commits into
jfrog:devfrom
Phavya-jfrog:feature/XRAY-156685-nuget-native

Conversation

@Phavya-jfrog

Copy link
Copy Markdown
Contributor
  • The pull request is targeting the dev branch.
  • The code has been validated to compile successfully by running go vet ./....
  • The code has been formatted properly using go fmt ./....
  • All static analysis checks passed.
  • All tests have passed. If this feature is not already covered by the tests, new tests have been added.
  • Updated the Contributing page / ReadMe page / CI Workflow files if needed.
  • All changes are detailed at the description. if not already covered at JFrog Documentation, new documentation have been added.

Add native repository resolution for NuGet in jf ca — no jf nuget-config yaml.

NuGet resolution priority:

  1. Detect .NET CLI vs legacy NuGet CLI from the project's own files ( in .csproj → dotnet; packages.config → legacy nuget)
  2. Ask that tool for its own configured sources — we never read a NuGet.Config file ourselves, we just trust the CLI's output:
    • .NET CLI → dotnet nuget list source → resolves from
      ~/.nuget/NuGet/NuGet.Config (plus any project-level nuget.config)
    • legacy CLI → nuget sources List → resolves from
      ~/.config/NuGet/NuGet.Config (plus any project-level nuget.config)
      Match the enabled source whose host equals the configured 'jf c' server.
  3. Clear error if none match, naming the right Set Me Up tab (.NET vs NuGet)

@Phavya-jfrog Phavya-jfrog added improvement Automatically generated release notes safe to test Approve running integration tests on a pull request labels Aug 28, 2026
@github-actions github-actions Bot removed the safe to test Approve running integration tests on a pull request label Aug 28, 2026
@Phavya-jfrog
Phavya-jfrog force-pushed the feature/XRAY-156685-nuget-native branch from d723749 to 2bdeba0 Compare August 28, 2026 12:05
@Phavya-jfrog Phavya-jfrog added the safe to test Approve running integration tests on a pull request label Aug 28, 2026
@github-actions github-actions Bot removed the safe to test Approve running integration tests on a pull request label Aug 28, 2026
@Phavya-jfrog
Phavya-jfrog force-pushed the feature/XRAY-156685-nuget-native branch from 76dc479 to 4252565 Compare August 28, 2026 12:12
@Phavya-jfrog Phavya-jfrog added the safe to test Approve running integration tests on a pull request label Aug 28, 2026
@github-actions github-actions Bot removed the safe to test Approve running integration tests on a pull request label Aug 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

improvement Automatically generated release notes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant