-
Notifications
You must be signed in to change notification settings - Fork 232
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: use forked metrics and forked sentry to fix RUSTSEC-2020-0041 temporarily #2266
fix: use forked metrics and forked sentry to fix RUSTSEC-2020-0041 temporarily #2266
Conversation
util/app-config/src/sentry_config.rs
Outdated
@@ -31,8 +27,6 @@ impl SentryConfig { | |||
scope.set_extra("org_contact", org_contact.clone().into()); | |||
} | |||
}); | |||
|
|||
register_panic_handler(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How the sentry panic handler is registered in the new version?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OK. I'm verifying it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
bors merge |
2266: fix: use forked metrics and forked sentry to fix RUSTSEC-2020-0041 temporarily r=yangby-cryptape a=yangby-cryptape ### Commits - [chore(deps): bump crossbeam-channel from 0.4.3 to 0.4.4](728f5c3) - [chore: remove direct dependencies of metrics exporters and observers](de3173a) - [chore(deps): bump sentry from 0.16.0 to 0.19.1](e6b00c5) - [The module `sentry::internals` was deprecated.](https://github.com/getsentry/sentry-rust/blob/0.19.1/sentry/src/lib.rs#L133) - [`Sentry` will set itself as the panic handler automatically on setup, so no need to do that manually](../../../../getsentry/sentry-rust/issues/235#issuecomment-654832365) - [chore: replace several dependencies sentry by sentry-core and sentry-log](80af819) - [fix: use patched versions of metrics and sentry to fix RUSTSEC-2020-0041 temporarily](1eb9e0b) - [Changes of forked `metrics`](nervosnetwork/sentry-rust@1cdb9ff) - [Changes of forked `sentry`](nervosnetwork/metrics-rs@4fd13f6) ### References - [RUSTSEC-2020-0041](../../../../rustsec/advisory-db/pull/381) Co-authored-by: Boyu Yang <yangby@cryptape.com>
Build failed: |
bors retry |
2266: fix: use forked metrics and forked sentry to fix RUSTSEC-2020-0041 temporarily r=yangby-cryptape a=yangby-cryptape ### Commits - [chore(deps): bump crossbeam-channel from 0.4.3 to 0.4.4](728f5c3) - [chore: remove direct dependencies of metrics exporters and observers](de3173a) - [chore(deps): bump sentry from 0.16.0 to 0.19.1](e6b00c5) - [The module `sentry::internals` was deprecated.](https://github.com/getsentry/sentry-rust/blob/0.19.1/sentry/src/lib.rs#L133) - [`Sentry` will set itself as the panic handler automatically on setup, so no need to do that manually](../../../../getsentry/sentry-rust/issues/235#issuecomment-654832365) - [chore: replace several dependencies sentry by sentry-core and sentry-log](80af819) - [fix: use patched versions of metrics and sentry to fix RUSTSEC-2020-0041 temporarily](1eb9e0b) - [Changes of forked `metrics`](nervosnetwork/sentry-rust@1cdb9ff) - [Changes of forked `sentry`](nervosnetwork/metrics-rs@4fd13f6) ### References - [RUSTSEC-2020-0041](../../../../rustsec/advisory-db/pull/381) Co-authored-by: Boyu Yang <yangby@cryptape.com>
Build failed:
|
6aaae31
1eb9e0b
to
6aaae31
Compare
The last force-pushed replace I don't have Mac, so it's too hard to debug it for me via Travis CI. I gave up! |
bors retry |
Build succeeded: |
Commits
metrics
sentry
References