Daniel Szoke
Daniel Szoke
## The scenario Suppose a user runs `sourcemaps upload` against a directory `foobar/` where the JS source files have already been injected with debug IDs. Like so: ``` $ sentry-cli...
In [`upload_files_parallel`](https://github.com/getsentry/sentry-cli/blob/5da558778bcd1460841ef420cb0c46cdf1e14997/src/utils/file_upload.rs#L228), we make an API call at the beginning of the method to obtain a list of existing files, then if we find we have a new file to...
We should add more tests to the Sentry CLI, to ensure we are thoroughly testing common usage scenarios and edge cases. We especially need to test `sourcemaps inject` more thoroughly,...
This function can return a `ReleaseNotFound` error, even though we don't pass a release to this function, so it appears that an incorrect release could not actually cause the error....
In the `sourcemaps upload` command, we output "no sourcemap ref" for any JS source file for which we cannot find a sourcemap. We should reword this to something clearer, using...
### Environment Latest, all systems ### Steps to Reproduce Run the `tests/integration/_cases/react_native/xcode-upload-source-maps-release_and_dist_from_env.trycmd` test, which currently specifies as its expected behavior that the `~/react-native-xcode-bundle.js.map` should be listed under "Scripts." See the...
When there is a non-2xx status while downloading the Sentry CLI binary in the CLI install script, we currently print the following error message: ``` "error: your platform and architecture...
We want to prevent confusion in cases like this: https://github.com/getsentry/sentry-cli/issues/1902#issuecomment-1906088229
Changing to the `clap` [Derive API](https://docs.rs/clap/latest/clap/_derive/index.html) will allow us to define commands as structs, and have the arguments automatically parsed into the respective fields on the struct. The Derive API...
The Sentry CLI currently uses [`curl`](https://docs.rs/curl/latest/curl/) to make requests to the Sentry API. The `curl` library simply provides bindings over the `libcurl` API. We should replace `curl` with [`reqwest`](https://crates.io/crates/reqwest), which...