1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-10-22 19:26:13 +02:00
metamask-extension/app/scripts
Mark Stacey 37dc19a352
Migrate Sentry settings to environment variables (#11085)
Sentry is now configured with environment variables, rather than with
hard-coded values. This makes it easier to test Sentry functionality
using a different Sentry account, as we did recently during QA of
v9.5.1.

The only change for the normal build process is the introduction of the
`SENTRY_DSN_DEV` variable, which can be set via `.metamaskrc` or via an
environment variable. This determines where error reports are sent. It
still defaults to our team Sentry account's `metamask-testing` project.

The `sentry:publish` script now requires SENTRY_ORG and SENTRY_PROJECT
to be set in order to publish release artifacts. The CircleCI
configuration has been updated with these values, so it should act the
same as it did before. Previously we had used a CLI flag to specify the
organization and project, but Sentry already natively supports these
environment variables [1].

[1]: https://docs.sentry.io/product/cli/configuration/#configuration-values
2021-05-18 13:56:22 -02:30
..
account-import-strategies Use strict assertion mode everywhere (#11012) 2021-05-07 17:08:24 -02:30
constants @metamask/eslint config@5.0.0 (#10358) 2021-02-04 10:15:23 -08:00
controllers use safer toChecksum utility (#11117) 2021-05-17 16:19:39 -05:00
lib Migrate Sentry settings to environment variables (#11085) 2021-05-18 13:56:22 -02:30
migrations use safer toChecksum utility (#11117) 2021-05-17 16:19:39 -05:00
platforms prefer chainId when building block explorer urls (#10587) 2021-03-09 15:37:19 -06:00
background.js Delete setupFetchDebugging.js (#10636) 2021-03-23 18:05:49 +08:00
contentscript.js @metamask/post-message-stream@4.0.0 (#10989) 2021-05-05 16:07:48 -07:00
disable-console.js @metamask/eslint config@5.0.0 (#10358) 2021-02-04 10:15:23 -08:00
first-time-state.js @metamask/eslint config@5.0.0 (#10358) 2021-02-04 10:15:23 -08:00
initSentry.js @metamask/eslint config@5.0.0 (#10358) 2021-02-04 10:15:23 -08:00
inpage.js @metamask/providers@8.1.1 (#11078) 2021-05-12 19:51:14 -07:00
metamask-controller.js use safer toChecksum utility (#11117) 2021-05-17 16:19:39 -05:00
metamask-controller.test.js Use strict assertion mode everywhere (#11012) 2021-05-07 17:08:24 -02:30
phishing-detect.js fix: replace dnode background with JSON-RPC (#10627) 2021-03-18 11:23:46 -07:00
runLockdown.js security - update SES lockdown (#10663) 2021-03-26 12:27:25 +08:00
ui.js fix: replace dnode background with JSON-RPC (#10627) 2021-03-18 11:23:46 -07:00