-
-
Notifications
You must be signed in to change notification settings - Fork 50
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Option to filter debug-files
#277
Comments
transferring this to https://github.com/getsentry/sentry-fastlane-plugin - we should discuss there what we can do ootb to improve this and feed back to sentry-cli for adaptations if needed |
When looking at the upload command of sentry-cli there isn't currently a way to filter debug files to upload. I think we should first add this functionality to sentry-cli and then a parameter here. @szokeasaurusrex, do you think it's reasonable to add this to sentry-cli? |
@philipphofmann that is correct, what I wanted to check first in the Fastlane plugin is whether perhaps we should be passing a more specific path to Sentry CLI. As in, maybe the files @farfromrefug is referring to are in a different directory which we should not be searching for debug files. If this is the case, then the requested filtering feature may not even be needed. Since the plugin passes the path to Sentry CLI, we could change this in the plugin. If these files are in the same path as the debug symbols, then filtering is needed, and in that case, I agree that we should first implement the filtering in Sentry CLI. |
@farfromrefug can you provide more information on how you use the fastlane-plugin, which folders do you provide? |
@kahest i dont provide a folder i let the plugin find them. I use it as i show up above. in my context the xcode project is in |
@farfromrefug ah I see, thanks for clarifying - so you use it in conjunction with NativeScript I presume? We'll need to take a look at what the project folder structure looks like in that case and why/how the plugin picks up unwanted folders |
@kahest indeed i do it with Nativescript. Here is a sample project https://github.com/Akylas/conty |
@farfromrefug thanks for the sample, that's helpful 🙏 I can't give an ETA, but if it's a smallish change, we might be able to squeeze it in |
This issue has gone three weeks without activity. In another week, I will close it. But! If you comment or otherwise update it, I will reset the clock, and if you label it "A weed is but an unloved flower." ― Ella Wheeler Wilcox 🥀 |
I use the cli through the fastlane plugin for iOS https://github.com/getsentry/sentry-fastlane-plugin.
when i do
sentry_debug_files_upload
: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 likeffi_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
The text was updated successfully, but these errors were encountered: