sentry-cli 2.58.3__tar.gz → 2.58.4__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {sentry_cli-2.58.3 → sentry_cli-2.58.4}/Cargo.lock +1 -1
- {sentry_cli-2.58.3 → sentry_cli-2.58.4}/Cargo.toml +1 -1
- sentry_cli-2.58.4/PKG-INFO +56 -0
- sentry_cli-2.58.4/README.md +39 -0
- {sentry_cli-2.58.3 → sentry_cli-2.58.4}/apple-catalog-parsing/native/swift/AssetCatalogParser/Sources/AssetCatalogParser/AssetCatalogReader.swift +28 -7
- sentry_cli-2.58.4/sentry_cli.egg-info/PKG-INFO +56 -0
- sentry_cli-2.58.3/PKG-INFO +0 -168
- sentry_cli-2.58.3/README.md +0 -151
- sentry_cli-2.58.3/sentry_cli.egg-info/PKG-INFO +0 -168
- {sentry_cli-2.58.3 → sentry_cli-2.58.4}/LICENSE +0 -0
- {sentry_cli-2.58.3 → sentry_cli-2.58.4}/MANIFEST.in +0 -0
- {sentry_cli-2.58.3 → sentry_cli-2.58.4}/apple-catalog-parsing/Cargo.toml +0 -0
- {sentry_cli-2.58.3 → sentry_cli-2.58.4}/apple-catalog-parsing/build.rs +0 -0
- {sentry_cli-2.58.3 → sentry_cli-2.58.4}/apple-catalog-parsing/native/swift/AssetCatalogParser/Package.swift +0 -0
- {sentry_cli-2.58.3 → sentry_cli-2.58.4}/apple-catalog-parsing/native/swift/AssetCatalogParser/Sources/ObjcSupport/include/safeValueForKey.h +0 -0
- {sentry_cli-2.58.3 → sentry_cli-2.58.4}/apple-catalog-parsing/native/swift/AssetCatalogParser/Sources/ObjcSupport/safeValueForKey.m +0 -0
- {sentry_cli-2.58.3 → sentry_cli-2.58.4}/apple-catalog-parsing/native/swift/AssetCatalogParser/Tests/AssetCatalogParserTests/AssetCatalogParserTests.swift +0 -0
- {sentry_cli-2.58.3 → sentry_cli-2.58.4}/apple-catalog-parsing/native/swift/AssetCatalogParser/Tests/AssetCatalogParserTests/Resources/test.xcarchive/Info.plist +0 -0
- {sentry_cli-2.58.3 → sentry_cli-2.58.4}/apple-catalog-parsing/native/swift/AssetCatalogParser/Tests/AssetCatalogParserTests/Resources/test.xcarchive/Products/Applications/DemoApp.app/Assets.car +0 -0
- {sentry_cli-2.58.3 → sentry_cli-2.58.4}/apple-catalog-parsing/src/asset_catalog.rs +0 -0
- {sentry_cli-2.58.3 → sentry_cli-2.58.4}/apple-catalog-parsing/src/lib.rs +0 -0
- {sentry_cli-2.58.3 → sentry_cli-2.58.4}/build.rs +0 -0
- {sentry_cli-2.58.3 → sentry_cli-2.58.4}/pyproject.toml +0 -0
- {sentry_cli-2.58.3 → sentry_cli-2.58.4}/sentry_cli.egg-info/SOURCES.txt +0 -0
- {sentry_cli-2.58.3 → sentry_cli-2.58.4}/sentry_cli.egg-info/dependency_links.txt +0 -0
- {sentry_cli-2.58.3 → sentry_cli-2.58.4}/sentry_cli.egg-info/top_level.txt +0 -0
- {sentry_cli-2.58.3 → sentry_cli-2.58.4}/setup.cfg +0 -0
- {sentry_cli-2.58.3 → sentry_cli-2.58.4}/setup.py +0 -0
- {sentry_cli-2.58.3 → sentry_cli-2.58.4}/src/api/connection_manager.rs +0 -0
- {sentry_cli-2.58.3 → sentry_cli-2.58.4}/src/api/data_types/chunking/artifact.rs +0 -0
- {sentry_cli-2.58.3 → sentry_cli-2.58.4}/src/api/data_types/chunking/build.rs +0 -0
- {sentry_cli-2.58.3 → sentry_cli-2.58.4}/src/api/data_types/chunking/compression.rs +0 -0
- {sentry_cli-2.58.3 → sentry_cli-2.58.4}/src/api/data_types/chunking/dif.rs +0 -0
- {sentry_cli-2.58.3 → sentry_cli-2.58.4}/src/api/data_types/chunking/file_state.rs +0 -0
- {sentry_cli-2.58.3 → sentry_cli-2.58.4}/src/api/data_types/chunking/hash_algorithm.rs +0 -0
- {sentry_cli-2.58.3 → sentry_cli-2.58.4}/src/api/data_types/chunking/mod.rs +0 -0
- {sentry_cli-2.58.3 → sentry_cli-2.58.4}/src/api/data_types/chunking/upload/capability.rs +0 -0
- {sentry_cli-2.58.3 → sentry_cli-2.58.4}/src/api/data_types/chunking/upload/mod.rs +0 -0
- {sentry_cli-2.58.3 → sentry_cli-2.58.4}/src/api/data_types/chunking/upload/options.rs +0 -0
- {sentry_cli-2.58.3 → sentry_cli-2.58.4}/src/api/data_types/deploy.rs +0 -0
- {sentry_cli-2.58.3 → sentry_cli-2.58.4}/src/api/data_types/mod.rs +0 -0
- {sentry_cli-2.58.3 → sentry_cli-2.58.4}/src/api/encoding.rs +0 -0
- {sentry_cli-2.58.3 → sentry_cli-2.58.4}/src/api/envelopes_api.rs +0 -0
- {sentry_cli-2.58.3 → sentry_cli-2.58.4}/src/api/errors/api_error.rs +0 -0
- {sentry_cli-2.58.3 → sentry_cli-2.58.4}/src/api/errors/mod.rs +0 -0
- {sentry_cli-2.58.3 → sentry_cli-2.58.4}/src/api/errors/sentry_error.rs +0 -0
- {sentry_cli-2.58.3 → sentry_cli-2.58.4}/src/api/mod.rs +0 -0
- {sentry_cli-2.58.3 → sentry_cli-2.58.4}/src/api/pagination.rs +0 -0
- {sentry_cli-2.58.3 → sentry_cli-2.58.4}/src/bashsupport.sh +0 -0
- {sentry_cli-2.58.3 → sentry_cli-2.58.4}/src/commands/bash_hook.rs +0 -0
- {sentry_cli-2.58.3 → sentry_cli-2.58.4}/src/commands/build/mod.rs +0 -0
- {sentry_cli-2.58.3 → sentry_cli-2.58.4}/src/commands/build/upload.rs +0 -0
- {sentry_cli-2.58.3 → sentry_cli-2.58.4}/src/commands/dart_symbol_map/mod.rs +0 -0
- {sentry_cli-2.58.3 → sentry_cli-2.58.4}/src/commands/dart_symbol_map/upload.rs +0 -0
- {sentry_cli-2.58.3 → sentry_cli-2.58.4}/src/commands/debug_files/bundle_jvm.rs +0 -0
- {sentry_cli-2.58.3 → sentry_cli-2.58.4}/src/commands/debug_files/bundle_sources.rs +0 -0
- {sentry_cli-2.58.3 → sentry_cli-2.58.4}/src/commands/debug_files/check.rs +0 -0
- {sentry_cli-2.58.3 → sentry_cli-2.58.4}/src/commands/debug_files/find.rs +0 -0
- {sentry_cli-2.58.3 → sentry_cli-2.58.4}/src/commands/debug_files/mod.rs +0 -0
- {sentry_cli-2.58.3 → sentry_cli-2.58.4}/src/commands/debug_files/print_sources.rs +0 -0
- {sentry_cli-2.58.3 → sentry_cli-2.58.4}/src/commands/debug_files/upload.rs +0 -0
- {sentry_cli-2.58.3 → sentry_cli-2.58.4}/src/commands/deploys/list.rs +0 -0
- {sentry_cli-2.58.3 → sentry_cli-2.58.4}/src/commands/deploys/mod.rs +0 -0
- {sentry_cli-2.58.3 → sentry_cli-2.58.4}/src/commands/deploys/new.rs +0 -0
- {sentry_cli-2.58.3 → sentry_cli-2.58.4}/src/commands/derive_parser.rs +0 -0
- {sentry_cli-2.58.3 → sentry_cli-2.58.4}/src/commands/events/list.rs +0 -0
- {sentry_cli-2.58.3 → sentry_cli-2.58.4}/src/commands/events/mod.rs +0 -0
- {sentry_cli-2.58.3 → sentry_cli-2.58.4}/src/commands/files/delete.rs +0 -0
- {sentry_cli-2.58.3 → sentry_cli-2.58.4}/src/commands/files/list.rs +0 -0
- {sentry_cli-2.58.3 → sentry_cli-2.58.4}/src/commands/files/mod.rs +0 -0
- {sentry_cli-2.58.3 → sentry_cli-2.58.4}/src/commands/files/upload.rs +0 -0
- {sentry_cli-2.58.3 → sentry_cli-2.58.4}/src/commands/info.rs +0 -0
- {sentry_cli-2.58.3 → sentry_cli-2.58.4}/src/commands/issues/list.rs +0 -0
- {sentry_cli-2.58.3 → sentry_cli-2.58.4}/src/commands/issues/mod.rs +0 -0
- {sentry_cli-2.58.3 → sentry_cli-2.58.4}/src/commands/issues/mute.rs +0 -0
- {sentry_cli-2.58.3 → sentry_cli-2.58.4}/src/commands/issues/resolve.rs +0 -0
- {sentry_cli-2.58.3 → sentry_cli-2.58.4}/src/commands/issues/unresolve.rs +0 -0
- {sentry_cli-2.58.3 → sentry_cli-2.58.4}/src/commands/login.rs +0 -0
- {sentry_cli-2.58.3 → sentry_cli-2.58.4}/src/commands/logs/list.rs +0 -0
- {sentry_cli-2.58.3 → sentry_cli-2.58.4}/src/commands/logs/mod.rs +0 -0
- {sentry_cli-2.58.3 → sentry_cli-2.58.4}/src/commands/mod.rs +0 -0
- {sentry_cli-2.58.3 → sentry_cli-2.58.4}/src/commands/monitors/list.rs +0 -0
- {sentry_cli-2.58.3 → sentry_cli-2.58.4}/src/commands/monitors/mod.rs +0 -0
- {sentry_cli-2.58.3 → sentry_cli-2.58.4}/src/commands/monitors/run.rs +0 -0
- {sentry_cli-2.58.3 → sentry_cli-2.58.4}/src/commands/organizations/list.rs +0 -0
- {sentry_cli-2.58.3 → sentry_cli-2.58.4}/src/commands/organizations/mod.rs +0 -0
- {sentry_cli-2.58.3 → sentry_cli-2.58.4}/src/commands/projects/list.rs +0 -0
- {sentry_cli-2.58.3 → sentry_cli-2.58.4}/src/commands/projects/mod.rs +0 -0
- {sentry_cli-2.58.3 → sentry_cli-2.58.4}/src/commands/react_native/appcenter.rs +0 -0
- {sentry_cli-2.58.3 → sentry_cli-2.58.4}/src/commands/react_native/gradle.rs +0 -0
- {sentry_cli-2.58.3 → sentry_cli-2.58.4}/src/commands/react_native/mod.rs +0 -0
- {sentry_cli-2.58.3 → sentry_cli-2.58.4}/src/commands/react_native/xcode.rs +0 -0
- {sentry_cli-2.58.3 → sentry_cli-2.58.4}/src/commands/releases/archive.rs +0 -0
- {sentry_cli-2.58.3 → sentry_cli-2.58.4}/src/commands/releases/delete.rs +0 -0
- {sentry_cli-2.58.3 → sentry_cli-2.58.4}/src/commands/releases/finalize.rs +0 -0
- {sentry_cli-2.58.3 → sentry_cli-2.58.4}/src/commands/releases/info.rs +0 -0
- {sentry_cli-2.58.3 → sentry_cli-2.58.4}/src/commands/releases/list.rs +0 -0
- {sentry_cli-2.58.3 → sentry_cli-2.58.4}/src/commands/releases/mod.rs +0 -0
- {sentry_cli-2.58.3 → sentry_cli-2.58.4}/src/commands/releases/new.rs +0 -0
- {sentry_cli-2.58.3 → sentry_cli-2.58.4}/src/commands/releases/propose_version.rs +0 -0
- {sentry_cli-2.58.3 → sentry_cli-2.58.4}/src/commands/releases/restore.rs +0 -0
- {sentry_cli-2.58.3 → sentry_cli-2.58.4}/src/commands/releases/set_commits.rs +0 -0
- {sentry_cli-2.58.3 → sentry_cli-2.58.4}/src/commands/repos/list.rs +0 -0
- {sentry_cli-2.58.3 → sentry_cli-2.58.4}/src/commands/repos/mod.rs +0 -0
- {sentry_cli-2.58.3 → sentry_cli-2.58.4}/src/commands/send_envelope.rs +0 -0
- {sentry_cli-2.58.3 → sentry_cli-2.58.4}/src/commands/send_event.rs +0 -0
- {sentry_cli-2.58.3 → sentry_cli-2.58.4}/src/commands/send_metric/common_args.rs +0 -0
- {sentry_cli-2.58.3 → sentry_cli-2.58.4}/src/commands/send_metric/distribution.rs +0 -0
- {sentry_cli-2.58.3 → sentry_cli-2.58.4}/src/commands/send_metric/gauge.rs +0 -0
- {sentry_cli-2.58.3 → sentry_cli-2.58.4}/src/commands/send_metric/increment.rs +0 -0
- {sentry_cli-2.58.3 → sentry_cli-2.58.4}/src/commands/send_metric/mod.rs +0 -0
- {sentry_cli-2.58.3 → sentry_cli-2.58.4}/src/commands/send_metric/set.rs +0 -0
- {sentry_cli-2.58.3 → sentry_cli-2.58.4}/src/commands/sourcemaps/explain.rs +0 -0
- {sentry_cli-2.58.3 → sentry_cli-2.58.4}/src/commands/sourcemaps/inject.rs +0 -0
- {sentry_cli-2.58.3 → sentry_cli-2.58.4}/src/commands/sourcemaps/mod.rs +0 -0
- {sentry_cli-2.58.3 → sentry_cli-2.58.4}/src/commands/sourcemaps/resolve.rs +0 -0
- {sentry_cli-2.58.3 → sentry_cli-2.58.4}/src/commands/sourcemaps/upload.rs +0 -0
- {sentry_cli-2.58.3 → sentry_cli-2.58.4}/src/commands/uninstall.rs +0 -0
- {sentry_cli-2.58.3 → sentry_cli-2.58.4}/src/commands/update.rs +0 -0
- {sentry_cli-2.58.3 → sentry_cli-2.58.4}/src/commands/upload_dif.rs +0 -0
- {sentry_cli-2.58.3 → sentry_cli-2.58.4}/src/commands/upload_dsym.rs +0 -0
- {sentry_cli-2.58.3 → sentry_cli-2.58.4}/src/commands/upload_proguard.rs +0 -0
- {sentry_cli-2.58.3 → sentry_cli-2.58.4}/src/config.rs +0 -0
- {sentry_cli-2.58.3 → sentry_cli-2.58.4}/src/constants.rs +0 -0
- {sentry_cli-2.58.3 → sentry_cli-2.58.4}/src/main.rs +0 -0
- {sentry_cli-2.58.3 → sentry_cli-2.58.4}/src/utils/android.rs +0 -0
- {sentry_cli-2.58.3 → sentry_cli-2.58.4}/src/utils/appcenter.rs +0 -0
- {sentry_cli-2.58.3 → sentry_cli-2.58.4}/src/utils/args.rs +0 -0
- {sentry_cli-2.58.3 → sentry_cli-2.58.4}/src/utils/auth_token/auth_token_impl.rs +0 -0
- {sentry_cli-2.58.3 → sentry_cli-2.58.4}/src/utils/auth_token/error.rs +0 -0
- {sentry_cli-2.58.3 → sentry_cli-2.58.4}/src/utils/auth_token/mod.rs +0 -0
- {sentry_cli-2.58.3 → sentry_cli-2.58.4}/src/utils/auth_token/org_auth_token.rs +0 -0
- {sentry_cli-2.58.3 → sentry_cli-2.58.4}/src/utils/auth_token/redacting.rs +0 -0
- {sentry_cli-2.58.3 → sentry_cli-2.58.4}/src/utils/auth_token/test.rs +0 -0
- {sentry_cli-2.58.3 → sentry_cli-2.58.4}/src/utils/auth_token/user_auth_token.rs +0 -0
- {sentry_cli-2.58.3 → sentry_cli-2.58.4}/src/utils/build/apple.rs +0 -0
- {sentry_cli-2.58.3 → sentry_cli-2.58.4}/src/utils/build/mod.rs +0 -0
- {sentry_cli-2.58.3 → sentry_cli-2.58.4}/src/utils/build/normalize.rs +0 -0
- {sentry_cli-2.58.3 → sentry_cli-2.58.4}/src/utils/build/validation.rs +0 -0
- {sentry_cli-2.58.3 → sentry_cli-2.58.4}/src/utils/chunks/mod.rs +0 -0
- {sentry_cli-2.58.3 → sentry_cli-2.58.4}/src/utils/chunks/options.rs +0 -0
- {sentry_cli-2.58.3 → sentry_cli-2.58.4}/src/utils/chunks/types.rs +0 -0
- {sentry_cli-2.58.3 → sentry_cli-2.58.4}/src/utils/chunks/upload.rs +0 -0
- {sentry_cli-2.58.3 → sentry_cli-2.58.4}/src/utils/ci.rs +0 -0
- {sentry_cli-2.58.3 → sentry_cli-2.58.4}/src/utils/cordova.rs +0 -0
- {sentry_cli-2.58.3 → sentry_cli-2.58.4}/src/utils/dif.rs +0 -0
- {sentry_cli-2.58.3 → sentry_cli-2.58.4}/src/utils/dif_upload/error.rs +0 -0
- {sentry_cli-2.58.3 → sentry_cli-2.58.4}/src/utils/dif_upload/mod.rs +0 -0
- {sentry_cli-2.58.3 → sentry_cli-2.58.4}/src/utils/event.rs +0 -0
- {sentry_cli-2.58.3 → sentry_cli-2.58.4}/src/utils/file_search.rs +0 -0
- {sentry_cli-2.58.3 → sentry_cli-2.58.4}/src/utils/file_upload.rs +0 -0
- {sentry_cli-2.58.3 → sentry_cli-2.58.4}/src/utils/formatting.rs +0 -0
- {sentry_cli-2.58.3 → sentry_cli-2.58.4}/src/utils/fs.rs +0 -0
- {sentry_cli-2.58.3 → sentry_cli-2.58.4}/src/utils/http.rs +0 -0
- {sentry_cli-2.58.3 → sentry_cli-2.58.4}/src/utils/logging.rs +0 -0
- {sentry_cli-2.58.3 → sentry_cli-2.58.4}/src/utils/metrics.rs +0 -0
- {sentry_cli-2.58.3 → sentry_cli-2.58.4}/src/utils/mod.rs +0 -0
- {sentry_cli-2.58.3 → sentry_cli-2.58.4}/src/utils/non_empty.rs +0 -0
- {sentry_cli-2.58.3 → sentry_cli-2.58.4}/src/utils/progress.rs +0 -0
- {sentry_cli-2.58.3 → sentry_cli-2.58.4}/src/utils/proguard/mapping.rs +0 -0
- {sentry_cli-2.58.3 → sentry_cli-2.58.4}/src/utils/proguard/mod.rs +0 -0
- {sentry_cli-2.58.3 → sentry_cli-2.58.4}/src/utils/proguard/upload.rs +0 -0
- {sentry_cli-2.58.3 → sentry_cli-2.58.4}/src/utils/releases.rs +0 -0
- {sentry_cli-2.58.3 → sentry_cli-2.58.4}/src/utils/retry.rs +0 -0
- {sentry_cli-2.58.3 → sentry_cli-2.58.4}/src/utils/snapshots/sentry_cli__utils__vcs__tests__generate_patch_default_twenty.snap +0 -0
- {sentry_cli-2.58.3 → sentry_cli-2.58.4}/src/utils/snapshots/sentry_cli__utils__vcs__tests__generate_patch_ignore_missing.snap +0 -0
- {sentry_cli-2.58.3 → sentry_cli-2.58.4}/src/utils/snapshots/sentry_cli__utils__vcs__tests__generate_patch_set_base.snap +0 -0
- {sentry_cli-2.58.3 → sentry_cli-2.58.4}/src/utils/snapshots/sentry_cli__utils__vcs__tests__generate_patch_set_previous_commit.snap +0 -0
- {sentry_cli-2.58.3 → sentry_cli-2.58.4}/src/utils/snapshots/sentry_cli__utils__vcs__tests__get_commits_from_git.snap +0 -0
- {sentry_cli-2.58.3 → sentry_cli-2.58.4}/src/utils/source_bundle.rs +0 -0
- {sentry_cli-2.58.3 → sentry_cli-2.58.4}/src/utils/sourcemaps/inject.rs +0 -0
- {sentry_cli-2.58.3 → sentry_cli-2.58.4}/src/utils/sourcemaps.rs +0 -0
- {sentry_cli-2.58.3 → sentry_cli-2.58.4}/src/utils/system.rs +0 -0
- {sentry_cli-2.58.3 → sentry_cli-2.58.4}/src/utils/ui.rs +0 -0
- {sentry_cli-2.58.3 → sentry_cli-2.58.4}/src/utils/update.rs +0 -0
- {sentry_cli-2.58.3 → sentry_cli-2.58.4}/src/utils/value_parsers.rs +0 -0
- {sentry_cli-2.58.3 → sentry_cli-2.58.4}/src/utils/vcs.rs +0 -0
- {sentry_cli-2.58.3 → sentry_cli-2.58.4}/src/utils/xcode.rs +0 -0
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: sentry_cli
|
|
3
|
+
Version: 2.58.4
|
|
4
|
+
Summary: A command line utility to work with Sentry.
|
|
5
|
+
Home-page: https://github.com/getsentry/sentry-cli
|
|
6
|
+
Author: Sentry
|
|
7
|
+
Author-email: oss@sentry.io
|
|
8
|
+
License: FSL-1.1-MIT
|
|
9
|
+
Classifier: Programming Language :: Python :: 3
|
|
10
|
+
Classifier: Programming Language :: Python :: 3 :: Only
|
|
11
|
+
Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
12
|
+
Classifier: Programming Language :: Python :: Implementation :: PyPy
|
|
13
|
+
Requires-Python: >=3.7
|
|
14
|
+
Description-Content-Type: text/markdown
|
|
15
|
+
License-File: LICENSE
|
|
16
|
+
Dynamic: license-file
|
|
17
|
+
|
|
18
|
+
<p align="center">
|
|
19
|
+
<a href="https://sentry.io/?utm_source=github&utm_medium=logo" target="_blank">
|
|
20
|
+
<picture>
|
|
21
|
+
<source srcset="https://sentry-brand.storage.googleapis.com/sentry-logo-white.png" media="(prefers-color-scheme: dark)" />
|
|
22
|
+
<source srcset="https://sentry-brand.storage.googleapis.com/sentry-logo-black.png" media="(prefers-color-scheme: light), (prefers-color-scheme: no-preference)" />
|
|
23
|
+
<img src="https://sentry-brand.storage.googleapis.com/sentry-logo-black.png" alt="Sentry" width="280">
|
|
24
|
+
</picture>
|
|
25
|
+
</a>
|
|
26
|
+
</p>
|
|
27
|
+
|
|
28
|
+
# Sentry CLI
|
|
29
|
+
|
|
30
|
+
This is the repository for Sentry CLI, the official command line interface for Sentry.
|
|
31
|
+
|
|
32
|
+
Sentry CLI can be used for many tasks, including uploading debug symbols and source maps to Sentry, managing releases, and viewing Sentry data such as issues and logs.
|
|
33
|
+
|
|
34
|
+
## Installation and Usage
|
|
35
|
+
|
|
36
|
+
Please refer to [Sentry CLI's documentation page](https://docs.sentry.io/cli/).
|
|
37
|
+
|
|
38
|
+
## Compiling
|
|
39
|
+
|
|
40
|
+
In case you want to compile this yourself, you need to install at minimum the
|
|
41
|
+
following dependencies:
|
|
42
|
+
|
|
43
|
+
* Rust stable and Cargo
|
|
44
|
+
* Make, CMake and a C compiler
|
|
45
|
+
|
|
46
|
+
Use cargo to compile:
|
|
47
|
+
|
|
48
|
+
$ cargo build
|
|
49
|
+
|
|
50
|
+
Also, there is a Dockerfile that builds an Alpine-based Docker image with
|
|
51
|
+
`sentry-cli` in the PATH. To build and use it, run:
|
|
52
|
+
|
|
53
|
+
```sh
|
|
54
|
+
docker build -t sentry-cli .
|
|
55
|
+
docker run --rm -v $(pwd):/work sentry-cli --help
|
|
56
|
+
```
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
<p align="center">
|
|
2
|
+
<a href="https://sentry.io/?utm_source=github&utm_medium=logo" target="_blank">
|
|
3
|
+
<picture>
|
|
4
|
+
<source srcset="https://sentry-brand.storage.googleapis.com/sentry-logo-white.png" media="(prefers-color-scheme: dark)" />
|
|
5
|
+
<source srcset="https://sentry-brand.storage.googleapis.com/sentry-logo-black.png" media="(prefers-color-scheme: light), (prefers-color-scheme: no-preference)" />
|
|
6
|
+
<img src="https://sentry-brand.storage.googleapis.com/sentry-logo-black.png" alt="Sentry" width="280">
|
|
7
|
+
</picture>
|
|
8
|
+
</a>
|
|
9
|
+
</p>
|
|
10
|
+
|
|
11
|
+
# Sentry CLI
|
|
12
|
+
|
|
13
|
+
This is the repository for Sentry CLI, the official command line interface for Sentry.
|
|
14
|
+
|
|
15
|
+
Sentry CLI can be used for many tasks, including uploading debug symbols and source maps to Sentry, managing releases, and viewing Sentry data such as issues and logs.
|
|
16
|
+
|
|
17
|
+
## Installation and Usage
|
|
18
|
+
|
|
19
|
+
Please refer to [Sentry CLI's documentation page](https://docs.sentry.io/cli/).
|
|
20
|
+
|
|
21
|
+
## Compiling
|
|
22
|
+
|
|
23
|
+
In case you want to compile this yourself, you need to install at minimum the
|
|
24
|
+
following dependencies:
|
|
25
|
+
|
|
26
|
+
* Rust stable and Cargo
|
|
27
|
+
* Make, CMake and a C compiler
|
|
28
|
+
|
|
29
|
+
Use cargo to compile:
|
|
30
|
+
|
|
31
|
+
$ cargo build
|
|
32
|
+
|
|
33
|
+
Also, there is a Dockerfile that builds an Alpine-based Docker image with
|
|
34
|
+
`sentry-cli` in the PATH. To build and use it, run:
|
|
35
|
+
|
|
36
|
+
```sh
|
|
37
|
+
docker build -t sentry-cli .
|
|
38
|
+
docker run --rm -v $(pwd):/work sentry-cli --help
|
|
39
|
+
```
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import CoreGraphics
|
|
2
|
+
import CryptoKit
|
|
2
3
|
import Foundation
|
|
3
4
|
import ImageIO
|
|
4
5
|
import UniformTypeIdentifiers
|
|
@@ -40,6 +41,7 @@ struct AssetCatalogEntry: Encodable {
|
|
|
40
41
|
let type: AssetType?
|
|
41
42
|
let idiom: String?
|
|
42
43
|
let colorspace: String?
|
|
44
|
+
let contentHash: String?
|
|
43
45
|
}
|
|
44
46
|
|
|
45
47
|
enum Error: Swift.Error {
|
|
@@ -112,7 +114,7 @@ enum AssetUtil {
|
|
|
112
114
|
|
|
113
115
|
let (structuredThemeStore, assetKeys) = initializeCatalog(from: file)
|
|
114
116
|
|
|
115
|
-
var
|
|
117
|
+
var cgImages: [String: (cgImage: CGImage, format: String)] = [:]
|
|
116
118
|
|
|
117
119
|
// First pass: Build map of multisize sets and cache renditions for performance
|
|
118
120
|
var multisizeSets: [MultisizeSetInfo] = []
|
|
@@ -216,6 +218,7 @@ enum AssetUtil {
|
|
|
216
218
|
var width: Int?
|
|
217
219
|
var height: Int?
|
|
218
220
|
var unslicedImage: CGImage?
|
|
221
|
+
var contentHash: String? = nil
|
|
219
222
|
|
|
220
223
|
if isMultisizeImageSet {
|
|
221
224
|
continue
|
|
@@ -223,10 +226,15 @@ enum AssetUtil {
|
|
|
223
226
|
// Get image dimensions from regular rendition
|
|
224
227
|
(width, height, unslicedImage) = resolveImageDimensions(rendition, isVector)
|
|
225
228
|
|
|
226
|
-
//
|
|
227
|
-
if fileExtension
|
|
229
|
+
// Compute content hash for PDFs/SVGs without saving to disk
|
|
230
|
+
if fileExtension == "pdf" || fileExtension == "svg" {
|
|
231
|
+
// Hash PDFs/SVGs in-memory (Python can't access _srcData without parsing binary .car format)
|
|
232
|
+
contentHash = data.sha256Hash()
|
|
233
|
+
}
|
|
234
|
+
// Save images that can be converted to CGImage (excluding PDFs/SVGs)
|
|
235
|
+
else if let unslicedImage = unslicedImage {
|
|
228
236
|
let format = fileExtension.isEmpty ? "png" : fileExtension
|
|
229
|
-
|
|
237
|
+
cgImages[imageId] = (cgImage: unslicedImage, format: format)
|
|
230
238
|
}
|
|
231
239
|
}
|
|
232
240
|
|
|
@@ -251,7 +259,8 @@ enum AssetUtil {
|
|
|
251
259
|
filename: renditionTypeName,
|
|
252
260
|
type: assetType,
|
|
253
261
|
idiom: idiomToString(idiomValue),
|
|
254
|
-
colorspace: colorSpaceIDToString(colorSpaceID)
|
|
262
|
+
colorspace: colorSpaceIDToString(colorSpaceID),
|
|
263
|
+
contentHash: contentHash
|
|
255
264
|
)
|
|
256
265
|
assets.append(asset)
|
|
257
266
|
}
|
|
@@ -266,7 +275,8 @@ enum AssetUtil {
|
|
|
266
275
|
filename: nil,
|
|
267
276
|
type: nil,
|
|
268
277
|
idiom: nil,
|
|
269
|
-
colorspace: nil
|
|
278
|
+
colorspace: nil,
|
|
279
|
+
contentHash: nil
|
|
270
280
|
))
|
|
271
281
|
|
|
272
282
|
let data = try! JSONEncoder().encode(assets)
|
|
@@ -275,7 +285,7 @@ enum AssetUtil {
|
|
|
275
285
|
.appendingPathComponent("Assets")
|
|
276
286
|
.appendingPathExtension("json")
|
|
277
287
|
try! data.write(to: url, options: [])
|
|
278
|
-
for (id, imageInfo) in
|
|
288
|
+
for (id, imageInfo) in cgImages {
|
|
279
289
|
let format = imageInfo.format
|
|
280
290
|
let cgImage = imageInfo.cgImage
|
|
281
291
|
let fileURL = folder.appendingPathComponent(id).appendingPathExtension(format)
|
|
@@ -460,6 +470,17 @@ enum AssetUtil {
|
|
|
460
470
|
}
|
|
461
471
|
}
|
|
462
472
|
|
|
473
|
+
private extension Data {
|
|
474
|
+
func sha256Hash() -> String {
|
|
475
|
+
if #available(macOS 10.15, *) {
|
|
476
|
+
let digest = SHA256.hash(data: self)
|
|
477
|
+
return digest.map { String(format: "%02x", $0) }.joined()
|
|
478
|
+
}
|
|
479
|
+
// Fallback for older macOS (shouldn't happen with version 13+ requirement)
|
|
480
|
+
return ""
|
|
481
|
+
}
|
|
482
|
+
}
|
|
483
|
+
|
|
463
484
|
private extension NSObject {
|
|
464
485
|
func getUInt(forKey key: String) -> UInt? {
|
|
465
486
|
if let result = perform(Selector(key)) {
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: sentry_cli
|
|
3
|
+
Version: 2.58.4
|
|
4
|
+
Summary: A command line utility to work with Sentry.
|
|
5
|
+
Home-page: https://github.com/getsentry/sentry-cli
|
|
6
|
+
Author: Sentry
|
|
7
|
+
Author-email: oss@sentry.io
|
|
8
|
+
License: FSL-1.1-MIT
|
|
9
|
+
Classifier: Programming Language :: Python :: 3
|
|
10
|
+
Classifier: Programming Language :: Python :: 3 :: Only
|
|
11
|
+
Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
12
|
+
Classifier: Programming Language :: Python :: Implementation :: PyPy
|
|
13
|
+
Requires-Python: >=3.7
|
|
14
|
+
Description-Content-Type: text/markdown
|
|
15
|
+
License-File: LICENSE
|
|
16
|
+
Dynamic: license-file
|
|
17
|
+
|
|
18
|
+
<p align="center">
|
|
19
|
+
<a href="https://sentry.io/?utm_source=github&utm_medium=logo" target="_blank">
|
|
20
|
+
<picture>
|
|
21
|
+
<source srcset="https://sentry-brand.storage.googleapis.com/sentry-logo-white.png" media="(prefers-color-scheme: dark)" />
|
|
22
|
+
<source srcset="https://sentry-brand.storage.googleapis.com/sentry-logo-black.png" media="(prefers-color-scheme: light), (prefers-color-scheme: no-preference)" />
|
|
23
|
+
<img src="https://sentry-brand.storage.googleapis.com/sentry-logo-black.png" alt="Sentry" width="280">
|
|
24
|
+
</picture>
|
|
25
|
+
</a>
|
|
26
|
+
</p>
|
|
27
|
+
|
|
28
|
+
# Sentry CLI
|
|
29
|
+
|
|
30
|
+
This is the repository for Sentry CLI, the official command line interface for Sentry.
|
|
31
|
+
|
|
32
|
+
Sentry CLI can be used for many tasks, including uploading debug symbols and source maps to Sentry, managing releases, and viewing Sentry data such as issues and logs.
|
|
33
|
+
|
|
34
|
+
## Installation and Usage
|
|
35
|
+
|
|
36
|
+
Please refer to [Sentry CLI's documentation page](https://docs.sentry.io/cli/).
|
|
37
|
+
|
|
38
|
+
## Compiling
|
|
39
|
+
|
|
40
|
+
In case you want to compile this yourself, you need to install at minimum the
|
|
41
|
+
following dependencies:
|
|
42
|
+
|
|
43
|
+
* Rust stable and Cargo
|
|
44
|
+
* Make, CMake and a C compiler
|
|
45
|
+
|
|
46
|
+
Use cargo to compile:
|
|
47
|
+
|
|
48
|
+
$ cargo build
|
|
49
|
+
|
|
50
|
+
Also, there is a Dockerfile that builds an Alpine-based Docker image with
|
|
51
|
+
`sentry-cli` in the PATH. To build and use it, run:
|
|
52
|
+
|
|
53
|
+
```sh
|
|
54
|
+
docker build -t sentry-cli .
|
|
55
|
+
docker run --rm -v $(pwd):/work sentry-cli --help
|
|
56
|
+
```
|
sentry_cli-2.58.3/PKG-INFO
DELETED
|
@@ -1,168 +0,0 @@
|
|
|
1
|
-
Metadata-Version: 2.4
|
|
2
|
-
Name: sentry_cli
|
|
3
|
-
Version: 2.58.3
|
|
4
|
-
Summary: A command line utility to work with Sentry.
|
|
5
|
-
Home-page: https://github.com/getsentry/sentry-cli
|
|
6
|
-
Author: Sentry
|
|
7
|
-
Author-email: oss@sentry.io
|
|
8
|
-
License: FSL-1.1-MIT
|
|
9
|
-
Classifier: Programming Language :: Python :: 3
|
|
10
|
-
Classifier: Programming Language :: Python :: 3 :: Only
|
|
11
|
-
Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
12
|
-
Classifier: Programming Language :: Python :: Implementation :: PyPy
|
|
13
|
-
Requires-Python: >=3.7
|
|
14
|
-
Description-Content-Type: text/markdown
|
|
15
|
-
License-File: LICENSE
|
|
16
|
-
Dynamic: license-file
|
|
17
|
-
|
|
18
|
-
<p align="center">
|
|
19
|
-
<a href="https://sentry.io/?utm_source=github&utm_medium=logo" target="_blank">
|
|
20
|
-
<picture>
|
|
21
|
-
<source srcset="https://sentry-brand.storage.googleapis.com/sentry-logo-white.png" media="(prefers-color-scheme: dark)" />
|
|
22
|
-
<source srcset="https://sentry-brand.storage.googleapis.com/sentry-logo-black.png" media="(prefers-color-scheme: light), (prefers-color-scheme: no-preference)" />
|
|
23
|
-
<img src="https://sentry-brand.storage.googleapis.com/sentry-logo-black.png" alt="Sentry" width="280">
|
|
24
|
-
</picture>
|
|
25
|
-
</a>
|
|
26
|
-
</p>
|
|
27
|
-
|
|
28
|
-
# Official Sentry Command Line Interface
|
|
29
|
-
|
|
30
|
-
[](https://github.com/getsentry/sentry-cli/actions?query=workflow%3ACI)
|
|
31
|
-
[](https://github.com/getsentry/sentry-cli/releases/latest)
|
|
32
|
-
[](https://www.npmjs.com/package/@sentry/cli)
|
|
33
|
-
[](https://github.com/getsentry/sentry-cli/blob/master/LICENSE)
|
|
34
|
-
|
|
35
|
-
This is a Sentry command line client for some generic tasks. Right now this is
|
|
36
|
-
primarily used to upload debug symbols to Sentry if you are not using the
|
|
37
|
-
Fastlane tools.
|
|
38
|
-
|
|
39
|
-
* Downloads can be found under
|
|
40
|
-
[Releases](https://github.com/getsentry/sentry-cli/releases/)
|
|
41
|
-
* Documentation can be found [here](https://docs.sentry.io/hosted/learn/cli/)
|
|
42
|
-
|
|
43
|
-
## Installation
|
|
44
|
-
|
|
45
|
-
If you are on macOS or Linux, you can use the automated downloader which will fetch the latest release version for you and install it:
|
|
46
|
-
|
|
47
|
-
curl -sL https://sentry.io/get-cli/ | bash
|
|
48
|
-
|
|
49
|
-
We do, however, encourage you to pin the specific version of the CLI, so your builds are always reproducible.
|
|
50
|
-
To do that, you can use the exact same method, with an additional version specifier:
|
|
51
|
-
|
|
52
|
-
curl -sL https://sentry.io/get-cli/ | SENTRY_CLI_VERSION=2.33.1 bash
|
|
53
|
-
|
|
54
|
-
This will automatically download the correct version of `sentry-cli` for your operating system and install it. If necessary, it will prompt for your admin password for `sudo`. For a different installation location or for systems without `sudo` (like Windows), you can `export INSTALL_DIR=/custom/installation/path` before running this command.
|
|
55
|
-
|
|
56
|
-
If you are using `sentry-cli` on Windows environments, [Microsoft Visual C++ Redistributable](https://learn.microsoft.com/en-us/cpp/windows/latest-supported-vc-redist) is required.
|
|
57
|
-
|
|
58
|
-
To verify it’s installed correctly you can bring up the help:
|
|
59
|
-
|
|
60
|
-
sentry-cli --help
|
|
61
|
-
|
|
62
|
-
### pip
|
|
63
|
-
|
|
64
|
-
_New in 2.14.3_: `sentry-cli` can also be installed using `pip`:
|
|
65
|
-
|
|
66
|
-
```bash
|
|
67
|
-
pip install sentry-cli
|
|
68
|
-
```
|
|
69
|
-
|
|
70
|
-
### Node
|
|
71
|
-
|
|
72
|
-
Additionally, you can also install this binary via npm:
|
|
73
|
-
|
|
74
|
-
npm install @sentry/cli
|
|
75
|
-
|
|
76
|
-
When installing globally, make sure to have set
|
|
77
|
-
[correct permissions on the global node_modules directory](https://docs.npmjs.com/getting-started/fixing-npm-permissions).
|
|
78
|
-
If this is not possible in your environment or still produces an EACCESS error,
|
|
79
|
-
install as root:
|
|
80
|
-
|
|
81
|
-
sudo npm install -g @sentry/cli --unsafe-perm
|
|
82
|
-
|
|
83
|
-
By default, this package will download sentry-cli from the CDN managed by [Fastly](https://www.fastly.com/).
|
|
84
|
-
To use a custom CDN, set the npm config property `sentrycli_cdnurl`. The downloader will append
|
|
85
|
-
`"/<version>/sentry-cli-<dist>"`.
|
|
86
|
-
|
|
87
|
-
```sh
|
|
88
|
-
npm install @sentry/cli --sentrycli_cdnurl=https://mymirror.local/path
|
|
89
|
-
```
|
|
90
|
-
|
|
91
|
-
Or add property into your `.npmrc` file (https://www.npmjs.org/doc/files/npmrc.html)
|
|
92
|
-
|
|
93
|
-
```rc
|
|
94
|
-
sentrycli_cdnurl=https://mymirror.local/path
|
|
95
|
-
```
|
|
96
|
-
|
|
97
|
-
There are a few environment variables that you can provide to control the npm installation:
|
|
98
|
-
|
|
99
|
-
```
|
|
100
|
-
SENTRYCLI_CDNURL=<url> # Use alternative cdn url for downloading binary
|
|
101
|
-
SENTRYCLI_USE_LOCAL=1 # Use local instance of sentry-cli binary (looked up via $PATH environment)
|
|
102
|
-
SENTRYCLI_SKIP_DOWNLOAD=1 # Skip downloading binary entirely
|
|
103
|
-
SENTRYCLI_NO_PROGRESS_BAR=1 # Do not print the progress bar when downloading binary (default for non-TTY environments like CI)
|
|
104
|
-
SENTRYCLI_LOG_STREAM=<stdout|stderr> # Changes where to redirect install script output
|
|
105
|
-
```
|
|
106
|
-
|
|
107
|
-
When using `sentry-cli` via JavaScript API or any 3rd party plugin that is consuming said API,
|
|
108
|
-
you can also use `SENTRY_BINARY_PATH=<path>` alongside `SENTRYCLI_SKIP_DOWNLOAD=1` to completely
|
|
109
|
-
control what binaries are downloaded and used throughout the whole process.
|
|
110
|
-
|
|
111
|
-
If you're installing the CLI with NPM from behind a proxy, the install script will
|
|
112
|
-
use either NPM's configured HTTPS proxy server or the value from your `HTTPS_PROXY`
|
|
113
|
-
environment variable.
|
|
114
|
-
|
|
115
|
-
### Homebrew
|
|
116
|
-
|
|
117
|
-
A homebrew recipe is provided in the `getsentry/tools` tap:
|
|
118
|
-
|
|
119
|
-
brew install getsentry/tools/sentry-cli
|
|
120
|
-
|
|
121
|
-
### Docker
|
|
122
|
-
|
|
123
|
-
As of version _1.25.0_, there is an official Docker image that comes with
|
|
124
|
-
`sentry-cli` preinstalled. If you prefer a specific version, specify it as tag.
|
|
125
|
-
The latest development version is published under the `edge` tag. In production,
|
|
126
|
-
we recommend you to use the `latest` tag. To use it, run:
|
|
127
|
-
|
|
128
|
-
```sh
|
|
129
|
-
docker pull getsentry/sentry-cli
|
|
130
|
-
docker run --rm -v $(pwd):/work getsentry/sentry-cli --help
|
|
131
|
-
```
|
|
132
|
-
|
|
133
|
-
Starting version _`2.8.0`_, in case you see `"error: config value 'safe.directory' was not found;"` message,
|
|
134
|
-
you also need to correctly set UID and GID of mounted volumes like so:
|
|
135
|
-
|
|
136
|
-
```sh
|
|
137
|
-
docker run --rm -u "$(id -u):$(id -g)" -v $(pwd):/work getsentry/sentry-cli --help
|
|
138
|
-
```
|
|
139
|
-
|
|
140
|
-
This is required due to security issue in older `git` implementations. See [here](https://github.blog/2022-04-12-git-security-vulnerability-announced/) for more details.
|
|
141
|
-
|
|
142
|
-
## Update
|
|
143
|
-
|
|
144
|
-
To update sentry-cli to the latest version run:
|
|
145
|
-
|
|
146
|
-
```sh
|
|
147
|
-
sentry-cli update
|
|
148
|
-
```
|
|
149
|
-
|
|
150
|
-
## Compiling
|
|
151
|
-
|
|
152
|
-
In case you want to compile this yourself, you need to install at minimum the
|
|
153
|
-
following dependencies:
|
|
154
|
-
|
|
155
|
-
* Rust stable and Cargo
|
|
156
|
-
* Make, CMake and a C compiler
|
|
157
|
-
|
|
158
|
-
Use cargo to compile:
|
|
159
|
-
|
|
160
|
-
$ cargo build
|
|
161
|
-
|
|
162
|
-
Also, there is a Dockerfile that builds an Alpine-based Docker image with
|
|
163
|
-
`sentry-cli` in the PATH. To build and use it, run:
|
|
164
|
-
|
|
165
|
-
```sh
|
|
166
|
-
docker build -t sentry-cli .
|
|
167
|
-
docker run --rm -v $(pwd):/work sentry-cli --help
|
|
168
|
-
```
|
sentry_cli-2.58.3/README.md
DELETED
|
@@ -1,151 +0,0 @@
|
|
|
1
|
-
<p align="center">
|
|
2
|
-
<a href="https://sentry.io/?utm_source=github&utm_medium=logo" target="_blank">
|
|
3
|
-
<picture>
|
|
4
|
-
<source srcset="https://sentry-brand.storage.googleapis.com/sentry-logo-white.png" media="(prefers-color-scheme: dark)" />
|
|
5
|
-
<source srcset="https://sentry-brand.storage.googleapis.com/sentry-logo-black.png" media="(prefers-color-scheme: light), (prefers-color-scheme: no-preference)" />
|
|
6
|
-
<img src="https://sentry-brand.storage.googleapis.com/sentry-logo-black.png" alt="Sentry" width="280">
|
|
7
|
-
</picture>
|
|
8
|
-
</a>
|
|
9
|
-
</p>
|
|
10
|
-
|
|
11
|
-
# Official Sentry Command Line Interface
|
|
12
|
-
|
|
13
|
-
[](https://github.com/getsentry/sentry-cli/actions?query=workflow%3ACI)
|
|
14
|
-
[](https://github.com/getsentry/sentry-cli/releases/latest)
|
|
15
|
-
[](https://www.npmjs.com/package/@sentry/cli)
|
|
16
|
-
[](https://github.com/getsentry/sentry-cli/blob/master/LICENSE)
|
|
17
|
-
|
|
18
|
-
This is a Sentry command line client for some generic tasks. Right now this is
|
|
19
|
-
primarily used to upload debug symbols to Sentry if you are not using the
|
|
20
|
-
Fastlane tools.
|
|
21
|
-
|
|
22
|
-
* Downloads can be found under
|
|
23
|
-
[Releases](https://github.com/getsentry/sentry-cli/releases/)
|
|
24
|
-
* Documentation can be found [here](https://docs.sentry.io/hosted/learn/cli/)
|
|
25
|
-
|
|
26
|
-
## Installation
|
|
27
|
-
|
|
28
|
-
If you are on macOS or Linux, you can use the automated downloader which will fetch the latest release version for you and install it:
|
|
29
|
-
|
|
30
|
-
curl -sL https://sentry.io/get-cli/ | bash
|
|
31
|
-
|
|
32
|
-
We do, however, encourage you to pin the specific version of the CLI, so your builds are always reproducible.
|
|
33
|
-
To do that, you can use the exact same method, with an additional version specifier:
|
|
34
|
-
|
|
35
|
-
curl -sL https://sentry.io/get-cli/ | SENTRY_CLI_VERSION=2.33.1 bash
|
|
36
|
-
|
|
37
|
-
This will automatically download the correct version of `sentry-cli` for your operating system and install it. If necessary, it will prompt for your admin password for `sudo`. For a different installation location or for systems without `sudo` (like Windows), you can `export INSTALL_DIR=/custom/installation/path` before running this command.
|
|
38
|
-
|
|
39
|
-
If you are using `sentry-cli` on Windows environments, [Microsoft Visual C++ Redistributable](https://learn.microsoft.com/en-us/cpp/windows/latest-supported-vc-redist) is required.
|
|
40
|
-
|
|
41
|
-
To verify it’s installed correctly you can bring up the help:
|
|
42
|
-
|
|
43
|
-
sentry-cli --help
|
|
44
|
-
|
|
45
|
-
### pip
|
|
46
|
-
|
|
47
|
-
_New in 2.14.3_: `sentry-cli` can also be installed using `pip`:
|
|
48
|
-
|
|
49
|
-
```bash
|
|
50
|
-
pip install sentry-cli
|
|
51
|
-
```
|
|
52
|
-
|
|
53
|
-
### Node
|
|
54
|
-
|
|
55
|
-
Additionally, you can also install this binary via npm:
|
|
56
|
-
|
|
57
|
-
npm install @sentry/cli
|
|
58
|
-
|
|
59
|
-
When installing globally, make sure to have set
|
|
60
|
-
[correct permissions on the global node_modules directory](https://docs.npmjs.com/getting-started/fixing-npm-permissions).
|
|
61
|
-
If this is not possible in your environment or still produces an EACCESS error,
|
|
62
|
-
install as root:
|
|
63
|
-
|
|
64
|
-
sudo npm install -g @sentry/cli --unsafe-perm
|
|
65
|
-
|
|
66
|
-
By default, this package will download sentry-cli from the CDN managed by [Fastly](https://www.fastly.com/).
|
|
67
|
-
To use a custom CDN, set the npm config property `sentrycli_cdnurl`. The downloader will append
|
|
68
|
-
`"/<version>/sentry-cli-<dist>"`.
|
|
69
|
-
|
|
70
|
-
```sh
|
|
71
|
-
npm install @sentry/cli --sentrycli_cdnurl=https://mymirror.local/path
|
|
72
|
-
```
|
|
73
|
-
|
|
74
|
-
Or add property into your `.npmrc` file (https://www.npmjs.org/doc/files/npmrc.html)
|
|
75
|
-
|
|
76
|
-
```rc
|
|
77
|
-
sentrycli_cdnurl=https://mymirror.local/path
|
|
78
|
-
```
|
|
79
|
-
|
|
80
|
-
There are a few environment variables that you can provide to control the npm installation:
|
|
81
|
-
|
|
82
|
-
```
|
|
83
|
-
SENTRYCLI_CDNURL=<url> # Use alternative cdn url for downloading binary
|
|
84
|
-
SENTRYCLI_USE_LOCAL=1 # Use local instance of sentry-cli binary (looked up via $PATH environment)
|
|
85
|
-
SENTRYCLI_SKIP_DOWNLOAD=1 # Skip downloading binary entirely
|
|
86
|
-
SENTRYCLI_NO_PROGRESS_BAR=1 # Do not print the progress bar when downloading binary (default for non-TTY environments like CI)
|
|
87
|
-
SENTRYCLI_LOG_STREAM=<stdout|stderr> # Changes where to redirect install script output
|
|
88
|
-
```
|
|
89
|
-
|
|
90
|
-
When using `sentry-cli` via JavaScript API or any 3rd party plugin that is consuming said API,
|
|
91
|
-
you can also use `SENTRY_BINARY_PATH=<path>` alongside `SENTRYCLI_SKIP_DOWNLOAD=1` to completely
|
|
92
|
-
control what binaries are downloaded and used throughout the whole process.
|
|
93
|
-
|
|
94
|
-
If you're installing the CLI with NPM from behind a proxy, the install script will
|
|
95
|
-
use either NPM's configured HTTPS proxy server or the value from your `HTTPS_PROXY`
|
|
96
|
-
environment variable.
|
|
97
|
-
|
|
98
|
-
### Homebrew
|
|
99
|
-
|
|
100
|
-
A homebrew recipe is provided in the `getsentry/tools` tap:
|
|
101
|
-
|
|
102
|
-
brew install getsentry/tools/sentry-cli
|
|
103
|
-
|
|
104
|
-
### Docker
|
|
105
|
-
|
|
106
|
-
As of version _1.25.0_, there is an official Docker image that comes with
|
|
107
|
-
`sentry-cli` preinstalled. If you prefer a specific version, specify it as tag.
|
|
108
|
-
The latest development version is published under the `edge` tag. In production,
|
|
109
|
-
we recommend you to use the `latest` tag. To use it, run:
|
|
110
|
-
|
|
111
|
-
```sh
|
|
112
|
-
docker pull getsentry/sentry-cli
|
|
113
|
-
docker run --rm -v $(pwd):/work getsentry/sentry-cli --help
|
|
114
|
-
```
|
|
115
|
-
|
|
116
|
-
Starting version _`2.8.0`_, in case you see `"error: config value 'safe.directory' was not found;"` message,
|
|
117
|
-
you also need to correctly set UID and GID of mounted volumes like so:
|
|
118
|
-
|
|
119
|
-
```sh
|
|
120
|
-
docker run --rm -u "$(id -u):$(id -g)" -v $(pwd):/work getsentry/sentry-cli --help
|
|
121
|
-
```
|
|
122
|
-
|
|
123
|
-
This is required due to security issue in older `git` implementations. See [here](https://github.blog/2022-04-12-git-security-vulnerability-announced/) for more details.
|
|
124
|
-
|
|
125
|
-
## Update
|
|
126
|
-
|
|
127
|
-
To update sentry-cli to the latest version run:
|
|
128
|
-
|
|
129
|
-
```sh
|
|
130
|
-
sentry-cli update
|
|
131
|
-
```
|
|
132
|
-
|
|
133
|
-
## Compiling
|
|
134
|
-
|
|
135
|
-
In case you want to compile this yourself, you need to install at minimum the
|
|
136
|
-
following dependencies:
|
|
137
|
-
|
|
138
|
-
* Rust stable and Cargo
|
|
139
|
-
* Make, CMake and a C compiler
|
|
140
|
-
|
|
141
|
-
Use cargo to compile:
|
|
142
|
-
|
|
143
|
-
$ cargo build
|
|
144
|
-
|
|
145
|
-
Also, there is a Dockerfile that builds an Alpine-based Docker image with
|
|
146
|
-
`sentry-cli` in the PATH. To build and use it, run:
|
|
147
|
-
|
|
148
|
-
```sh
|
|
149
|
-
docker build -t sentry-cli .
|
|
150
|
-
docker run --rm -v $(pwd):/work sentry-cli --help
|
|
151
|
-
```
|