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.
Files changed (174) hide show
  1. {sentry_cli-3.2.3 → sentry_cli-3.3.0}/Cargo.lock +5 -5
  2. {sentry_cli-3.2.3 → sentry_cli-3.3.0}/Cargo.toml +2 -2
  3. {sentry_cli-3.2.3 → sentry_cli-3.3.0}/PKG-INFO +1 -1
  4. {sentry_cli-3.2.3 → sentry_cli-3.3.0}/sentry_cli.egg-info/PKG-INFO +1 -1
  5. {sentry_cli-3.2.3 → sentry_cli-3.3.0}/sentry_cli.egg-info/SOURCES.txt +3 -0
  6. {sentry_cli-3.2.3 → sentry_cli-3.3.0}/src/api/data_types/snapshots.rs +1 -0
  7. {sentry_cli-3.2.3 → sentry_cli-3.3.0}/src/commands/build/snapshots.rs +8 -0
  8. {sentry_cli-3.2.3 → sentry_cli-3.3.0}/src/commands/mod.rs +2 -0
  9. sentry_cli-3.3.0/src/commands/proguard/mod.rs +45 -0
  10. sentry_cli-3.2.3/src/commands/upload_proguard.rs → sentry_cli-3.3.0/src/commands/proguard/upload.rs +8 -6
  11. sentry_cli-3.3.0/src/commands/proguard/uuid.rs +37 -0
  12. sentry_cli-3.3.0/src/commands/upload_proguard.rs +11 -0
  13. {sentry_cli-3.2.3 → sentry_cli-3.3.0}/src/utils/releases.rs +7 -0
  14. {sentry_cli-3.2.3 → sentry_cli-3.3.0}/LICENSE +0 -0
  15. {sentry_cli-3.2.3 → sentry_cli-3.3.0}/MANIFEST.in +0 -0
  16. {sentry_cli-3.2.3 → sentry_cli-3.3.0}/README.md +0 -0
  17. {sentry_cli-3.2.3 → sentry_cli-3.3.0}/apple-catalog-parsing/AGENTS.md +0 -0
  18. {sentry_cli-3.2.3 → sentry_cli-3.3.0}/apple-catalog-parsing/CLAUDE.md +0 -0
  19. {sentry_cli-3.2.3 → sentry_cli-3.3.0}/apple-catalog-parsing/Cargo.toml +0 -0
  20. {sentry_cli-3.2.3 → sentry_cli-3.3.0}/apple-catalog-parsing/build.rs +0 -0
  21. {sentry_cli-3.2.3 → sentry_cli-3.3.0}/apple-catalog-parsing/native/swift/AssetCatalogParser/Package.swift +0 -0
  22. {sentry_cli-3.2.3 → sentry_cli-3.3.0}/apple-catalog-parsing/native/swift/AssetCatalogParser/Sources/AssetCatalogParser/AssetCatalogReader.swift +0 -0
  23. {sentry_cli-3.2.3 → sentry_cli-3.3.0}/apple-catalog-parsing/native/swift/AssetCatalogParser/Sources/ObjcSupport/include/safeValueForKey.h +0 -0
  24. {sentry_cli-3.2.3 → sentry_cli-3.3.0}/apple-catalog-parsing/native/swift/AssetCatalogParser/Sources/ObjcSupport/safeValueForKey.m +0 -0
  25. {sentry_cli-3.2.3 → sentry_cli-3.3.0}/apple-catalog-parsing/native/swift/AssetCatalogParser/Tests/AssetCatalogParserTests/AssetCatalogParserTests.swift +0 -0
  26. {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
  27. {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
  28. {sentry_cli-3.2.3 → sentry_cli-3.3.0}/apple-catalog-parsing/src/asset_catalog.rs +0 -0
  29. {sentry_cli-3.2.3 → sentry_cli-3.3.0}/apple-catalog-parsing/src/lib.rs +0 -0
  30. {sentry_cli-3.2.3 → sentry_cli-3.3.0}/build.rs +0 -0
  31. {sentry_cli-3.2.3 → sentry_cli-3.3.0}/pyproject.toml +0 -0
  32. {sentry_cli-3.2.3 → sentry_cli-3.3.0}/sentry_cli.egg-info/dependency_links.txt +0 -0
  33. {sentry_cli-3.2.3 → sentry_cli-3.3.0}/sentry_cli.egg-info/top_level.txt +0 -0
  34. {sentry_cli-3.2.3 → sentry_cli-3.3.0}/setup.cfg +0 -0
  35. {sentry_cli-3.2.3 → sentry_cli-3.3.0}/setup.py +0 -0
  36. {sentry_cli-3.2.3 → sentry_cli-3.3.0}/src/AGENTS.md +0 -0
  37. {sentry_cli-3.2.3 → sentry_cli-3.3.0}/src/CLAUDE.md +0 -0
  38. {sentry_cli-3.2.3 → sentry_cli-3.3.0}/src/api/connection_manager.rs +0 -0
  39. {sentry_cli-3.2.3 → sentry_cli-3.3.0}/src/api/data_types/chunking/artifact.rs +0 -0
  40. {sentry_cli-3.2.3 → sentry_cli-3.3.0}/src/api/data_types/chunking/build.rs +0 -0
  41. {sentry_cli-3.2.3 → sentry_cli-3.3.0}/src/api/data_types/chunking/compression.rs +0 -0
  42. {sentry_cli-3.2.3 → sentry_cli-3.3.0}/src/api/data_types/chunking/dif.rs +0 -0
  43. {sentry_cli-3.2.3 → sentry_cli-3.3.0}/src/api/data_types/chunking/file_state.rs +0 -0
  44. {sentry_cli-3.2.3 → sentry_cli-3.3.0}/src/api/data_types/chunking/hash_algorithm.rs +0 -0
  45. {sentry_cli-3.2.3 → sentry_cli-3.3.0}/src/api/data_types/chunking/mod.rs +0 -0
  46. {sentry_cli-3.2.3 → sentry_cli-3.3.0}/src/api/data_types/chunking/upload/mod.rs +0 -0
  47. {sentry_cli-3.2.3 → sentry_cli-3.3.0}/src/api/data_types/chunking/upload/options.rs +0 -0
  48. {sentry_cli-3.2.3 → sentry_cli-3.3.0}/src/api/data_types/deploy.rs +0 -0
  49. {sentry_cli-3.2.3 → sentry_cli-3.3.0}/src/api/data_types/mod.rs +0 -0
  50. {sentry_cli-3.2.3 → sentry_cli-3.3.0}/src/api/encoding.rs +0 -0
  51. {sentry_cli-3.2.3 → sentry_cli-3.3.0}/src/api/envelopes_api.rs +0 -0
  52. {sentry_cli-3.2.3 → sentry_cli-3.3.0}/src/api/errors/api_error.rs +0 -0
  53. {sentry_cli-3.2.3 → sentry_cli-3.3.0}/src/api/errors/mod.rs +0 -0
  54. {sentry_cli-3.2.3 → sentry_cli-3.3.0}/src/api/errors/sentry_error.rs +0 -0
  55. {sentry_cli-3.2.3 → sentry_cli-3.3.0}/src/api/mod.rs +0 -0
  56. {sentry_cli-3.2.3 → sentry_cli-3.3.0}/src/api/pagination.rs +0 -0
  57. {sentry_cli-3.2.3 → sentry_cli-3.3.0}/src/api/serialization.rs +0 -0
  58. {sentry_cli-3.2.3 → sentry_cli-3.3.0}/src/bashsupport.sh +0 -0
  59. {sentry_cli-3.2.3 → sentry_cli-3.3.0}/src/commands/bash_hook.rs +0 -0
  60. {sentry_cli-3.2.3 → sentry_cli-3.3.0}/src/commands/build/mod.rs +0 -0
  61. {sentry_cli-3.2.3 → sentry_cli-3.3.0}/src/commands/build/upload.rs +0 -0
  62. {sentry_cli-3.2.3 → sentry_cli-3.3.0}/src/commands/dart_symbol_map/mod.rs +0 -0
  63. {sentry_cli-3.2.3 → sentry_cli-3.3.0}/src/commands/dart_symbol_map/upload.rs +0 -0
  64. {sentry_cli-3.2.3 → sentry_cli-3.3.0}/src/commands/debug_files/bundle_jvm.rs +0 -0
  65. {sentry_cli-3.2.3 → sentry_cli-3.3.0}/src/commands/debug_files/bundle_sources.rs +0 -0
  66. {sentry_cli-3.2.3 → sentry_cli-3.3.0}/src/commands/debug_files/check.rs +0 -0
  67. {sentry_cli-3.2.3 → sentry_cli-3.3.0}/src/commands/debug_files/find.rs +0 -0
  68. {sentry_cli-3.2.3 → sentry_cli-3.3.0}/src/commands/debug_files/mod.rs +0 -0
  69. {sentry_cli-3.2.3 → sentry_cli-3.3.0}/src/commands/debug_files/print_sources.rs +0 -0
  70. {sentry_cli-3.2.3 → sentry_cli-3.3.0}/src/commands/debug_files/upload.rs +0 -0
  71. {sentry_cli-3.2.3 → sentry_cli-3.3.0}/src/commands/deploys/list.rs +0 -0
  72. {sentry_cli-3.2.3 → sentry_cli-3.3.0}/src/commands/deploys/mod.rs +0 -0
  73. {sentry_cli-3.2.3 → sentry_cli-3.3.0}/src/commands/deploys/new.rs +0 -0
  74. {sentry_cli-3.2.3 → sentry_cli-3.3.0}/src/commands/derive_parser.rs +0 -0
  75. {sentry_cli-3.2.3 → sentry_cli-3.3.0}/src/commands/events/list.rs +0 -0
  76. {sentry_cli-3.2.3 → sentry_cli-3.3.0}/src/commands/events/mod.rs +0 -0
  77. {sentry_cli-3.2.3 → sentry_cli-3.3.0}/src/commands/info.rs +0 -0
  78. {sentry_cli-3.2.3 → sentry_cli-3.3.0}/src/commands/issues/list.rs +0 -0
  79. {sentry_cli-3.2.3 → sentry_cli-3.3.0}/src/commands/issues/mod.rs +0 -0
  80. {sentry_cli-3.2.3 → sentry_cli-3.3.0}/src/commands/issues/mute.rs +0 -0
  81. {sentry_cli-3.2.3 → sentry_cli-3.3.0}/src/commands/issues/resolve.rs +0 -0
  82. {sentry_cli-3.2.3 → sentry_cli-3.3.0}/src/commands/issues/unresolve.rs +0 -0
  83. {sentry_cli-3.2.3 → sentry_cli-3.3.0}/src/commands/login.rs +0 -0
  84. {sentry_cli-3.2.3 → sentry_cli-3.3.0}/src/commands/logs/list.rs +0 -0
  85. {sentry_cli-3.2.3 → sentry_cli-3.3.0}/src/commands/logs/mod.rs +0 -0
  86. {sentry_cli-3.2.3 → sentry_cli-3.3.0}/src/commands/monitors/list.rs +0 -0
  87. {sentry_cli-3.2.3 → sentry_cli-3.3.0}/src/commands/monitors/mod.rs +0 -0
  88. {sentry_cli-3.2.3 → sentry_cli-3.3.0}/src/commands/monitors/run.rs +0 -0
  89. {sentry_cli-3.2.3 → sentry_cli-3.3.0}/src/commands/organizations/list.rs +0 -0
  90. {sentry_cli-3.2.3 → sentry_cli-3.3.0}/src/commands/organizations/mod.rs +0 -0
  91. {sentry_cli-3.2.3 → sentry_cli-3.3.0}/src/commands/projects/list.rs +0 -0
  92. {sentry_cli-3.2.3 → sentry_cli-3.3.0}/src/commands/projects/mod.rs +0 -0
  93. {sentry_cli-3.2.3 → sentry_cli-3.3.0}/src/commands/react_native/gradle.rs +0 -0
  94. {sentry_cli-3.2.3 → sentry_cli-3.3.0}/src/commands/react_native/mod.rs +0 -0
  95. {sentry_cli-3.2.3 → sentry_cli-3.3.0}/src/commands/react_native/xcode.rs +0 -0
  96. {sentry_cli-3.2.3 → sentry_cli-3.3.0}/src/commands/releases/archive.rs +0 -0
  97. {sentry_cli-3.2.3 → sentry_cli-3.3.0}/src/commands/releases/delete.rs +0 -0
  98. {sentry_cli-3.2.3 → sentry_cli-3.3.0}/src/commands/releases/finalize.rs +0 -0
  99. {sentry_cli-3.2.3 → sentry_cli-3.3.0}/src/commands/releases/info.rs +0 -0
  100. {sentry_cli-3.2.3 → sentry_cli-3.3.0}/src/commands/releases/list.rs +0 -0
  101. {sentry_cli-3.2.3 → sentry_cli-3.3.0}/src/commands/releases/mod.rs +0 -0
  102. {sentry_cli-3.2.3 → sentry_cli-3.3.0}/src/commands/releases/new.rs +0 -0
  103. {sentry_cli-3.2.3 → sentry_cli-3.3.0}/src/commands/releases/propose_version.rs +0 -0
  104. {sentry_cli-3.2.3 → sentry_cli-3.3.0}/src/commands/releases/restore.rs +0 -0
  105. {sentry_cli-3.2.3 → sentry_cli-3.3.0}/src/commands/releases/set_commits.rs +0 -0
  106. {sentry_cli-3.2.3 → sentry_cli-3.3.0}/src/commands/repos/list.rs +0 -0
  107. {sentry_cli-3.2.3 → sentry_cli-3.3.0}/src/commands/repos/mod.rs +0 -0
  108. {sentry_cli-3.2.3 → sentry_cli-3.3.0}/src/commands/send_envelope.rs +0 -0
  109. {sentry_cli-3.2.3 → sentry_cli-3.3.0}/src/commands/send_event.rs +0 -0
  110. {sentry_cli-3.2.3 → sentry_cli-3.3.0}/src/commands/send_metric/common_args.rs +0 -0
  111. {sentry_cli-3.2.3 → sentry_cli-3.3.0}/src/commands/send_metric/increment.rs +0 -0
  112. {sentry_cli-3.2.3 → sentry_cli-3.3.0}/src/commands/send_metric/mod.rs +0 -0
  113. {sentry_cli-3.2.3 → sentry_cli-3.3.0}/src/commands/send_metric/set.rs +0 -0
  114. {sentry_cli-3.2.3 → sentry_cli-3.3.0}/src/commands/sourcemaps/inject.rs +0 -0
  115. {sentry_cli-3.2.3 → sentry_cli-3.3.0}/src/commands/sourcemaps/mod.rs +0 -0
  116. {sentry_cli-3.2.3 → sentry_cli-3.3.0}/src/commands/sourcemaps/resolve.rs +0 -0
  117. {sentry_cli-3.2.3 → sentry_cli-3.3.0}/src/commands/sourcemaps/upload.rs +0 -0
  118. {sentry_cli-3.2.3 → sentry_cli-3.3.0}/src/commands/uninstall.rs +0 -0
  119. {sentry_cli-3.2.3 → sentry_cli-3.3.0}/src/commands/update.rs +0 -0
  120. {sentry_cli-3.2.3 → sentry_cli-3.3.0}/src/commands/upload_dif.rs +0 -0
  121. {sentry_cli-3.2.3 → sentry_cli-3.3.0}/src/commands/upload_dsym.rs +0 -0
  122. {sentry_cli-3.2.3 → sentry_cli-3.3.0}/src/config.rs +0 -0
  123. {sentry_cli-3.2.3 → sentry_cli-3.3.0}/src/constants.rs +0 -0
  124. {sentry_cli-3.2.3 → sentry_cli-3.3.0}/src/main.rs +0 -0
  125. {sentry_cli-3.2.3 → sentry_cli-3.3.0}/src/utils/android.rs +0 -0
  126. {sentry_cli-3.2.3 → sentry_cli-3.3.0}/src/utils/args.rs +0 -0
  127. {sentry_cli-3.2.3 → sentry_cli-3.3.0}/src/utils/auth_token/auth_token_impl.rs +0 -0
  128. {sentry_cli-3.2.3 → sentry_cli-3.3.0}/src/utils/auth_token/error.rs +0 -0
  129. {sentry_cli-3.2.3 → sentry_cli-3.3.0}/src/utils/auth_token/mod.rs +0 -0
  130. {sentry_cli-3.2.3 → sentry_cli-3.3.0}/src/utils/auth_token/org_auth_token.rs +0 -0
  131. {sentry_cli-3.2.3 → sentry_cli-3.3.0}/src/utils/auth_token/redacting.rs +0 -0
  132. {sentry_cli-3.2.3 → sentry_cli-3.3.0}/src/utils/auth_token/test.rs +0 -0
  133. {sentry_cli-3.2.3 → sentry_cli-3.3.0}/src/utils/auth_token/user_auth_token.rs +0 -0
  134. {sentry_cli-3.2.3 → sentry_cli-3.3.0}/src/utils/build/apple.rs +0 -0
  135. {sentry_cli-3.2.3 → sentry_cli-3.3.0}/src/utils/build/mod.rs +0 -0
  136. {sentry_cli-3.2.3 → sentry_cli-3.3.0}/src/utils/build/normalize.rs +0 -0
  137. {sentry_cli-3.2.3 → sentry_cli-3.3.0}/src/utils/build/validation.rs +0 -0
  138. {sentry_cli-3.2.3 → sentry_cli-3.3.0}/src/utils/chunks/mod.rs +0 -0
  139. {sentry_cli-3.2.3 → sentry_cli-3.3.0}/src/utils/chunks/options.rs +0 -0
  140. {sentry_cli-3.2.3 → sentry_cli-3.3.0}/src/utils/chunks/types.rs +0 -0
  141. {sentry_cli-3.2.3 → sentry_cli-3.3.0}/src/utils/chunks/upload.rs +0 -0
  142. {sentry_cli-3.2.3 → sentry_cli-3.3.0}/src/utils/ci.rs +0 -0
  143. {sentry_cli-3.2.3 → sentry_cli-3.3.0}/src/utils/cordova.rs +0 -0
  144. {sentry_cli-3.2.3 → sentry_cli-3.3.0}/src/utils/dif.rs +0 -0
  145. {sentry_cli-3.2.3 → sentry_cli-3.3.0}/src/utils/dif_upload/error.rs +0 -0
  146. {sentry_cli-3.2.3 → sentry_cli-3.3.0}/src/utils/dif_upload/mod.rs +0 -0
  147. {sentry_cli-3.2.3 → sentry_cli-3.3.0}/src/utils/event.rs +0 -0
  148. {sentry_cli-3.2.3 → sentry_cli-3.3.0}/src/utils/file_search.rs +0 -0
  149. {sentry_cli-3.2.3 → sentry_cli-3.3.0}/src/utils/file_upload.rs +0 -0
  150. {sentry_cli-3.2.3 → sentry_cli-3.3.0}/src/utils/formatting.rs +0 -0
  151. {sentry_cli-3.2.3 → sentry_cli-3.3.0}/src/utils/fs.rs +0 -0
  152. {sentry_cli-3.2.3 → sentry_cli-3.3.0}/src/utils/http.rs +0 -0
  153. {sentry_cli-3.2.3 → sentry_cli-3.3.0}/src/utils/logging.rs +0 -0
  154. {sentry_cli-3.2.3 → sentry_cli-3.3.0}/src/utils/mod.rs +0 -0
  155. {sentry_cli-3.2.3 → sentry_cli-3.3.0}/src/utils/non_empty.rs +0 -0
  156. {sentry_cli-3.2.3 → sentry_cli-3.3.0}/src/utils/progress.rs +0 -0
  157. {sentry_cli-3.2.3 → sentry_cli-3.3.0}/src/utils/proguard/mapping.rs +0 -0
  158. {sentry_cli-3.2.3 → sentry_cli-3.3.0}/src/utils/proguard/mod.rs +0 -0
  159. {sentry_cli-3.2.3 → sentry_cli-3.3.0}/src/utils/proguard/upload.rs +0 -0
  160. {sentry_cli-3.2.3 → sentry_cli-3.3.0}/src/utils/retry.rs +0 -0
  161. {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
  162. {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
  163. {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
  164. {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
  165. {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
  166. {sentry_cli-3.2.3 → sentry_cli-3.3.0}/src/utils/source_bundle.rs +0 -0
  167. {sentry_cli-3.2.3 → sentry_cli-3.3.0}/src/utils/sourcemaps/inject.rs +0 -0
  168. {sentry_cli-3.2.3 → sentry_cli-3.3.0}/src/utils/sourcemaps.rs +0 -0
  169. {sentry_cli-3.2.3 → sentry_cli-3.3.0}/src/utils/system.rs +0 -0
  170. {sentry_cli-3.2.3 → sentry_cli-3.3.0}/src/utils/ui.rs +0 -0
  171. {sentry_cli-3.2.3 → sentry_cli-3.3.0}/src/utils/update.rs +0 -0
  172. {sentry_cli-3.2.3 → sentry_cli-3.3.0}/src/utils/value_parsers.rs +0 -0
  173. {sentry_cli-3.2.3 → sentry_cli-3.3.0}/src/utils/vcs.rs +0 -0
  174. {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.0.19"
2325
+ version = "0.1.2"
2326
2326
  source = "registry+https://github.com/rust-lang/crates.io-index"
2327
- checksum = "3bcaf8bc0ea7c50905631df108126c6a075ce5a9c16713ec4b68cc872a408e08"
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.0.19"
2349
+ version = "0.1.2"
2350
2350
  source = "registry+https://github.com/rust-lang/crates.io-index"
2351
- checksum = "f190038e8988112a4e593f1796612941117d88753574ef6476f99324d4605aae"
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.2.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.2.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.0.19" , default-features = false, features = ["native-tls"] }
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"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: sentry_cli
3
- Version: 3.2.3
3
+ Version: 3.3.0
4
4
  Summary: A command line utility to work with Sentry.
5
5
  Home-page: https://github.com/getsentry/sentry-cli
6
6
  Author: Sentry
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: sentry_cli
3
- Version: 3.2.3
3
+ Version: 3.3.0
4
4
  Summary: A command line utility to work with Sentry.
5
5
  Home-page: https://github.com/getsentry/sentry-cli
6
6
  Author: Sentry
@@ -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
+ }
@@ -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
- "Explicitly override the UUID of the mapping file with another one.{n}\
64
- This should be used with caution as it means that you can upload \
65
- multiple mapping files if you don't take care. This however can \
66
- be useful if you have a build process in which you need to know \
67
- the UUID of the proguard file before it was created. If you upload \
68
- a file with a forced UUID you can only upload a single proguard file.",
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