Migrate to getsentry/cli

Open
#5,580 1 comment 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
52/100
Issue type
Refactor
Clarity
Mostly clear
Activity status
Active
Tech stack
csharp
Domain
build-system, cli

Research direction

Start by locating the MSBuild target that downloads and invokes the hash-pinned sentry CLI binary, then compare its commands and credential arguments with getsentry/cli 4.0. Check platform coverage for the .NET targets and verify the listed debug-files, ProGuard, release, SENTRY_AUTH_TOKEN, and SENTRY_URL behavior. Done means the migration works across supported build hosts without command or credential regressions.

Written by the indexing model from the issue text.

Description

.NET State: Needs Discussion
Description

https://github.com/getsentry/sentry-cli will be deprecated in favor of https://github.com/getsentry/cli

The new CLI (version 4.0) and is meant as drop-in replacement, however this needs to be checked and there are some migration steps to be aware of.

sentry-dotnet downloads one hash-pinned binary for the build host.

  • debug-files upload, debug-files bundle-sources, and info --no-defaults exist.
  • upload-proguard is now proguard upload.
  • releases new is now release create.
  • releases set-commits is now release set-commits; core modes such as --auto, --local, --clear, --commit, and --initial-depth exist.
  • The new CLI has no command-line --auth-token or --url flags; it expects SENTRY_AUTH_TOKEN and SENTRY_URL. The MSBuild target currently passes both as CLI arguments.

Risk: medium. MSBuild commands and credential handling must change. New CLI platform coverage must also match the .NET targets.

Dominant language
C#
Stars
775
Forks
262
Avg merge
1d 16h
Merged PRs (30d)
118

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from getsentry/sentry-dotnet

All issues in getsentry/sentry-dotnet

Similar issues

More C# issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.