sentry-cli 2.43.1__tar.gz → 2.45.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-2.43.1 → sentry_cli-2.45.0}/Cargo.lock +45 -103
- {sentry_cli-2.43.1 → sentry_cli-2.45.0}/Cargo.toml +2 -2
- {sentry_cli-2.43.1 → sentry_cli-2.45.0}/PKG-INFO +1 -1
- {sentry_cli-2.43.1 → sentry_cli-2.45.0}/sentry_cli.egg-info/PKG-INFO +1 -1
- {sentry_cli-2.43.1 → sentry_cli-2.45.0}/src/api/data_types/chunking/artifact.rs +2 -2
- {sentry_cli-2.43.1 → sentry_cli-2.45.0}/src/api/mod.rs +11 -14
- {sentry_cli-2.43.1 → sentry_cli-2.45.0}/src/commands/debug_files/bundle_jvm.rs +1 -1
- {sentry_cli-2.43.1 → sentry_cli-2.45.0}/src/commands/debug_files/upload.rs +0 -6
- {sentry_cli-2.43.1 → sentry_cli-2.45.0}/src/commands/files/upload.rs +2 -2
- {sentry_cli-2.43.1 → sentry_cli-2.45.0}/src/commands/issues/mute.rs +4 -9
- {sentry_cli-2.43.1 → sentry_cli-2.45.0}/src/commands/issues/resolve.rs +0 -6
- {sentry_cli-2.43.1 → sentry_cli-2.45.0}/src/commands/issues/unresolve.rs +4 -9
- {sentry_cli-2.43.1 → sentry_cli-2.45.0}/src/commands/react_native/appcenter.rs +4 -9
- {sentry_cli-2.43.1 → sentry_cli-2.45.0}/src/commands/react_native/gradle.rs +4 -8
- {sentry_cli-2.43.1 → sentry_cli-2.45.0}/src/commands/react_native/xcode.rs +4 -8
- {sentry_cli-2.43.1 → sentry_cli-2.45.0}/src/commands/sourcemaps/upload.rs +3 -2
- {sentry_cli-2.43.1 → sentry_cli-2.45.0}/src/commands/upload_proguard.rs +0 -6
- {sentry_cli-2.43.1 → sentry_cli-2.45.0}/src/utils/file_upload.rs +150 -19
- {sentry_cli-2.43.1 → sentry_cli-2.45.0}/src/utils/sourcemaps/inject.rs +298 -6
- {sentry_cli-2.43.1 → sentry_cli-2.45.0}/src/utils/sourcemaps.rs +114 -33
- {sentry_cli-2.43.1 → sentry_cli-2.45.0}/LICENSE +0 -0
- {sentry_cli-2.43.1 → sentry_cli-2.45.0}/MANIFEST.in +0 -0
- {sentry_cli-2.43.1 → sentry_cli-2.45.0}/README.md +0 -0
- {sentry_cli-2.43.1 → sentry_cli-2.45.0}/build.rs +0 -0
- {sentry_cli-2.43.1 → sentry_cli-2.45.0}/pyproject.toml +0 -0
- {sentry_cli-2.43.1 → sentry_cli-2.45.0}/sentry_cli.egg-info/SOURCES.txt +0 -0
- {sentry_cli-2.43.1 → sentry_cli-2.45.0}/sentry_cli.egg-info/dependency_links.txt +0 -0
- {sentry_cli-2.43.1 → sentry_cli-2.45.0}/sentry_cli.egg-info/top_level.txt +0 -0
- {sentry_cli-2.43.1 → sentry_cli-2.45.0}/setup.cfg +0 -0
- {sentry_cli-2.43.1 → sentry_cli-2.45.0}/setup.py +0 -0
- {sentry_cli-2.43.1 → sentry_cli-2.45.0}/src/api/connection_manager.rs +0 -0
- {sentry_cli-2.43.1 → sentry_cli-2.45.0}/src/api/data_types/chunking/compression.rs +0 -0
- {sentry_cli-2.43.1 → sentry_cli-2.45.0}/src/api/data_types/chunking/dif.rs +0 -0
- {sentry_cli-2.43.1 → sentry_cli-2.45.0}/src/api/data_types/chunking/file_state.rs +0 -0
- {sentry_cli-2.43.1 → sentry_cli-2.45.0}/src/api/data_types/chunking/hash_algorithm.rs +0 -0
- {sentry_cli-2.43.1 → sentry_cli-2.45.0}/src/api/data_types/chunking/mod.rs +0 -0
- {sentry_cli-2.43.1 → sentry_cli-2.45.0}/src/api/data_types/chunking/upload/capability.rs +0 -0
- {sentry_cli-2.43.1 → sentry_cli-2.45.0}/src/api/data_types/chunking/upload/mod.rs +0 -0
- {sentry_cli-2.43.1 → sentry_cli-2.45.0}/src/api/data_types/chunking/upload/options.rs +0 -0
- {sentry_cli-2.43.1 → sentry_cli-2.45.0}/src/api/data_types/deploy.rs +0 -0
- {sentry_cli-2.43.1 → sentry_cli-2.45.0}/src/api/data_types/mod.rs +0 -0
- {sentry_cli-2.43.1 → sentry_cli-2.45.0}/src/api/encoding.rs +0 -0
- {sentry_cli-2.43.1 → sentry_cli-2.45.0}/src/api/envelopes_api.rs +0 -0
- {sentry_cli-2.43.1 → sentry_cli-2.45.0}/src/api/errors/api_error.rs +0 -0
- {sentry_cli-2.43.1 → sentry_cli-2.45.0}/src/api/errors/mod.rs +0 -0
- {sentry_cli-2.43.1 → sentry_cli-2.45.0}/src/api/errors/sentry_error.rs +0 -0
- {sentry_cli-2.43.1 → sentry_cli-2.45.0}/src/api/pagination.rs +0 -0
- {sentry_cli-2.43.1 → sentry_cli-2.45.0}/src/bashsupport.sh +0 -0
- {sentry_cli-2.43.1 → sentry_cli-2.45.0}/src/commands/bash_hook.rs +0 -0
- {sentry_cli-2.43.1 → sentry_cli-2.45.0}/src/commands/debug_files/bundle_sources.rs +0 -0
- {sentry_cli-2.43.1 → sentry_cli-2.45.0}/src/commands/debug_files/check.rs +0 -0
- {sentry_cli-2.43.1 → sentry_cli-2.45.0}/src/commands/debug_files/find.rs +0 -0
- {sentry_cli-2.43.1 → sentry_cli-2.45.0}/src/commands/debug_files/mod.rs +0 -0
- {sentry_cli-2.43.1 → sentry_cli-2.45.0}/src/commands/debug_files/print_sources.rs +0 -0
- {sentry_cli-2.43.1 → sentry_cli-2.45.0}/src/commands/deploys/list.rs +0 -0
- {sentry_cli-2.43.1 → sentry_cli-2.45.0}/src/commands/deploys/mod.rs +0 -0
- {sentry_cli-2.43.1 → sentry_cli-2.45.0}/src/commands/deploys/new.rs +0 -0
- {sentry_cli-2.43.1 → sentry_cli-2.45.0}/src/commands/derive_parser.rs +0 -0
- {sentry_cli-2.43.1 → sentry_cli-2.45.0}/src/commands/events/list.rs +0 -0
- {sentry_cli-2.43.1 → sentry_cli-2.45.0}/src/commands/events/mod.rs +0 -0
- {sentry_cli-2.43.1 → sentry_cli-2.45.0}/src/commands/files/delete.rs +0 -0
- {sentry_cli-2.43.1 → sentry_cli-2.45.0}/src/commands/files/list.rs +0 -0
- {sentry_cli-2.43.1 → sentry_cli-2.45.0}/src/commands/files/mod.rs +0 -0
- {sentry_cli-2.43.1 → sentry_cli-2.45.0}/src/commands/info.rs +0 -0
- {sentry_cli-2.43.1 → sentry_cli-2.45.0}/src/commands/issues/list.rs +0 -0
- {sentry_cli-2.43.1 → sentry_cli-2.45.0}/src/commands/issues/mod.rs +0 -0
- {sentry_cli-2.43.1 → sentry_cli-2.45.0}/src/commands/login.rs +0 -0
- {sentry_cli-2.43.1 → sentry_cli-2.45.0}/src/commands/mod.rs +0 -0
- {sentry_cli-2.43.1 → sentry_cli-2.45.0}/src/commands/monitors/list.rs +0 -0
- {sentry_cli-2.43.1 → sentry_cli-2.45.0}/src/commands/monitors/mod.rs +0 -0
- {sentry_cli-2.43.1 → sentry_cli-2.45.0}/src/commands/monitors/run.rs +0 -0
- {sentry_cli-2.43.1 → sentry_cli-2.45.0}/src/commands/organizations/list.rs +0 -0
- {sentry_cli-2.43.1 → sentry_cli-2.45.0}/src/commands/organizations/mod.rs +0 -0
- {sentry_cli-2.43.1 → sentry_cli-2.45.0}/src/commands/projects/list.rs +0 -0
- {sentry_cli-2.43.1 → sentry_cli-2.45.0}/src/commands/projects/mod.rs +0 -0
- {sentry_cli-2.43.1 → sentry_cli-2.45.0}/src/commands/react_native/mod.rs +0 -0
- {sentry_cli-2.43.1 → sentry_cli-2.45.0}/src/commands/releases/archive.rs +0 -0
- {sentry_cli-2.43.1 → sentry_cli-2.45.0}/src/commands/releases/delete.rs +0 -0
- {sentry_cli-2.43.1 → sentry_cli-2.45.0}/src/commands/releases/finalize.rs +0 -0
- {sentry_cli-2.43.1 → sentry_cli-2.45.0}/src/commands/releases/info.rs +0 -0
- {sentry_cli-2.43.1 → sentry_cli-2.45.0}/src/commands/releases/list.rs +0 -0
- {sentry_cli-2.43.1 → sentry_cli-2.45.0}/src/commands/releases/mod.rs +0 -0
- {sentry_cli-2.43.1 → sentry_cli-2.45.0}/src/commands/releases/new.rs +0 -0
- {sentry_cli-2.43.1 → sentry_cli-2.45.0}/src/commands/releases/propose_version.rs +0 -0
- {sentry_cli-2.43.1 → sentry_cli-2.45.0}/src/commands/releases/restore.rs +0 -0
- {sentry_cli-2.43.1 → sentry_cli-2.45.0}/src/commands/releases/set_commits.rs +0 -0
- {sentry_cli-2.43.1 → sentry_cli-2.45.0}/src/commands/repos/list.rs +0 -0
- {sentry_cli-2.43.1 → sentry_cli-2.45.0}/src/commands/repos/mod.rs +0 -0
- {sentry_cli-2.43.1 → sentry_cli-2.45.0}/src/commands/send_envelope.rs +0 -0
- {sentry_cli-2.43.1 → sentry_cli-2.45.0}/src/commands/send_event.rs +0 -0
- {sentry_cli-2.43.1 → sentry_cli-2.45.0}/src/commands/send_metric/common_args.rs +0 -0
- {sentry_cli-2.43.1 → sentry_cli-2.45.0}/src/commands/send_metric/distribution.rs +0 -0
- {sentry_cli-2.43.1 → sentry_cli-2.45.0}/src/commands/send_metric/gauge.rs +0 -0
- {sentry_cli-2.43.1 → sentry_cli-2.45.0}/src/commands/send_metric/increment.rs +0 -0
- {sentry_cli-2.43.1 → sentry_cli-2.45.0}/src/commands/send_metric/mod.rs +0 -0
- {sentry_cli-2.43.1 → sentry_cli-2.45.0}/src/commands/send_metric/set.rs +0 -0
- {sentry_cli-2.43.1 → sentry_cli-2.45.0}/src/commands/sourcemaps/explain.rs +0 -0
- {sentry_cli-2.43.1 → sentry_cli-2.45.0}/src/commands/sourcemaps/inject.rs +0 -0
- {sentry_cli-2.43.1 → sentry_cli-2.45.0}/src/commands/sourcemaps/mod.rs +0 -0
- {sentry_cli-2.43.1 → sentry_cli-2.45.0}/src/commands/sourcemaps/resolve.rs +0 -0
- {sentry_cli-2.43.1 → sentry_cli-2.45.0}/src/commands/uninstall.rs +0 -0
- {sentry_cli-2.43.1 → sentry_cli-2.45.0}/src/commands/update.rs +0 -0
- {sentry_cli-2.43.1 → sentry_cli-2.45.0}/src/commands/upload_dif.rs +0 -0
- {sentry_cli-2.43.1 → sentry_cli-2.45.0}/src/commands/upload_dsym.rs +0 -0
- {sentry_cli-2.43.1 → sentry_cli-2.45.0}/src/config.rs +0 -0
- {sentry_cli-2.43.1 → sentry_cli-2.45.0}/src/constants.rs +0 -0
- {sentry_cli-2.43.1 → sentry_cli-2.45.0}/src/main.rs +0 -0
- {sentry_cli-2.43.1 → sentry_cli-2.45.0}/src/utils/android.rs +0 -0
- {sentry_cli-2.43.1 → sentry_cli-2.45.0}/src/utils/appcenter.rs +0 -0
- {sentry_cli-2.43.1 → sentry_cli-2.45.0}/src/utils/args.rs +0 -0
- {sentry_cli-2.43.1 → sentry_cli-2.45.0}/src/utils/auth_token/auth_token_impl.rs +0 -0
- {sentry_cli-2.43.1 → sentry_cli-2.45.0}/src/utils/auth_token/error.rs +0 -0
- {sentry_cli-2.43.1 → sentry_cli-2.45.0}/src/utils/auth_token/mod.rs +0 -0
- {sentry_cli-2.43.1 → sentry_cli-2.45.0}/src/utils/auth_token/org_auth_token.rs +0 -0
- {sentry_cli-2.43.1 → sentry_cli-2.45.0}/src/utils/auth_token/redacting.rs +0 -0
- {sentry_cli-2.43.1 → sentry_cli-2.45.0}/src/utils/auth_token/test.rs +0 -0
- {sentry_cli-2.43.1 → sentry_cli-2.45.0}/src/utils/auth_token/user_auth_token.rs +0 -0
- {sentry_cli-2.43.1 → sentry_cli-2.45.0}/src/utils/chunks/mod.rs +0 -0
- {sentry_cli-2.43.1 → sentry_cli-2.45.0}/src/utils/chunks/options.rs +0 -0
- {sentry_cli-2.43.1 → sentry_cli-2.45.0}/src/utils/chunks/types.rs +0 -0
- {sentry_cli-2.43.1 → sentry_cli-2.45.0}/src/utils/chunks/upload.rs +0 -0
- {sentry_cli-2.43.1 → sentry_cli-2.45.0}/src/utils/cordova.rs +0 -0
- {sentry_cli-2.43.1 → sentry_cli-2.45.0}/src/utils/dif.rs +0 -0
- {sentry_cli-2.43.1 → sentry_cli-2.45.0}/src/utils/dif_upload/error.rs +0 -0
- {sentry_cli-2.43.1 → sentry_cli-2.45.0}/src/utils/dif_upload/mod.rs +0 -0
- {sentry_cli-2.43.1 → sentry_cli-2.45.0}/src/utils/event.rs +0 -0
- {sentry_cli-2.43.1 → sentry_cli-2.45.0}/src/utils/file_search.rs +0 -0
- {sentry_cli-2.43.1 → sentry_cli-2.45.0}/src/utils/formatting.rs +0 -0
- {sentry_cli-2.43.1 → sentry_cli-2.45.0}/src/utils/fs.rs +0 -0
- {sentry_cli-2.43.1 → sentry_cli-2.45.0}/src/utils/http.rs +0 -0
- {sentry_cli-2.43.1 → sentry_cli-2.45.0}/src/utils/logging.rs +0 -0
- {sentry_cli-2.43.1 → sentry_cli-2.45.0}/src/utils/metrics.rs +0 -0
- {sentry_cli-2.43.1 → sentry_cli-2.45.0}/src/utils/mod.rs +0 -0
- {sentry_cli-2.43.1 → sentry_cli-2.45.0}/src/utils/progress.rs +0 -0
- {sentry_cli-2.43.1 → sentry_cli-2.45.0}/src/utils/proguard/mapping.rs +0 -0
- {sentry_cli-2.43.1 → sentry_cli-2.45.0}/src/utils/proguard/mod.rs +0 -0
- {sentry_cli-2.43.1 → sentry_cli-2.45.0}/src/utils/proguard/upload.rs +0 -0
- {sentry_cli-2.43.1 → sentry_cli-2.45.0}/src/utils/releases.rs +0 -0
- {sentry_cli-2.43.1 → sentry_cli-2.45.0}/src/utils/retry.rs +0 -0
- {sentry_cli-2.43.1 → sentry_cli-2.45.0}/src/utils/snapshots/sentry_cli__utils__vcs__generate_patch_default_twenty.snap +0 -0
- {sentry_cli-2.43.1 → sentry_cli-2.45.0}/src/utils/snapshots/sentry_cli__utils__vcs__generate_patch_ignore_missing.snap +0 -0
- {sentry_cli-2.43.1 → sentry_cli-2.45.0}/src/utils/snapshots/sentry_cli__utils__vcs__generate_patch_set_base.snap +0 -0
- {sentry_cli-2.43.1 → sentry_cli-2.45.0}/src/utils/snapshots/sentry_cli__utils__vcs__generate_patch_set_previous_commit.snap +0 -0
- {sentry_cli-2.43.1 → sentry_cli-2.45.0}/src/utils/snapshots/sentry_cli__utils__vcs__get_commits_from_git.snap +0 -0
- {sentry_cli-2.43.1 → sentry_cli-2.45.0}/src/utils/system.rs +0 -0
- {sentry_cli-2.43.1 → sentry_cli-2.45.0}/src/utils/ui.rs +0 -0
- {sentry_cli-2.43.1 → sentry_cli-2.45.0}/src/utils/update.rs +0 -0
- {sentry_cli-2.43.1 → sentry_cli-2.45.0}/src/utils/value_parsers.rs +0 -0
- {sentry_cli-2.43.1 → sentry_cli-2.45.0}/src/utils/vcs.rs +0 -0
- {sentry_cli-2.43.1 → sentry_cli-2.45.0}/src/utils/xcode.rs +0 -0
|
@@ -237,11 +237,12 @@ checksum = "72b3254f16251a8381aa12e40e3c4d2f0199f8c6508fbecb9d91f575e0fbb8c6"
|
|
|
237
237
|
|
|
238
238
|
[[package]]
|
|
239
239
|
name = "base64-simd"
|
|
240
|
-
version = "0.
|
|
240
|
+
version = "0.8.0"
|
|
241
241
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
242
|
-
checksum = "
|
|
242
|
+
checksum = "339abbe78e73178762e23bea9dfd08e697eb3f3301cd4be981c0f78ba5859195"
|
|
243
243
|
dependencies = [
|
|
244
|
-
"
|
|
244
|
+
"outref",
|
|
245
|
+
"vsimd",
|
|
245
246
|
]
|
|
246
247
|
|
|
247
248
|
[[package]]
|
|
@@ -470,7 +471,7 @@ dependencies = [
|
|
|
470
471
|
"heck",
|
|
471
472
|
"proc-macro2",
|
|
472
473
|
"quote",
|
|
473
|
-
"syn
|
|
474
|
+
"syn",
|
|
474
475
|
]
|
|
475
476
|
|
|
476
477
|
[[package]]
|
|
@@ -687,7 +688,7 @@ checksum = "30542c1ad912e0e3d22a1935c290e12e8a29d704a420177a31faad4a601a0800"
|
|
|
687
688
|
dependencies = [
|
|
688
689
|
"proc-macro2",
|
|
689
690
|
"quote",
|
|
690
|
-
"syn
|
|
691
|
+
"syn",
|
|
691
692
|
]
|
|
692
693
|
|
|
693
694
|
[[package]]
|
|
@@ -756,7 +757,7 @@ checksum = "97369cbbc041bc366949bc74d34658d6cda5621039731c6310521892a3a20ae0"
|
|
|
756
757
|
dependencies = [
|
|
757
758
|
"proc-macro2",
|
|
758
759
|
"quote",
|
|
759
|
-
"syn
|
|
760
|
+
"syn",
|
|
760
761
|
]
|
|
761
762
|
|
|
762
763
|
[[package]]
|
|
@@ -1016,7 +1017,7 @@ checksum = "87750cf4b7a4c0625b1529e4c543c2182106e4dedc60a2a6455e00d212c489ac"
|
|
|
1016
1017
|
dependencies = [
|
|
1017
1018
|
"proc-macro2",
|
|
1018
1019
|
"quote",
|
|
1019
|
-
"syn
|
|
1020
|
+
"syn",
|
|
1020
1021
|
]
|
|
1021
1022
|
|
|
1022
1023
|
[[package]]
|
|
@@ -1475,7 +1476,7 @@ checksum = "1ec89e9337638ecdc08744df490b221a7399bf8d164eb52a665454e60e075ad6"
|
|
|
1475
1476
|
dependencies = [
|
|
1476
1477
|
"proc-macro2",
|
|
1477
1478
|
"quote",
|
|
1478
|
-
"syn
|
|
1479
|
+
"syn",
|
|
1479
1480
|
]
|
|
1480
1481
|
|
|
1481
1482
|
[[package]]
|
|
@@ -2009,9 +2010,9 @@ dependencies = [
|
|
|
2009
2010
|
|
|
2010
2011
|
[[package]]
|
|
2011
2012
|
name = "outref"
|
|
2012
|
-
version = "0.
|
|
2013
|
+
version = "0.5.2"
|
|
2013
2014
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
2014
|
-
checksum = "
|
|
2015
|
+
checksum = "1a80800c0488c3a21695ea981a54918fbb37abf04f4d0720c453632255e2ff0e"
|
|
2015
2016
|
|
|
2016
2017
|
[[package]]
|
|
2017
2018
|
name = "parking_lot"
|
|
@@ -2123,7 +2124,7 @@ dependencies = [
|
|
|
2123
2124
|
"pest_meta",
|
|
2124
2125
|
"proc-macro2",
|
|
2125
2126
|
"quote",
|
|
2126
|
-
"syn
|
|
2127
|
+
"syn",
|
|
2127
2128
|
]
|
|
2128
2129
|
|
|
2129
2130
|
[[package]]
|
|
@@ -2474,7 +2475,7 @@ dependencies = [
|
|
|
2474
2475
|
"futures",
|
|
2475
2476
|
"futures-timer",
|
|
2476
2477
|
"rstest_macros",
|
|
2477
|
-
"rustc_version
|
|
2478
|
+
"rustc_version",
|
|
2478
2479
|
]
|
|
2479
2480
|
|
|
2480
2481
|
[[package]]
|
|
@@ -2489,8 +2490,8 @@ dependencies = [
|
|
|
2489
2490
|
"quote",
|
|
2490
2491
|
"regex",
|
|
2491
2492
|
"relative-path",
|
|
2492
|
-
"rustc_version
|
|
2493
|
-
"syn
|
|
2493
|
+
"rustc_version",
|
|
2494
|
+
"syn",
|
|
2494
2495
|
"unicode-ident",
|
|
2495
2496
|
]
|
|
2496
2497
|
|
|
@@ -2524,18 +2525,9 @@ checksum = "719b953e2095829ee67db738b3bfa9fa368c94900df327b3f07fe6e794d2fe1f"
|
|
|
2524
2525
|
|
|
2525
2526
|
[[package]]
|
|
2526
2527
|
name = "rustc-hash"
|
|
2527
|
-
version = "1.1
|
|
2528
|
+
version = "2.1.1"
|
|
2528
2529
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
2529
|
-
checksum = "
|
|
2530
|
-
|
|
2531
|
-
[[package]]
|
|
2532
|
-
name = "rustc_version"
|
|
2533
|
-
version = "0.2.3"
|
|
2534
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
2535
|
-
checksum = "138e3e0acb6c9fb258b19b67cb8abd63c00679d2851805ea151465464fe9030a"
|
|
2536
|
-
dependencies = [
|
|
2537
|
-
"semver 0.9.0",
|
|
2538
|
-
]
|
|
2530
|
+
checksum = "357703d41365b4b27c590e3ed91eabb1b663f07c4c084095e60cbed4362dff0d"
|
|
2539
2531
|
|
|
2540
2532
|
[[package]]
|
|
2541
2533
|
name = "rustc_version"
|
|
@@ -2543,7 +2535,7 @@ version = "0.4.0"
|
|
|
2543
2535
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
2544
2536
|
checksum = "bfa0f585226d2e68097d4f95d113b15b83a82e819ab25717ec0590d9584ef366"
|
|
2545
2537
|
dependencies = [
|
|
2546
|
-
"semver
|
|
2538
|
+
"semver",
|
|
2547
2539
|
]
|
|
2548
2540
|
|
|
2549
2541
|
[[package]]
|
|
@@ -2604,15 +2596,6 @@ version = "1.2.0"
|
|
|
2604
2596
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
2605
2597
|
checksum = "94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49"
|
|
2606
2598
|
|
|
2607
|
-
[[package]]
|
|
2608
|
-
name = "scroll"
|
|
2609
|
-
version = "0.10.2"
|
|
2610
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
2611
|
-
checksum = "fda28d4b4830b807a8b43f7b0e6b5df875311b3e7621d84577188c175b6ec1ec"
|
|
2612
|
-
dependencies = [
|
|
2613
|
-
"scroll_derive 0.10.5",
|
|
2614
|
-
]
|
|
2615
|
-
|
|
2616
2599
|
[[package]]
|
|
2617
2600
|
name = "scroll"
|
|
2618
2601
|
version = "0.11.0"
|
|
@@ -2625,18 +2608,7 @@ version = "0.12.0"
|
|
|
2625
2608
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
2626
2609
|
checksum = "6ab8598aa408498679922eff7fa985c25d58a90771bd6be794434c5277eab1a6"
|
|
2627
2610
|
dependencies = [
|
|
2628
|
-
"scroll_derive
|
|
2629
|
-
]
|
|
2630
|
-
|
|
2631
|
-
[[package]]
|
|
2632
|
-
name = "scroll_derive"
|
|
2633
|
-
version = "0.10.5"
|
|
2634
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
2635
|
-
checksum = "aaaae8f38bb311444cfb7f1979af0bc9240d95795f75f9ceddf6a59b79ceffa0"
|
|
2636
|
-
dependencies = [
|
|
2637
|
-
"proc-macro2",
|
|
2638
|
-
"quote",
|
|
2639
|
-
"syn 1.0.109",
|
|
2611
|
+
"scroll_derive",
|
|
2640
2612
|
]
|
|
2641
2613
|
|
|
2642
2614
|
[[package]]
|
|
@@ -2647,7 +2619,7 @@ checksum = "7f81c2fde025af7e69b1d1420531c8a8811ca898919db177141a85313b1cb932"
|
|
|
2647
2619
|
dependencies = [
|
|
2648
2620
|
"proc-macro2",
|
|
2649
2621
|
"quote",
|
|
2650
|
-
"syn
|
|
2622
|
+
"syn",
|
|
2651
2623
|
]
|
|
2652
2624
|
|
|
2653
2625
|
[[package]]
|
|
@@ -2669,27 +2641,12 @@ dependencies = [
|
|
|
2669
2641
|
"libc",
|
|
2670
2642
|
]
|
|
2671
2643
|
|
|
2672
|
-
[[package]]
|
|
2673
|
-
name = "semver"
|
|
2674
|
-
version = "0.9.0"
|
|
2675
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
2676
|
-
checksum = "1d7eb9ef2c18661902cc47e535f9bc51b78acd254da71d375c2f6720d9a40403"
|
|
2677
|
-
dependencies = [
|
|
2678
|
-
"semver-parser",
|
|
2679
|
-
]
|
|
2680
|
-
|
|
2681
2644
|
[[package]]
|
|
2682
2645
|
name = "semver"
|
|
2683
2646
|
version = "1.0.23"
|
|
2684
2647
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
2685
2648
|
checksum = "61697e0a1c7e512e84a621326239844a24d8207b4669b41bc18b32ea5cbf988b"
|
|
2686
2649
|
|
|
2687
|
-
[[package]]
|
|
2688
|
-
name = "semver-parser"
|
|
2689
|
-
version = "0.7.0"
|
|
2690
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
2691
|
-
checksum = "388a1df253eca08550bef6c72392cfe7c30914bf41df5269b68cbd6ff8f570a3"
|
|
2692
|
-
|
|
2693
2650
|
[[package]]
|
|
2694
2651
|
name = "sentry"
|
|
2695
2652
|
version = "0.34.0"
|
|
@@ -2728,7 +2685,7 @@ dependencies = [
|
|
|
2728
2685
|
|
|
2729
2686
|
[[package]]
|
|
2730
2687
|
name = "sentry-cli"
|
|
2731
|
-
version = "2.
|
|
2688
|
+
version = "2.45.0"
|
|
2732
2689
|
dependencies = [
|
|
2733
2690
|
"anyhow",
|
|
2734
2691
|
"anylog",
|
|
@@ -2775,7 +2732,7 @@ dependencies = [
|
|
|
2775
2732
|
"runas",
|
|
2776
2733
|
"rust-ini",
|
|
2777
2734
|
"secrecy",
|
|
2778
|
-
"semver
|
|
2735
|
+
"semver",
|
|
2779
2736
|
"sentry",
|
|
2780
2737
|
"serde",
|
|
2781
2738
|
"serde_json",
|
|
@@ -2803,7 +2760,7 @@ dependencies = [
|
|
|
2803
2760
|
"hostname",
|
|
2804
2761
|
"libc",
|
|
2805
2762
|
"os_info",
|
|
2806
|
-
"rustc_version
|
|
2763
|
+
"rustc_version",
|
|
2807
2764
|
"sentry-core",
|
|
2808
2765
|
"uname",
|
|
2809
2766
|
]
|
|
@@ -2857,7 +2814,7 @@ checksum = "500cbc0ebeb6f46627f50f3f5811ccf6bf00643be300b4c3eabc0ef55dc5b5ba"
|
|
|
2857
2814
|
dependencies = [
|
|
2858
2815
|
"proc-macro2",
|
|
2859
2816
|
"quote",
|
|
2860
|
-
"syn
|
|
2817
|
+
"syn",
|
|
2861
2818
|
]
|
|
2862
2819
|
|
|
2863
2820
|
[[package]]
|
|
@@ -2929,15 +2886,6 @@ version = "1.3.0"
|
|
|
2929
2886
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
2930
2887
|
checksum = "0fda2ff0d084019ba4d7c6f371c95d8fd75ce3524c3cb8fb653a3023f6323e64"
|
|
2931
2888
|
|
|
2932
|
-
[[package]]
|
|
2933
|
-
name = "simd-abstraction"
|
|
2934
|
-
version = "0.7.1"
|
|
2935
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
2936
|
-
checksum = "9cadb29c57caadc51ff8346233b5cec1d240b68ce55cf1afc764818791876987"
|
|
2937
|
-
dependencies = [
|
|
2938
|
-
"outref",
|
|
2939
|
-
]
|
|
2940
|
-
|
|
2941
2889
|
[[package]]
|
|
2942
2890
|
name = "simd-adler32"
|
|
2943
2891
|
version = "0.3.7"
|
|
@@ -3014,9 +2962,9 @@ dependencies = [
|
|
|
3014
2962
|
|
|
3015
2963
|
[[package]]
|
|
3016
2964
|
name = "sourcemap"
|
|
3017
|
-
version = "9.
|
|
2965
|
+
version = "9.2.0"
|
|
3018
2966
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
3019
|
-
checksum = "
|
|
2967
|
+
checksum = "dd430118acc9fdd838557649b9b43fd0a78e3834d84a283b466f8e84720d6101"
|
|
3020
2968
|
dependencies = [
|
|
3021
2969
|
"base64-simd",
|
|
3022
2970
|
"bitvec",
|
|
@@ -3024,8 +2972,7 @@ dependencies = [
|
|
|
3024
2972
|
"debugid",
|
|
3025
2973
|
"if_chain",
|
|
3026
2974
|
"rustc-hash",
|
|
3027
|
-
"
|
|
3028
|
-
"scroll 0.10.2",
|
|
2975
|
+
"scroll 0.12.0",
|
|
3029
2976
|
"serde",
|
|
3030
2977
|
"serde_json",
|
|
3031
2978
|
"unicode-id-start",
|
|
@@ -3164,17 +3111,6 @@ dependencies = [
|
|
|
3164
3111
|
"watto",
|
|
3165
3112
|
]
|
|
3166
3113
|
|
|
3167
|
-
[[package]]
|
|
3168
|
-
name = "syn"
|
|
3169
|
-
version = "1.0.109"
|
|
3170
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
3171
|
-
checksum = "72b64191b275b66ffe2469e8af2c1cfe3bafa67b529ead792a6d0160888b4237"
|
|
3172
|
-
dependencies = [
|
|
3173
|
-
"proc-macro2",
|
|
3174
|
-
"quote",
|
|
3175
|
-
"unicode-ident",
|
|
3176
|
-
]
|
|
3177
|
-
|
|
3178
3114
|
[[package]]
|
|
3179
3115
|
name = "syn"
|
|
3180
3116
|
version = "2.0.100"
|
|
@@ -3194,7 +3130,7 @@ checksum = "c8af7666ab7b6390ab78131fb5b0fce11d6b7a6951602017c35fa82800708971"
|
|
|
3194
3130
|
dependencies = [
|
|
3195
3131
|
"proc-macro2",
|
|
3196
3132
|
"quote",
|
|
3197
|
-
"syn
|
|
3133
|
+
"syn",
|
|
3198
3134
|
]
|
|
3199
3135
|
|
|
3200
3136
|
[[package]]
|
|
@@ -3268,7 +3204,7 @@ checksum = "46c3384250002a6d5af4d114f2845d37b57521033f30d5c3f46c4d70e1197533"
|
|
|
3268
3204
|
dependencies = [
|
|
3269
3205
|
"proc-macro2",
|
|
3270
3206
|
"quote",
|
|
3271
|
-
"syn
|
|
3207
|
+
"syn",
|
|
3272
3208
|
]
|
|
3273
3209
|
|
|
3274
3210
|
[[package]]
|
|
@@ -3279,7 +3215,7 @@ checksum = "7f7cf42b4507d8ea322120659672cf1b9dbb93f8f2d4ecfd6e51350ff5b17a1d"
|
|
|
3279
3215
|
dependencies = [
|
|
3280
3216
|
"proc-macro2",
|
|
3281
3217
|
"quote",
|
|
3282
|
-
"syn
|
|
3218
|
+
"syn",
|
|
3283
3219
|
]
|
|
3284
3220
|
|
|
3285
3221
|
[[package]]
|
|
@@ -3393,7 +3329,7 @@ checksum = "34704c8d6ebcbc939824180af020566b01a7c01f80641264eba0999f6c2b6be7"
|
|
|
3393
3329
|
dependencies = [
|
|
3394
3330
|
"proc-macro2",
|
|
3395
3331
|
"quote",
|
|
3396
|
-
"syn
|
|
3332
|
+
"syn",
|
|
3397
3333
|
]
|
|
3398
3334
|
|
|
3399
3335
|
[[package]]
|
|
@@ -3519,6 +3455,12 @@ version = "0.5.1"
|
|
|
3519
3455
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
3520
3456
|
checksum = "65dd7eed29412da847b0f78bcec0ac98588165988a8cfe41d4ea1d429f8ccfff"
|
|
3521
3457
|
|
|
3458
|
+
[[package]]
|
|
3459
|
+
name = "vsimd"
|
|
3460
|
+
version = "0.8.0"
|
|
3461
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
3462
|
+
checksum = "5c3082ca00d5a5ef149bb8b555a72ae84c9c59f7250f013ac822ac2e49b19c64"
|
|
3463
|
+
|
|
3522
3464
|
[[package]]
|
|
3523
3465
|
name = "wait-timeout"
|
|
3524
3466
|
version = "0.2.0"
|
|
@@ -3581,7 +3523,7 @@ dependencies = [
|
|
|
3581
3523
|
"log",
|
|
3582
3524
|
"proc-macro2",
|
|
3583
3525
|
"quote",
|
|
3584
|
-
"syn
|
|
3526
|
+
"syn",
|
|
3585
3527
|
"wasm-bindgen-shared",
|
|
3586
3528
|
]
|
|
3587
3529
|
|
|
@@ -3603,7 +3545,7 @@ checksum = "8ae87ea40c9f689fc23f209965b6fb8a99ad69aeeb0231408be24920604395de"
|
|
|
3603
3545
|
dependencies = [
|
|
3604
3546
|
"proc-macro2",
|
|
3605
3547
|
"quote",
|
|
3606
|
-
"syn
|
|
3548
|
+
"syn",
|
|
3607
3549
|
"wasm-bindgen-backend",
|
|
3608
3550
|
"wasm-bindgen-shared",
|
|
3609
3551
|
]
|
|
@@ -3627,7 +3569,7 @@ dependencies = [
|
|
|
3627
3569
|
"bitflags 2.6.0",
|
|
3628
3570
|
"hashbrown 0.14.5",
|
|
3629
3571
|
"indexmap",
|
|
3630
|
-
"semver
|
|
3572
|
+
"semver",
|
|
3631
3573
|
"serde",
|
|
3632
3574
|
]
|
|
3633
3575
|
|
|
@@ -3997,7 +3939,7 @@ checksum = "2380878cad4ac9aac1e2435f3eb4020e8374b5f13c296cb75b4620ff8e229154"
|
|
|
3997
3939
|
dependencies = [
|
|
3998
3940
|
"proc-macro2",
|
|
3999
3941
|
"quote",
|
|
4000
|
-
"syn
|
|
3942
|
+
"syn",
|
|
4001
3943
|
"synstructure",
|
|
4002
3944
|
]
|
|
4003
3945
|
|
|
@@ -4018,7 +3960,7 @@ checksum = "fa4f8080344d4671fb4e831a13ad1e68092748387dfc4f55e356242fae12ce3e"
|
|
|
4018
3960
|
dependencies = [
|
|
4019
3961
|
"proc-macro2",
|
|
4020
3962
|
"quote",
|
|
4021
|
-
"syn
|
|
3963
|
+
"syn",
|
|
4022
3964
|
]
|
|
4023
3965
|
|
|
4024
3966
|
[[package]]
|
|
@@ -4038,7 +3980,7 @@ checksum = "595eed982f7d355beb85837f651fa22e90b3c044842dc7f2c2842c086f295808"
|
|
|
4038
3980
|
dependencies = [
|
|
4039
3981
|
"proc-macro2",
|
|
4040
3982
|
"quote",
|
|
4041
|
-
"syn
|
|
3983
|
+
"syn",
|
|
4042
3984
|
"synstructure",
|
|
4043
3985
|
]
|
|
4044
3986
|
|
|
@@ -4059,7 +4001,7 @@ checksum = "ce36e65b0d2999d2aafac989fb249189a141aee1f53c612c1f37d72631959f69"
|
|
|
4059
4001
|
dependencies = [
|
|
4060
4002
|
"proc-macro2",
|
|
4061
4003
|
"quote",
|
|
4062
|
-
"syn
|
|
4004
|
+
"syn",
|
|
4063
4005
|
]
|
|
4064
4006
|
|
|
4065
4007
|
[[package]]
|
|
@@ -4081,7 +4023,7 @@ checksum = "6eafa6dfb17584ea3e2bd6e76e0cc15ad7af12b09abdd1ca55961bed9b1063c6"
|
|
|
4081
4023
|
dependencies = [
|
|
4082
4024
|
"proc-macro2",
|
|
4083
4025
|
"quote",
|
|
4084
|
-
"syn
|
|
4026
|
+
"syn",
|
|
4085
4027
|
]
|
|
4086
4028
|
|
|
4087
4029
|
[[package]]
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
authors = ["Armin Ronacher <armin.ronacher@active-4.com>"]
|
|
3
3
|
build = "build.rs"
|
|
4
4
|
name = "sentry-cli"
|
|
5
|
-
version = "2.
|
|
5
|
+
version = "2.45.0"
|
|
6
6
|
edition = "2021"
|
|
7
7
|
rust-version = "1.80"
|
|
8
8
|
|
|
@@ -64,7 +64,7 @@ sentry = { version = "0.34.0", default-features = false, features = [
|
|
|
64
64
|
serde = { version = "1.0.152", features = ["derive"] }
|
|
65
65
|
serde_json = "1.0.93"
|
|
66
66
|
sha1_smol = { version = "1.0.0", features = ["serde"] }
|
|
67
|
-
sourcemap = { version = "9.
|
|
67
|
+
sourcemap = { version = "9.2.0", features = ["ram_bundle"] }
|
|
68
68
|
symbolic = { version = "12.13.3", features = ["debuginfo-serde", "il2cpp"] }
|
|
69
69
|
thiserror = "1.0.38"
|
|
70
70
|
url = "2.3.1"
|
|
@@ -7,8 +7,8 @@ use super::ChunkedFileState;
|
|
|
7
7
|
pub struct ChunkedArtifactRequest<'a> {
|
|
8
8
|
pub checksum: Digest,
|
|
9
9
|
pub chunks: &'a [Digest],
|
|
10
|
-
#[serde(skip_serializing_if = "
|
|
11
|
-
pub projects:
|
|
10
|
+
#[serde(skip_serializing_if = "<[_]>::is_empty")]
|
|
11
|
+
pub projects: &'a [String],
|
|
12
12
|
#[serde(skip_serializing_if = "version_is_empty")]
|
|
13
13
|
pub version: Option<&'a str>,
|
|
14
14
|
#[serde(skip_serializing_if = "Option::is_none")]
|
|
@@ -47,7 +47,7 @@ use uuid::Uuid;
|
|
|
47
47
|
use crate::api::errors::ProjectRenamedError;
|
|
48
48
|
use crate::config::{Auth, Config};
|
|
49
49
|
use crate::constants::{ARCH, DEFAULT_URL, EXT, PLATFORM, RELEASE_REGISTRY_LATEST_URL, VERSION};
|
|
50
|
-
use crate::utils::file_upload::
|
|
50
|
+
use crate::utils::file_upload::LegacyUploadContext;
|
|
51
51
|
use crate::utils::http::{self, is_absolute_url};
|
|
52
52
|
use crate::utils::progress::{ProgressBar, ProgressBarMode};
|
|
53
53
|
use crate::utils::retry::{get_default_backoff, DurationAsMilliseconds};
|
|
@@ -996,7 +996,7 @@ impl<'a> AuthenticatedApi<'a> {
|
|
|
996
996
|
.with_json_body(&ChunkedArtifactRequest {
|
|
997
997
|
checksum,
|
|
998
998
|
chunks,
|
|
999
|
-
projects:
|
|
999
|
+
projects: &[],
|
|
1000
1000
|
version: None,
|
|
1001
1001
|
dist: None,
|
|
1002
1002
|
})?
|
|
@@ -1015,7 +1015,7 @@ impl<'a> AuthenticatedApi<'a> {
|
|
|
1015
1015
|
pub fn assemble_artifact_bundle(
|
|
1016
1016
|
&self,
|
|
1017
1017
|
org: &str,
|
|
1018
|
-
projects:
|
|
1018
|
+
projects: &[String],
|
|
1019
1019
|
checksum: Digest,
|
|
1020
1020
|
chunks: &[Digest],
|
|
1021
1021
|
version: Option<&str>,
|
|
@@ -1425,30 +1425,27 @@ impl RegionSpecificApi<'_> {
|
|
|
1425
1425
|
/// system and uploaded as `name`.
|
|
1426
1426
|
pub fn upload_release_file(
|
|
1427
1427
|
&self,
|
|
1428
|
-
context: &
|
|
1428
|
+
context: &LegacyUploadContext,
|
|
1429
1429
|
contents: &[u8],
|
|
1430
1430
|
name: &str,
|
|
1431
1431
|
headers: Option<&[(String, String)]>,
|
|
1432
1432
|
progress_bar_mode: ProgressBarMode,
|
|
1433
1433
|
) -> ApiResult<Option<Artifact>> {
|
|
1434
|
-
let
|
|
1435
|
-
.release()
|
|
1436
|
-
.map_err(|err| ApiError::with_source(ApiErrorKind::ReleaseNotFound, err))?;
|
|
1437
|
-
|
|
1438
|
-
let path = if let Some(project) = context.project {
|
|
1434
|
+
let path = if let Some(project) = context.project() {
|
|
1439
1435
|
format!(
|
|
1440
1436
|
"/projects/{}/{}/releases/{}/files/",
|
|
1441
|
-
PathArg(context.org),
|
|
1437
|
+
PathArg(context.org()),
|
|
1442
1438
|
PathArg(project),
|
|
1443
|
-
PathArg(release)
|
|
1439
|
+
PathArg(context.release())
|
|
1444
1440
|
)
|
|
1445
1441
|
} else {
|
|
1446
1442
|
format!(
|
|
1447
1443
|
"/organizations/{}/releases/{}/files/",
|
|
1448
|
-
PathArg(context.org),
|
|
1449
|
-
PathArg(release)
|
|
1444
|
+
PathArg(context.org()),
|
|
1445
|
+
PathArg(context.release())
|
|
1450
1446
|
)
|
|
1451
1447
|
};
|
|
1448
|
+
|
|
1452
1449
|
let mut form = curl::easy::Form::new();
|
|
1453
1450
|
|
|
1454
1451
|
let filename = Path::new(name)
|
|
@@ -1459,7 +1456,7 @@ impl RegionSpecificApi<'_> {
|
|
|
1459
1456
|
.buffer(filename, contents.to_vec())
|
|
1460
1457
|
.add()?;
|
|
1461
1458
|
form.part("name").contents(name.as_bytes()).add()?;
|
|
1462
|
-
if let Some(dist) = context.dist {
|
|
1459
|
+
if let Some(dist) = context.dist() {
|
|
1463
1460
|
form.part("dist").contents(dist.as_bytes()).add()?;
|
|
1464
1461
|
}
|
|
1465
1462
|
|
|
@@ -6,7 +6,6 @@ use anyhow::{bail, format_err, Result};
|
|
|
6
6
|
use clap::{builder::PossibleValuesParser, Arg, ArgAction, ArgMatches, Command};
|
|
7
7
|
use console::style;
|
|
8
8
|
use itertools::Itertools;
|
|
9
|
-
use log::info;
|
|
10
9
|
use symbolic::common::DebugId;
|
|
11
10
|
use symbolic::debuginfo::FileFormat;
|
|
12
11
|
|
|
@@ -219,11 +218,6 @@ pub fn execute(matches: &ArgMatches) -> Result<()> {
|
|
|
219
218
|
.unwrap_or_default()
|
|
220
219
|
.copied();
|
|
221
220
|
|
|
222
|
-
info!(
|
|
223
|
-
"Issuing a command for Organization: {} Project: {}",
|
|
224
|
-
org, project
|
|
225
|
-
);
|
|
226
|
-
|
|
227
221
|
let wait_for_secs = matches.get_one::<u64>("wait_for").copied();
|
|
228
222
|
let wait = matches.get_flag("wait") || wait_for_secs.is_some();
|
|
229
223
|
let max_wait = wait_for_secs.map_or(DEFAULT_MAX_WAIT, Duration::from_secs);
|
|
@@ -150,7 +150,7 @@ pub fn execute(matches: &ArgMatches) -> Result<()> {
|
|
|
150
150
|
|
|
151
151
|
let context = &UploadContext {
|
|
152
152
|
org: &org,
|
|
153
|
-
|
|
153
|
+
projects: &project.into_iter().collect::<Vec<_>>(),
|
|
154
154
|
release: Some(&release),
|
|
155
155
|
dist,
|
|
156
156
|
note: None,
|
|
@@ -244,7 +244,7 @@ pub fn execute(matches: &ArgMatches) -> Result<()> {
|
|
|
244
244
|
if let Some(artifact) = authenticated_api
|
|
245
245
|
.region_specific(context.org)
|
|
246
246
|
.upload_release_file(
|
|
247
|
-
context
|
|
247
|
+
&context.try_into()?,
|
|
248
248
|
&contents,
|
|
249
249
|
name,
|
|
250
250
|
Some(
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
use anyhow::Result;
|
|
2
2
|
use clap::{ArgMatches, Command};
|
|
3
|
-
use log::info;
|
|
4
3
|
|
|
5
4
|
use crate::api::{Api, IssueChanges, IssueFilter};
|
|
6
5
|
use crate::config::Config;
|
|
@@ -13,14 +12,10 @@ pub fn execute(matches: &ArgMatches) -> Result<()> {
|
|
|
13
12
|
let config = Config::current();
|
|
14
13
|
let (org, project) = config.get_org_and_project(matches)?;
|
|
15
14
|
let filter = IssueFilter::get_filter_from_matches(matches)?;
|
|
16
|
-
let
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
org, project
|
|
21
|
-
);
|
|
22
|
-
|
|
23
|
-
changes.new_status = Some("muted".into());
|
|
15
|
+
let changes = IssueChanges {
|
|
16
|
+
new_status: Some("muted".into()),
|
|
17
|
+
..Default::default()
|
|
18
|
+
};
|
|
24
19
|
|
|
25
20
|
if Api::current()
|
|
26
21
|
.authenticated()?
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
use anyhow::Result;
|
|
2
2
|
use clap::{Arg, ArgAction, ArgMatches, Command};
|
|
3
|
-
use log::info;
|
|
4
3
|
|
|
5
4
|
use crate::api::{Api, IssueChanges, IssueFilter};
|
|
6
5
|
use crate::config::Config;
|
|
@@ -21,11 +20,6 @@ pub fn execute(matches: &ArgMatches) -> Result<()> {
|
|
|
21
20
|
let filter = IssueFilter::get_filter_from_matches(matches)?;
|
|
22
21
|
let mut changes: IssueChanges = Default::default();
|
|
23
22
|
|
|
24
|
-
info!(
|
|
25
|
-
"Issuing a command for Organization: {} Project: {}",
|
|
26
|
-
org, project
|
|
27
|
-
);
|
|
28
|
-
|
|
29
23
|
if matches.get_flag("next_release") {
|
|
30
24
|
changes.new_status = Some("resolvedInNextRelease".into());
|
|
31
25
|
} else {
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
use anyhow::Result;
|
|
2
2
|
use clap::{ArgMatches, Command};
|
|
3
|
-
use log::info;
|
|
4
3
|
|
|
5
4
|
use crate::api::{Api, IssueChanges, IssueFilter};
|
|
6
5
|
use crate::config::Config;
|
|
@@ -13,14 +12,10 @@ pub fn execute(matches: &ArgMatches) -> Result<()> {
|
|
|
13
12
|
let config = Config::current();
|
|
14
13
|
let (org, project) = config.get_org_and_project(matches)?;
|
|
15
14
|
let filter = IssueFilter::get_filter_from_matches(matches)?;
|
|
16
|
-
let
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
org, project
|
|
21
|
-
);
|
|
22
|
-
|
|
23
|
-
changes.new_status = Some("unresolved".into());
|
|
15
|
+
let changes = IssueChanges {
|
|
16
|
+
new_status: Some("unresolved".into()),
|
|
17
|
+
..Default::default()
|
|
18
|
+
};
|
|
24
19
|
|
|
25
20
|
if Api::current()
|
|
26
21
|
.authenticated()?
|