Skip to content

RTECO-1574 - RTECO-1574 - Implementation of Nuget Support for client - - #515

Draft
bhanurp wants to merge 6 commits into
jfrog:mainfrom
bhanurp:RTECO-1574
Draft

RTECO-1574 - RTECO-1574 - Implementation of Nuget Support for client -#515
bhanurp wants to merge 6 commits into
jfrog:mainfrom
bhanurp:RTECO-1574

Conversation

@bhanurp

@bhanurp bhanurp commented Jul 24, 2026

Copy link
Copy Markdown
Collaborator

Generated by workbench RTECO-1574.

RTECO-1574 - Implementation of Nuget Support for client -

Source: https://jfrog-int.atlassian.net/browse/RTECO-1574

  • Start working on Nuget V2, V3 support for Nuget package manager in jfrog cli.
  • Make sure PRs are manageable and code is written in a way it can be reused across the clients
  • Add support for nugetV3 and nugetV2
  • refer to [unsupported block: inlineCard]

Things to consider while implementing

  • Use JFROG_CLI_NATIVE_IMPLEMENTATION support since nuget is already supported when this is set it routes via native package manager(flexpack).
  • BuildInfo collection in build-info-go
  • check sum calculation
  • Original Deployment Repository calculation
  • Requested By calculation for dependencies
  • Easy authentication using nuget’s credentials like mentioned in above Atlassian wiki.
  • Build Info collection for both dependencies and artifacts for all the commands eligible listed in above wiki.
  • Set properties clearly on artifacts published.
  • Make sure the buildinfo is figuring out and showing show in tree in build info section when published to artifactory.

Not to implement

  • nuget-config support is not required since this is flexpack implementation.
    Parent: RTECO-395
    Components: jfrog-cli-nuget

Evidence: see Artifactory bundle for RTECO-1574.

Jira: https://jfrog-int.atlassian.net/browse/RTECO-1574

bhanurp added 2 commits July 9, 2026 17:46
**Source:** https://jfrog-int.atlassian.net/browse/RTECO-1574
- Start working on Nuget V2, V3 support for Nuget package manager in jfrog cli.
- Make sure PRs are manageable and code is written in a way it can be reused across the clients
- Add support for nugetV3 and nugetV2
- refer to [unsupported block: inlineCard]
## Things to consider while implementing
- Use JFROG_CLI_NATIVE_IMPLEMENTATION support since nuget is already supported when this is set it routes via native package manager(flexpack).
- BuildInfo collection in build-info-go
- check sum calculation
- Original Deployment Repository calculation
- Requested By calculation for dependencies
- Easy authentication using nuget’s credentials like mentioned in above Atlassian wiki.
- Build Info collection for both dependencies and artifacts for all the commands eligible listed in above wiki.
- Set properties clearly on artifacts published.
- Make sure the buildinfo is figuring out and showing show in tree in build info section when published to artifactory.
## Not to implement
- nuget-config support is not required since this is flexpack implementation.
**Parent:** RTECO-395
**Components:** jfrog-cli-nuget

Task: RTECO-1574
- Split pack and push into separate collection paths: push now identifies
  exactly the packages the command uploaded from its own arguments and
  stamps build.name/build.number/build.timestamp on their exact Artifactory
  paths, while pack records packages produced since a pre-command snapshot
  (correctly handling custom --output directories and bin/<Configuration>
  defaults) without ever re-running or duplicating the native command.

- Fixed 'dotnet nuget push'/'nuget push' failing outright with "Source
  parameter was not specified": the native push command requires an
  explicit --source/-Source even when --configfile defines exactly one
  source, but that flag was never being passed. Added it (reusing the
  existing JFrogCli source alias) whenever the user hasn't already supplied
  their own --source.

- restore now determines and passes its actual target (solution/project/
  directory) to the dependency collector, instead of assuming the working
  directory, so build-info is collected for the project the user actually
  restored.

- Bump the build-info-go replace to the pushed RTECO-1574 commit, which
  fixes: packages.config checksum/scope/cache-miss gaps, the flat (not
  nested) NuGet push storage path assumption that broke property stamping,
  a restore-vs-push module identity mismatch that split one project into
  two disconnected build-info modules, and missing .slnx (modern XML
  solution format) support that silently produced empty build info.

Verified live against a real Artifactory server (restore, pack, push, and
property stamping) in addition to the existing unit test suite.
@coderabbitai

coderabbitai Bot commented Jul 29, 2026

Copy link
Copy Markdown

Important

Review skipped

Draft detected.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: 0093f881-a9d5-43c9-95ab-7e6f98122889

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

Points at bhanurp/build-info-go@74d0864 (mergeArtifacts Name+SHA1 check,
requestedBy shape scoped to FlexPack's module-ID convention).

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
…merge)

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
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