Skip to content

Option to filter debug-files #277

@farfromrefug

Description

@farfromrefug

I use the cli through the fastlane plugin for iOS https://github.com/getsentry/sentry-fastlane-plugin.
when i do sentry_debug_files_upload:

sentry_debug_files_upload(
      url: ENV["SENTRY_URL"],
      org_slug: ENV["SENTRY_ORG"],
      project_slug: ENV["SENTRY_PROJECT"],
      wait: true,
      derived_data: false,
      include_sources: false,
      no_unwind: true,
      no_sources: true,
      upload_symbol_maps: true
    )

It detects a lot of debug files, some i want but also a lot i dont want for an iOS project on Macos, like .node files, files like ffi_c.bundle, libswiftos.dylib, sentry-cli-Darwin-universal, sentry-cli-Linux-x86_64, ....

It adds a lot of upload time, and server storage for nothing.
A simple solution would be a filter parameter. The ideal thing would be for it to support an "array" of name or glob

Metadata

Metadata

Assignees

No fields configured for issues without a type.

Projects

Status

No status

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions