getsentry / sentry-dart-plugin

A Dart Build Plugin that uploads debug symbols for Android, iOS/macOS and source maps for Web to Sentry via sentry-cli
MIT License
68 stars 28 forks source link

override buildFilesFolder via arguments #228

Closed sobimor closed 6 months ago

sobimor commented 7 months ago

we need to set custom buildFilesFolder (working dir) so sentry-cli starts searching for debug symbols in that directory. Just like other properties, it would be awesome to be able to set custom buildFilesFolder

Unfortunately, this lack led us to use sentry-cli directly because it is capable of setting path.

buenaflor commented 7 months ago

hey, should be a good addition.

quick question: where do you store the debug syms? I assume they'd not be in a build folder within the projects dir otherwise the plugin would be able to locate them?

sobimor commented 7 months ago

We store it in the dist/sym directory. The problem is when sentry_cli tries to find all symbols in our project, it finds more than 600 files which is wrong(because searches for symbols in the root dir and checks every folder).

@buenaflor

buenaflor commented 7 months ago

Got it, thanks for raising this, we'll take a look