Port sentry-wizard into the CLI as `sentry wizard`

オープン
#2,511 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
25/100
issue の種類
機能追加
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
node.js, typescript

調査の方向性

Start by reading the wizard source under src/ and the CLI's existing sentry mcp bundling, which the issue names as the model for the npm package. Then map the platform flows and the listed CLI, API, dependency, and login changes; done means sentry wizard covers the agreed scope and npx @sentry/wizard -i <platform> still works. This spans a large codebase and coordinated init/wizard work, so expect design and integration work.

索引モデルが issue の本文から書いたものです。

説明

CLI

Bring getsentry/sentry-wizard (9.1.0) into the CLI as sentry wizard before v4.0.0 is cut (#1965). The wizard is about 28k lines in src/ across the per-platform flows, about 2k lines of legacy lib/, and about 21k lines of e2e tests.

Scope already decided:

  • Login: use the CLI's login and the agent handoff flow (#2320, #2479, #2384) instead of the wizard's account/settings/wizard/<hash> browser flow. Keep anything from the old flow that improves the new one, such as picking or creating a project and returning the DSN in one trip.
  • Drop lib/: the legacy Cordova/Electron flow and inquirer.
  • Move the wizard's own sentry-cli use to v4 commands: 15 files. This covers @sentry/cli@^2 installs (src/sourcemaps/tools/sentry-cli.ts, wrangler.ts), sentry.io/get-cli (src/utils/bash.ts), and the Xcode build-phase and snapshots templates (src/apple/).
  • Dependencies: yargs, axios, glob, opn and inquirer are replaced by the CLI's stricli, API client, tinyglobby and browser opener. js-yaml and xml-js are dropped. magicast, recast and xcode stay until the init/wizard unification (#2510).
  • npm @sentry/wizard: becomes a bundled single-binary package that runs sentry wizard, the same way @sentry/mcp-server bundles sentry mcp. npx @sentry/wizard -i <platform> keeps working; Sentry onboarding and docs use it widely.
  • sentry init stays a separate command until #2510.

Related: #1856 (sentry init agent setup guide).

via @BYK.

--

View Session [Sentry]

主要言語
TypeScript
スター
975
フォーク
189
平均マージ
19時間 57分
マージ済み PR(30日)
542

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

getsentry/toolkit のほかの issue

getsentry/toolkit の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。