init: detect and migrate from competitor SDKs
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 30/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Quiet
- Tech stack
- javascript, python, ruby, typescript
Research direction
Start with the sentry-cli init implementation and the migration patterns in the linked sentry-for-ai Ruby migration skill. Define the initial competitor and ecosystem coverage, then trace how detection, confirmation, dependency/config removal, and Sentry setup should fit together. Done means init can safely report detected integrations and perform an agreed migration for the selected scope.
Written by the indexing model from the issue text.
Description
sentry-cli init currently instruments Sentry into a project. It should also detect existing competitor error-monitoring SDKs and optionally migrate the project to Sentry by replacing/removing the competitor integration.
Current behavior
sentry-cli init sets up Sentry SDK integration from scratch. It does not inspect the project for existing error-monitoring tools.
Gap
Projects already using a competitor (e.g. Bugsnag, Rollbar, Airbrake, Honeybadger, AppSignal, Datadog) need manual migration. Automating detection and migration would lower the switching cost and make sentry-cli init a one-stop onboarding path.
Suggested scope
- Detect: scan project files (dependency manifests, config, imports) for known competitor SDKs
- Report: surface what was found and confirm with the user before making changes
- Migrate: remove competitor dependencies/config and replace with equivalent Sentry setup
- Per-ecosystem coverage: start with the highest-value ecosystems (e.g. JavaScript, Python, Ruby) and expand
Prior art
The sentry-for-ai Ruby migration skill already covers detection patterns and migration mappings for AppSignal, Honeybadger, Bugsnag, Rollbar, and Airbrake. This could serve as a reference for the CLI implementation.
Raised by David Cramer.
Action taken on behalf of Miguel Betegon.
- Dominant language
- TypeScript
- Stars
- 121
- Forks
- 14
- Avg merge
- 22h 3m
- Merged PRs (30d)
- 94
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from getsentry/cli
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
Difficulty 3/5 1-2 days Newbie friendliness 68/100
-
Difficulty 3/5 1-2 days Newbie friendliness 65/100
-
bug jared
-
jared
Difficulty 4/5 3-5 days Newbie friendliness 52/100
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
copse-dev/agent-pane#2953 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
Eynzof/Hermes-CN-Desktop#610 ·
-
bug clawsweeper:linked-pr-open clawsweeper:needs-live-repro clawsweeper:no-new-fix-pr impact:message-loss issue-rating: 🐚 platinum hermit P2 regression
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
calcite-components needs triage refactor
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
Esri/calcite-design-system#15203 ·