You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
### Description
Assume that the Sentry server supports all file types we would like to
upload.
This change fixes compatibility with uploading ProGuard files
self-hosted version 24.11.1, which [can receive chunk-uploaded ProGuard
files](getsentry/sentry@7c7e79f),
but [does not declare support in the `accept` field,
yet](getsentry/sentry@e0b7ff2).
This will allow us to expand Sentry CLI 3.x's official support to all
self-hosted versions above 24.11.1.
We also no longer check the `accept` field during `dart-symbol-map` and
`build` uploads. As not all versions ≥24.11.1 support these features,
this means that users on a self-hosted version that supports these
features tries to use the command, they will no longer get an error
message that states that their server lacks uploading support for those
file types if they attempt to upload it. But, I think this is okay, as
long as we are clear what versions are supported for these features.
### Issues
- Resolves#3050
- Resolves
[CLI-254](https://linear.app/getsentry/issue/CLI-254/assume-chunk-upload-support)
Copy file name to clipboardExpand all lines: src/commands/dart_symbol_map/mod.rs
+2-1Lines changed: 2 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -7,7 +7,8 @@ const GROUP_ABOUT: &str = "Manage Dart/Flutter symbol maps for Sentry.";
7
7
constUPLOAD_ABOUT:&str =
8
8
"Upload a Dart/Flutter symbol map (dartsymbolmap) for deobfuscating Dart exception types.";
9
9
constUPLOAD_LONG_ABOUT:&str =
10
-
"Upload a Dart/Flutter symbol map (dartsymbolmap) for deobfuscating Dart exception types.{n}{n}Examples:{n} sentry-cli dart-symbol-map upload --org my-org --project my-proj path/to/dartsymbolmap.json path/to/debug/file{n}{n}The mapping must be a JSON array of strings with an even number of entries (pairs).{n}The debug file must contain exactly one Debug ID.";
10
+
"Upload a Dart/Flutter symbol map (dartsymbolmap) for deobfuscating Dart exception types.{n}{n}Examples:{n} sentry-cli dart-symbol-map upload --org my-org --project my-proj path/to/dartsymbolmap.json path/to/debug/file{n}{n}The mapping must be a JSON array of strings with an even number of entries (pairs).{n}The debug file must contain exactly one Debug ID. {n}{n}\
11
+
This command is supported on Sentry SaaS and self-hosted versions ≥25.8.0.";
0 commit comments