sentry-cli 3.2.3__tar.gz → 3.3.0__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-3.2.3 → sentry_cli-3.3.0}/Cargo.lock +5 -5
- {sentry_cli-3.2.3 → sentry_cli-3.3.0}/Cargo.toml +2 -2
- {sentry_cli-3.2.3 → sentry_cli-3.3.0}/PKG-INFO +1 -1
- {sentry_cli-3.2.3 → sentry_cli-3.3.0}/sentry_cli.egg-info/PKG-INFO +1 -1
- {sentry_cli-3.2.3 → sentry_cli-3.3.0}/sentry_cli.egg-info/SOURCES.txt +3 -0
- {sentry_cli-3.2.3 → sentry_cli-3.3.0}/src/api/data_types/snapshots.rs +1 -0
- {sentry_cli-3.2.3 → sentry_cli-3.3.0}/src/commands/build/snapshots.rs +8 -0
- {sentry_cli-3.2.3 → sentry_cli-3.3.0}/src/commands/mod.rs +2 -0
- sentry_cli-3.3.0/src/commands/proguard/mod.rs +45 -0
- sentry_cli-3.2.3/src/commands/upload_proguard.rs → sentry_cli-3.3.0/src/commands/proguard/upload.rs +8 -6
- sentry_cli-3.3.0/src/commands/proguard/uuid.rs +37 -0
- sentry_cli-3.3.0/src/commands/upload_proguard.rs +11 -0
- {sentry_cli-3.2.3 → sentry_cli-3.3.0}/src/utils/releases.rs +7 -0
- {sentry_cli-3.2.3 → sentry_cli-3.3.0}/LICENSE +0 -0
- {sentry_cli-3.2.3 → sentry_cli-3.3.0}/MANIFEST.in +0 -0
- {sentry_cli-3.2.3 → sentry_cli-3.3.0}/README.md +0 -0
- {sentry_cli-3.2.3 → sentry_cli-3.3.0}/apple-catalog-parsing/AGENTS.md +0 -0
- {sentry_cli-3.2.3 → sentry_cli-3.3.0}/apple-catalog-parsing/CLAUDE.md +0 -0
- {sentry_cli-3.2.3 → sentry_cli-3.3.0}/apple-catalog-parsing/Cargo.toml +0 -0
- {sentry_cli-3.2.3 → sentry_cli-3.3.0}/apple-catalog-parsing/build.rs +0 -0
- {sentry_cli-3.2.3 → sentry_cli-3.3.0}/apple-catalog-parsing/native/swift/AssetCatalogParser/Package.swift +0 -0
- {sentry_cli-3.2.3 → sentry_cli-3.3.0}/apple-catalog-parsing/native/swift/AssetCatalogParser/Sources/AssetCatalogParser/AssetCatalogReader.swift +0 -0
- {sentry_cli-3.2.3 → sentry_cli-3.3.0}/apple-catalog-parsing/native/swift/AssetCatalogParser/Sources/ObjcSupport/include/safeValueForKey.h +0 -0
- {sentry_cli-3.2.3 → sentry_cli-3.3.0}/apple-catalog-parsing/native/swift/AssetCatalogParser/Sources/ObjcSupport/safeValueForKey.m +0 -0
- {sentry_cli-3.2.3 → sentry_cli-3.3.0}/apple-catalog-parsing/native/swift/AssetCatalogParser/Tests/AssetCatalogParserTests/AssetCatalogParserTests.swift +0 -0
- {sentry_cli-3.2.3 → sentry_cli-3.3.0}/apple-catalog-parsing/native/swift/AssetCatalogParser/Tests/AssetCatalogParserTests/Resources/test.xcarchive/Info.plist +0 -0
- {sentry_cli-3.2.3 → sentry_cli-3.3.0}/apple-catalog-parsing/native/swift/AssetCatalogParser/Tests/AssetCatalogParserTests/Resources/test.xcarchive/Products/Applications/DemoApp.app/Assets.car +0 -0
- {sentry_cli-3.2.3 → sentry_cli-3.3.0}/apple-catalog-parsing/src/asset_catalog.rs +0 -0
- {sentry_cli-3.2.3 → sentry_cli-3.3.0}/apple-catalog-parsing/src/lib.rs +0 -0
- {sentry_cli-3.2.3 → sentry_cli-3.3.0}/build.rs +0 -0
- {sentry_cli-3.2.3 → sentry_cli-3.3.0}/pyproject.toml +0 -0
- {sentry_cli-3.2.3 → sentry_cli-3.3.0}/sentry_cli.egg-info/dependency_links.txt +0 -0
- {sentry_cli-3.2.3 → sentry_cli-3.3.0}/sentry_cli.egg-info/top_level.txt +0 -0
- {sentry_cli-3.2.3 → sentry_cli-3.3.0}/setup.cfg +0 -0
- {sentry_cli-3.2.3 → sentry_cli-3.3.0}/setup.py +0 -0
- {sentry_cli-3.2.3 → sentry_cli-3.3.0}/src/AGENTS.md +0 -0
- {sentry_cli-3.2.3 → sentry_cli-3.3.0}/src/CLAUDE.md +0 -0
- {sentry_cli-3.2.3 → sentry_cli-3.3.0}/src/api/connection_manager.rs +0 -0
- {sentry_cli-3.2.3 → sentry_cli-3.3.0}/src/api/data_types/chunking/artifact.rs +0 -0
- {sentry_cli-3.2.3 → sentry_cli-3.3.0}/src/api/data_types/chunking/build.rs +0 -0
- {sentry_cli-3.2.3 → sentry_cli-3.3.0}/src/api/data_types/chunking/compression.rs +0 -0
- {sentry_cli-3.2.3 → sentry_cli-3.3.0}/src/api/data_types/chunking/dif.rs +0 -0
- {sentry_cli-3.2.3 → sentry_cli-3.3.0}/src/api/data_types/chunking/file_state.rs +0 -0
- {sentry_cli-3.2.3 → sentry_cli-3.3.0}/src/api/data_types/chunking/hash_algorithm.rs +0 -0
- {sentry_cli-3.2.3 → sentry_cli-3.3.0}/src/api/data_types/chunking/mod.rs +0 -0
- {sentry_cli-3.2.3 → sentry_cli-3.3.0}/src/api/data_types/chunking/upload/mod.rs +0 -0
- {sentry_cli-3.2.3 → sentry_cli-3.3.0}/src/api/data_types/chunking/upload/options.rs +0 -0
- {sentry_cli-3.2.3 → sentry_cli-3.3.0}/src/api/data_types/deploy.rs +0 -0
- {sentry_cli-3.2.3 → sentry_cli-3.3.0}/src/api/data_types/mod.rs +0 -0
- {sentry_cli-3.2.3 → sentry_cli-3.3.0}/src/api/encoding.rs +0 -0
- {sentry_cli-3.2.3 → sentry_cli-3.3.0}/src/api/envelopes_api.rs +0 -0
- {sentry_cli-3.2.3 → sentry_cli-3.3.0}/src/api/errors/api_error.rs +0 -0
- {sentry_cli-3.2.3 → sentry_cli-3.3.0}/src/api/errors/mod.rs +0 -0
- {sentry_cli-3.2.3 → sentry_cli-3.3.0}/src/api/errors/sentry_error.rs +0 -0
- {sentry_cli-3.2.3 → sentry_cli-3.3.0}/src/api/mod.rs +0 -0
- {sentry_cli-3.2.3 → sentry_cli-3.3.0}/src/api/pagination.rs +0 -0
- {sentry_cli-3.2.3 → sentry_cli-3.3.0}/src/api/serialization.rs +0 -0
- {sentry_cli-3.2.3 → sentry_cli-3.3.0}/src/bashsupport.sh +0 -0
- {sentry_cli-3.2.3 → sentry_cli-3.3.0}/src/commands/bash_hook.rs +0 -0
- {sentry_cli-3.2.3 → sentry_cli-3.3.0}/src/commands/build/mod.rs +0 -0
- {sentry_cli-3.2.3 → sentry_cli-3.3.0}/src/commands/build/upload.rs +0 -0
- {sentry_cli-3.2.3 → sentry_cli-3.3.0}/src/commands/dart_symbol_map/mod.rs +0 -0
- {sentry_cli-3.2.3 → sentry_cli-3.3.0}/src/commands/dart_symbol_map/upload.rs +0 -0
- {sentry_cli-3.2.3 → sentry_cli-3.3.0}/src/commands/debug_files/bundle_jvm.rs +0 -0
- {sentry_cli-3.2.3 → sentry_cli-3.3.0}/src/commands/debug_files/bundle_sources.rs +0 -0
- {sentry_cli-3.2.3 → sentry_cli-3.3.0}/src/commands/debug_files/check.rs +0 -0
- {sentry_cli-3.2.3 → sentry_cli-3.3.0}/src/commands/debug_files/find.rs +0 -0
- {sentry_cli-3.2.3 → sentry_cli-3.3.0}/src/commands/debug_files/mod.rs +0 -0
- {sentry_cli-3.2.3 → sentry_cli-3.3.0}/src/commands/debug_files/print_sources.rs +0 -0
- {sentry_cli-3.2.3 → sentry_cli-3.3.0}/src/commands/debug_files/upload.rs +0 -0
- {sentry_cli-3.2.3 → sentry_cli-3.3.0}/src/commands/deploys/list.rs +0 -0
- {sentry_cli-3.2.3 → sentry_cli-3.3.0}/src/commands/deploys/mod.rs +0 -0
- {sentry_cli-3.2.3 → sentry_cli-3.3.0}/src/commands/deploys/new.rs +0 -0
- {sentry_cli-3.2.3 → sentry_cli-3.3.0}/src/commands/derive_parser.rs +0 -0
- {sentry_cli-3.2.3 → sentry_cli-3.3.0}/src/commands/events/list.rs +0 -0
- {sentry_cli-3.2.3 → sentry_cli-3.3.0}/src/commands/events/mod.rs +0 -0
- {sentry_cli-3.2.3 → sentry_cli-3.3.0}/src/commands/info.rs +0 -0
- {sentry_cli-3.2.3 → sentry_cli-3.3.0}/src/commands/issues/list.rs +0 -0
- {sentry_cli-3.2.3 → sentry_cli-3.3.0}/src/commands/issues/mod.rs +0 -0
- {sentry_cli-3.2.3 → sentry_cli-3.3.0}/src/commands/issues/mute.rs +0 -0
- {sentry_cli-3.2.3 → sentry_cli-3.3.0}/src/commands/issues/resolve.rs +0 -0
- {sentry_cli-3.2.3 → sentry_cli-3.3.0}/src/commands/issues/unresolve.rs +0 -0
- {sentry_cli-3.2.3 → sentry_cli-3.3.0}/src/commands/login.rs +0 -0
- {sentry_cli-3.2.3 → sentry_cli-3.3.0}/src/commands/logs/list.rs +0 -0
- {sentry_cli-3.2.3 → sentry_cli-3.3.0}/src/commands/logs/mod.rs +0 -0
- {sentry_cli-3.2.3 → sentry_cli-3.3.0}/src/commands/monitors/list.rs +0 -0
- {sentry_cli-3.2.3 → sentry_cli-3.3.0}/src/commands/monitors/mod.rs +0 -0
- {sentry_cli-3.2.3 → sentry_cli-3.3.0}/src/commands/monitors/run.rs +0 -0
- {sentry_cli-3.2.3 → sentry_cli-3.3.0}/src/commands/organizations/list.rs +0 -0
- {sentry_cli-3.2.3 → sentry_cli-3.3.0}/src/commands/organizations/mod.rs +0 -0
- {sentry_cli-3.2.3 → sentry_cli-3.3.0}/src/commands/projects/list.rs +0 -0
- {sentry_cli-3.2.3 → sentry_cli-3.3.0}/src/commands/projects/mod.rs +0 -0
- {sentry_cli-3.2.3 → sentry_cli-3.3.0}/src/commands/react_native/gradle.rs +0 -0
- {sentry_cli-3.2.3 → sentry_cli-3.3.0}/src/commands/react_native/mod.rs +0 -0
- {sentry_cli-3.2.3 → sentry_cli-3.3.0}/src/commands/react_native/xcode.rs +0 -0
- {sentry_cli-3.2.3 → sentry_cli-3.3.0}/src/commands/releases/archive.rs +0 -0
- {sentry_cli-3.2.3 → sentry_cli-3.3.0}/src/commands/releases/delete.rs +0 -0
- {sentry_cli-3.2.3 → sentry_cli-3.3.0}/src/commands/releases/finalize.rs +0 -0
- {sentry_cli-3.2.3 → sentry_cli-3.3.0}/src/commands/releases/info.rs +0 -0
- {sentry_cli-3.2.3 → sentry_cli-3.3.0}/src/commands/releases/list.rs +0 -0
- {sentry_cli-3.2.3 → sentry_cli-3.3.0}/src/commands/releases/mod.rs +0 -0
- {sentry_cli-3.2.3 → sentry_cli-3.3.0}/src/commands/releases/new.rs +0 -0
- {sentry_cli-3.2.3 → sentry_cli-3.3.0}/src/commands/releases/propose_version.rs +0 -0
- {sentry_cli-3.2.3 → sentry_cli-3.3.0}/src/commands/releases/restore.rs +0 -0
- {sentry_cli-3.2.3 → sentry_cli-3.3.0}/src/commands/releases/set_commits.rs +0 -0
- {sentry_cli-3.2.3 → sentry_cli-3.3.0}/src/commands/repos/list.rs +0 -0
- {sentry_cli-3.2.3 → sentry_cli-3.3.0}/src/commands/repos/mod.rs +0 -0
- {sentry_cli-3.2.3 → sentry_cli-3.3.0}/src/commands/send_envelope.rs +0 -0
- {sentry_cli-3.2.3 → sentry_cli-3.3.0}/src/commands/send_event.rs +0 -0
- {sentry_cli-3.2.3 → sentry_cli-3.3.0}/src/commands/send_metric/common_args.rs +0 -0
- {sentry_cli-3.2.3 → sentry_cli-3.3.0}/src/commands/send_metric/increment.rs +0 -0
- {sentry_cli-3.2.3 → sentry_cli-3.3.0}/src/commands/send_metric/mod.rs +0 -0
- {sentry_cli-3.2.3 → sentry_cli-3.3.0}/src/commands/send_metric/set.rs +0 -0
- {sentry_cli-3.2.3 → sentry_cli-3.3.0}/src/commands/sourcemaps/inject.rs +0 -0
- {sentry_cli-3.2.3 → sentry_cli-3.3.0}/src/commands/sourcemaps/mod.rs +0 -0
- {sentry_cli-3.2.3 → sentry_cli-3.3.0}/src/commands/sourcemaps/resolve.rs +0 -0
- {sentry_cli-3.2.3 → sentry_cli-3.3.0}/src/commands/sourcemaps/upload.rs +0 -0
- {sentry_cli-3.2.3 → sentry_cli-3.3.0}/src/commands/uninstall.rs +0 -0
- {sentry_cli-3.2.3 → sentry_cli-3.3.0}/src/commands/update.rs +0 -0
- {sentry_cli-3.2.3 → sentry_cli-3.3.0}/src/commands/upload_dif.rs +0 -0
- {sentry_cli-3.2.3 → sentry_cli-3.3.0}/src/commands/upload_dsym.rs +0 -0
- {sentry_cli-3.2.3 → sentry_cli-3.3.0}/src/config.rs +0 -0
- {sentry_cli-3.2.3 → sentry_cli-3.3.0}/src/constants.rs +0 -0
- {sentry_cli-3.2.3 → sentry_cli-3.3.0}/src/main.rs +0 -0
- {sentry_cli-3.2.3 → sentry_cli-3.3.0}/src/utils/android.rs +0 -0
- {sentry_cli-3.2.3 → sentry_cli-3.3.0}/src/utils/args.rs +0 -0
- {sentry_cli-3.2.3 → sentry_cli-3.3.0}/src/utils/auth_token/auth_token_impl.rs +0 -0
- {sentry_cli-3.2.3 → sentry_cli-3.3.0}/src/utils/auth_token/error.rs +0 -0
- {sentry_cli-3.2.3 → sentry_cli-3.3.0}/src/utils/auth_token/mod.rs +0 -0
- {sentry_cli-3.2.3 → sentry_cli-3.3.0}/src/utils/auth_token/org_auth_token.rs +0 -0
- {sentry_cli-3.2.3 → sentry_cli-3.3.0}/src/utils/auth_token/redacting.rs +0 -0
- {sentry_cli-3.2.3 → sentry_cli-3.3.0}/src/utils/auth_token/test.rs +0 -0
- {sentry_cli-3.2.3 → sentry_cli-3.3.0}/src/utils/auth_token/user_auth_token.rs +0 -0
- {sentry_cli-3.2.3 → sentry_cli-3.3.0}/src/utils/build/apple.rs +0 -0
- {sentry_cli-3.2.3 → sentry_cli-3.3.0}/src/utils/build/mod.rs +0 -0
- {sentry_cli-3.2.3 → sentry_cli-3.3.0}/src/utils/build/normalize.rs +0 -0
- {sentry_cli-3.2.3 → sentry_cli-3.3.0}/src/utils/build/validation.rs +0 -0
- {sentry_cli-3.2.3 → sentry_cli-3.3.0}/src/utils/chunks/mod.rs +0 -0
- {sentry_cli-3.2.3 → sentry_cli-3.3.0}/src/utils/chunks/options.rs +0 -0
- {sentry_cli-3.2.3 → sentry_cli-3.3.0}/src/utils/chunks/types.rs +0 -0
- {sentry_cli-3.2.3 → sentry_cli-3.3.0}/src/utils/chunks/upload.rs +0 -0
- {sentry_cli-3.2.3 → sentry_cli-3.3.0}/src/utils/ci.rs +0 -0
- {sentry_cli-3.2.3 → sentry_cli-3.3.0}/src/utils/cordova.rs +0 -0
- {sentry_cli-3.2.3 → sentry_cli-3.3.0}/src/utils/dif.rs +0 -0
- {sentry_cli-3.2.3 → sentry_cli-3.3.0}/src/utils/dif_upload/error.rs +0 -0
- {sentry_cli-3.2.3 → sentry_cli-3.3.0}/src/utils/dif_upload/mod.rs +0 -0
- {sentry_cli-3.2.3 → sentry_cli-3.3.0}/src/utils/event.rs +0 -0
- {sentry_cli-3.2.3 → sentry_cli-3.3.0}/src/utils/file_search.rs +0 -0
- {sentry_cli-3.2.3 → sentry_cli-3.3.0}/src/utils/file_upload.rs +0 -0
- {sentry_cli-3.2.3 → sentry_cli-3.3.0}/src/utils/formatting.rs +0 -0
- {sentry_cli-3.2.3 → sentry_cli-3.3.0}/src/utils/fs.rs +0 -0
- {sentry_cli-3.2.3 → sentry_cli-3.3.0}/src/utils/http.rs +0 -0
- {sentry_cli-3.2.3 → sentry_cli-3.3.0}/src/utils/logging.rs +0 -0
- {sentry_cli-3.2.3 → sentry_cli-3.3.0}/src/utils/mod.rs +0 -0
- {sentry_cli-3.2.3 → sentry_cli-3.3.0}/src/utils/non_empty.rs +0 -0
- {sentry_cli-3.2.3 → sentry_cli-3.3.0}/src/utils/progress.rs +0 -0
- {sentry_cli-3.2.3 → sentry_cli-3.3.0}/src/utils/proguard/mapping.rs +0 -0
- {sentry_cli-3.2.3 → sentry_cli-3.3.0}/src/utils/proguard/mod.rs +0 -0
- {sentry_cli-3.2.3 → sentry_cli-3.3.0}/src/utils/proguard/upload.rs +0 -0
- {sentry_cli-3.2.3 → sentry_cli-3.3.0}/src/utils/retry.rs +0 -0
- {sentry_cli-3.2.3 → sentry_cli-3.3.0}/src/utils/snapshots/sentry_cli__utils__vcs__tests__generate_patch_default_twenty.snap +0 -0
- {sentry_cli-3.2.3 → sentry_cli-3.3.0}/src/utils/snapshots/sentry_cli__utils__vcs__tests__generate_patch_ignore_missing.snap +0 -0
- {sentry_cli-3.2.3 → sentry_cli-3.3.0}/src/utils/snapshots/sentry_cli__utils__vcs__tests__generate_patch_set_base.snap +0 -0
- {sentry_cli-3.2.3 → sentry_cli-3.3.0}/src/utils/snapshots/sentry_cli__utils__vcs__tests__generate_patch_set_previous_commit.snap +0 -0
- {sentry_cli-3.2.3 → sentry_cli-3.3.0}/src/utils/snapshots/sentry_cli__utils__vcs__tests__get_commits_from_git.snap +0 -0
- {sentry_cli-3.2.3 → sentry_cli-3.3.0}/src/utils/source_bundle.rs +0 -0
- {sentry_cli-3.2.3 → sentry_cli-3.3.0}/src/utils/sourcemaps/inject.rs +0 -0
- {sentry_cli-3.2.3 → sentry_cli-3.3.0}/src/utils/sourcemaps.rs +0 -0
- {sentry_cli-3.2.3 → sentry_cli-3.3.0}/src/utils/system.rs +0 -0
- {sentry_cli-3.2.3 → sentry_cli-3.3.0}/src/utils/ui.rs +0 -0
- {sentry_cli-3.2.3 → sentry_cli-3.3.0}/src/utils/update.rs +0 -0
- {sentry_cli-3.2.3 → sentry_cli-3.3.0}/src/utils/value_parsers.rs +0 -0
- {sentry_cli-3.2.3 → sentry_cli-3.3.0}/src/utils/vcs.rs +0 -0
- {sentry_cli-3.2.3 → sentry_cli-3.3.0}/src/utils/xcode.rs +0 -0
|
@@ -2322,9 +2322,9 @@ dependencies = [
|
|
|
2322
2322
|
|
|
2323
2323
|
[[package]]
|
|
2324
2324
|
name = "objectstore-client"
|
|
2325
|
-
version = "0.
|
|
2325
|
+
version = "0.1.2"
|
|
2326
2326
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
2327
|
-
checksum = "
|
|
2327
|
+
checksum = "033eedf125e31b30962c0172842e964fc9983bbccd99d9ff033e7e413946861c"
|
|
2328
2328
|
dependencies = [
|
|
2329
2329
|
"async-compression",
|
|
2330
2330
|
"async-stream",
|
|
@@ -2346,9 +2346,9 @@ dependencies = [
|
|
|
2346
2346
|
|
|
2347
2347
|
[[package]]
|
|
2348
2348
|
name = "objectstore-types"
|
|
2349
|
-
version = "0.
|
|
2349
|
+
version = "0.1.2"
|
|
2350
2350
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
2351
|
-
checksum = "
|
|
2351
|
+
checksum = "956cbdef3971ea108a15e5248625d6229870da3a3c637b6e7aada213526f8014"
|
|
2352
2352
|
dependencies = [
|
|
2353
2353
|
"http",
|
|
2354
2354
|
"humantime",
|
|
@@ -3414,7 +3414,7 @@ dependencies = [
|
|
|
3414
3414
|
|
|
3415
3415
|
[[package]]
|
|
3416
3416
|
name = "sentry-cli"
|
|
3417
|
-
version = "3.
|
|
3417
|
+
version = "3.3.0"
|
|
3418
3418
|
dependencies = [
|
|
3419
3419
|
"anyhow",
|
|
3420
3420
|
"anylog",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
[package]
|
|
2
2
|
build = "build.rs"
|
|
3
3
|
name = "sentry-cli"
|
|
4
|
-
version = "3.
|
|
4
|
+
version = "3.3.0"
|
|
5
5
|
edition = "2021"
|
|
6
6
|
rust-version = "1.91"
|
|
7
7
|
|
|
@@ -44,7 +44,7 @@ java-properties = "2.0.0"
|
|
|
44
44
|
lazy_static = "1.4.0"
|
|
45
45
|
libc = "0.2.139"
|
|
46
46
|
log = { version = "0.4.17", features = ["std"] }
|
|
47
|
-
objectstore-client = { version = "0.
|
|
47
|
+
objectstore-client = { version = "0.1.2" , default-features = false, features = ["native-tls"] }
|
|
48
48
|
open = "3.2.0"
|
|
49
49
|
parking_lot = "0.12.1"
|
|
50
50
|
percent-encoding = "2.2.0"
|
|
@@ -92,6 +92,9 @@ src/commands/monitors/mod.rs
|
|
|
92
92
|
src/commands/monitors/run.rs
|
|
93
93
|
src/commands/organizations/list.rs
|
|
94
94
|
src/commands/organizations/mod.rs
|
|
95
|
+
src/commands/proguard/mod.rs
|
|
96
|
+
src/commands/proguard/upload.rs
|
|
97
|
+
src/commands/proguard/uuid.rs
|
|
95
98
|
src/commands/projects/list.rs
|
|
96
99
|
src/commands/projects/mod.rs
|
|
97
100
|
src/commands/react_native/gradle.rs
|
|
@@ -10,6 +10,7 @@ use serde::{Deserialize, Serialize};
|
|
|
10
10
|
pub struct CreateSnapshotResponse {
|
|
11
11
|
pub artifact_id: String,
|
|
12
12
|
pub image_count: u64,
|
|
13
|
+
pub snapshot_url: Option<String>,
|
|
13
14
|
}
|
|
14
15
|
|
|
15
16
|
// Keep in sync with https://github.com/getsentry/sentry/blob/master/src/sentry/preprod/snapshots/manifest.py
|
|
@@ -123,6 +123,14 @@ pub fn execute(matches: &ArgMatches) -> Result<()> {
|
|
|
123
123
|
}
|
|
124
124
|
);
|
|
125
125
|
|
|
126
|
+
if let Some(url) = &response.snapshot_url {
|
|
127
|
+
println!(
|
|
128
|
+
"{} View snapshots at {}",
|
|
129
|
+
style(">").dim(),
|
|
130
|
+
style(url).cyan()
|
|
131
|
+
);
|
|
132
|
+
}
|
|
133
|
+
|
|
126
134
|
Ok(())
|
|
127
135
|
}
|
|
128
136
|
|
|
@@ -32,6 +32,7 @@ mod login;
|
|
|
32
32
|
mod logs;
|
|
33
33
|
mod monitors;
|
|
34
34
|
mod organizations;
|
|
35
|
+
mod proguard;
|
|
35
36
|
mod projects;
|
|
36
37
|
mod react_native;
|
|
37
38
|
mod releases;
|
|
@@ -60,6 +61,7 @@ macro_rules! each_subcommand {
|
|
|
60
61
|
$mac!(logs);
|
|
61
62
|
$mac!(monitors);
|
|
62
63
|
$mac!(organizations);
|
|
64
|
+
$mac!(proguard);
|
|
63
65
|
$mac!(projects);
|
|
64
66
|
$mac!(react_native);
|
|
65
67
|
$mac!(releases);
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
use anyhow::Result;
|
|
2
|
+
use clap::{ArgMatches, Command};
|
|
3
|
+
|
|
4
|
+
pub mod upload;
|
|
5
|
+
pub mod uuid;
|
|
6
|
+
|
|
7
|
+
macro_rules! each_subcommand {
|
|
8
|
+
($mac:ident) => {
|
|
9
|
+
$mac!(upload);
|
|
10
|
+
$mac!(uuid);
|
|
11
|
+
};
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
pub fn make_command(mut command: Command) -> Command {
|
|
15
|
+
macro_rules! add_subcommand {
|
|
16
|
+
($name:ident) => {{
|
|
17
|
+
command = command.subcommand(crate::commands::proguard::$name::make_command(
|
|
18
|
+
Command::new(stringify!($name).replace('_', "-")),
|
|
19
|
+
));
|
|
20
|
+
}};
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
command = command
|
|
24
|
+
.about("Manage ProGuard mapping files.")
|
|
25
|
+
.subcommand_required(true)
|
|
26
|
+
.arg_required_else_help(true);
|
|
27
|
+
|
|
28
|
+
each_subcommand!(add_subcommand);
|
|
29
|
+
command
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
pub fn execute(matches: &ArgMatches) -> Result<()> {
|
|
33
|
+
macro_rules! execute_subcommand {
|
|
34
|
+
($name:ident) => {{
|
|
35
|
+
if let Some(sub_matches) =
|
|
36
|
+
matches.subcommand_matches(&stringify!($name).replace('_', "-"))
|
|
37
|
+
{
|
|
38
|
+
return crate::commands::proguard::$name::execute(&sub_matches);
|
|
39
|
+
}
|
|
40
|
+
}};
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
each_subcommand!(execute_subcommand);
|
|
44
|
+
unreachable!();
|
|
45
|
+
}
|
sentry_cli-3.2.3/src/commands/upload_proguard.rs → sentry_cli-3.3.0/src/commands/proguard/upload.rs
RENAMED
|
@@ -59,13 +59,15 @@ pub fn make_command(command: Command) -> Command {
|
|
|
59
59
|
.short('u')
|
|
60
60
|
.value_name("UUID")
|
|
61
61
|
.value_parser(Uuid::parse_str)
|
|
62
|
+
.hide(true)
|
|
62
63
|
.help(
|
|
63
|
-
"
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
64
|
+
"[DEPRECATED] Manually override the UUID for the uploaded mapping.\n\
|
|
65
|
+
We no longer recommend using this option. \
|
|
66
|
+
If you use this option, you must use it consistently, and you must \
|
|
67
|
+
ensure the UUID is generated deterministically based on the ProGuard \
|
|
68
|
+
mapping. \n\
|
|
69
|
+
If you need to know the UUID before upload, we recommend using the \
|
|
70
|
+
`proguard uuid` command.",
|
|
69
71
|
),
|
|
70
72
|
)
|
|
71
73
|
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
use anyhow::{Context as _, Result};
|
|
2
|
+
use clap::{Arg, ArgMatches, Command};
|
|
3
|
+
use symbolic::common::ByteView;
|
|
4
|
+
|
|
5
|
+
use crate::utils::proguard::ProguardMapping;
|
|
6
|
+
|
|
7
|
+
pub fn make_command(command: Command) -> Command {
|
|
8
|
+
command
|
|
9
|
+
.about("Compute the UUID for a ProGuard mapping file.")
|
|
10
|
+
.long_about(
|
|
11
|
+
"Compute the UUID for a ProGuard mapping file.\n\n\
|
|
12
|
+
This command computes and prints to stdout the UUID of the ProGuard \
|
|
13
|
+
mapping at the specified path. This is the UUID that will be set by \
|
|
14
|
+
the `proguard upload` command. The UUID is deterministicly computed \
|
|
15
|
+
based on the file contents.",
|
|
16
|
+
)
|
|
17
|
+
.arg(
|
|
18
|
+
Arg::new("path")
|
|
19
|
+
.value_name("PATH")
|
|
20
|
+
.help("The path to the mapping file.")
|
|
21
|
+
.required(true),
|
|
22
|
+
)
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
pub fn execute(matches: &ArgMatches) -> Result<()> {
|
|
26
|
+
let path = matches
|
|
27
|
+
.get_one::<String>("path")
|
|
28
|
+
.expect("required argument");
|
|
29
|
+
|
|
30
|
+
let byteview = ByteView::open(path)
|
|
31
|
+
.with_context(|| format!("failed to open proguard mapping '{path}'"))?;
|
|
32
|
+
let mapping = ProguardMapping::try_from(byteview)
|
|
33
|
+
.with_context(|| format!("failed to parse proguard mapping '{path}'"))?;
|
|
34
|
+
|
|
35
|
+
println!("{}", mapping.uuid());
|
|
36
|
+
Ok(())
|
|
37
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
use anyhow::Result;
|
|
2
|
+
use clap::{ArgMatches, Command};
|
|
3
|
+
|
|
4
|
+
pub fn make_command(command: Command) -> Command {
|
|
5
|
+
// Retained as a top-level command for backward compatibility.
|
|
6
|
+
crate::commands::proguard::upload::make_command(command)
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
pub fn execute(matches: &ArgMatches) -> Result<()> {
|
|
10
|
+
crate::commands::proguard::upload::execute(matches)
|
|
11
|
+
}
|
|
@@ -107,6 +107,13 @@ pub fn detect_release_name() -> Result<String> {
|
|
|
107
107
|
}
|
|
108
108
|
|
|
109
109
|
// try Heroku #2: https://docs.sentry.io/product/integrations/deployment/heroku/#configure-releases
|
|
110
|
+
if let Ok(release) = env::var("HEROKU_BUILD_COMMIT") {
|
|
111
|
+
if !release.is_empty() {
|
|
112
|
+
return Ok(release);
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
// Try Heroku #3: Deprecated env var (now, HEROKU_BUILD_COMMIT is preferred)
|
|
110
117
|
if let Ok(release) = env::var("HEROKU_SLUG_COMMIT") {
|
|
111
118
|
if !release.is_empty() {
|
|
112
119
|
return Ok(release);
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|