Also deduplicates code used to call sentry_sdk.init by making all our
init code go through the same function swh.core.sentry.init_sentry."
Details
- Reviewers
douardda olasd ardumont - Group Reviewers
Reviewers - Commits
- rDCORE2255767b9763: Add env var SWH_MAIN_PACKAGE to initialize sentry_sdk with a release.
Diff Detail
- Repository
- rDCORE Foundations and core functionalities
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.
Event Timeline
Build has FAILED
Link to build: https://jenkins.softwareheritage.org/job/DCORE/job/tox/383/
See console output for more information: https://jenkins.softwareheritage.org/job/DCORE/job/tox/383/console
I'm a bit puzzled by the 2 revisions in this diff. Are they related? I don't really see how/why.
Also please consider better commit message with the 'why' (why do we need "Allow subclasses of RPCClient to override generated methods", and even if i might appear king of obvious, why do we need this SWH_MAIN_PACKAGE).
BTW there seem to be a typo in this commit message (there is a closing " without an opening one).
Build has FAILED
Link to build: https://jenkins.softwareheritage.org/job/DCORE/job/tox/384/
See console output for more information: https://jenkins.softwareheritage.org/job/DCORE/job/tox/384/console
Build is green
See https://jenkins.softwareheritage.org/job/DCORE/job/tox/385/ for more details.
I'm fine with the code, but as I already said, I'd really like the commit message to have a paragraph on why this is needed and what problem it solves.
It might be obvious for the author of the diff but not for someone with no particular knowledge in sentry reading the git log...
Build has FAILED
Link to build: https://jenkins.softwareheritage.org/job/DCORE/job/tox/386/
See console output for more information: https://jenkins.softwareheritage.org/job/DCORE/job/tox/386/console