Giter Club home page Giter Club logo

Comments (8)

kahest avatar kahest commented on September 27, 2024 1

@nickkaczmarek Correct - you need to omit include_sources to prevent source bundles from being uploaded. no_sources is used to determine whether the server supports source bundles, but this is overridden by sentry-cli retrieving a list of supported formats from the server, so it has no effect here.

Thank you for the wording suggestion, I think this would make it much clearer. We will discuss in which direction we'll go and follow up here.

from sentry-fastlane-plugin.

kahest avatar kahest commented on September 27, 2024 1

@nickkaczmarek yes let's keep it open for now - we'll split out separate issue(s) later

from sentry-fastlane-plugin.

philipphofmann avatar philipphofmann commented on September 27, 2024 1

include_sources parameter is present - setting it to false currently doesn't deactivate this

I think if you set it to false, it should deactivate this. This would be a simple change.

from sentry-fastlane-plugin.

nickkaczmarek avatar nickkaczmarek commented on September 27, 2024 1

include_sources parameter is present - setting it to false currently doesn't deactivate this

I think if you set it to false, it should deactivate this. This would be a simple change.

This is what I thought would happen. I would guess I'm not alone in this. Also I think this makes more sense than updating the docs in the way I suggested above. False should not send the sources and true should send the sources.

from sentry-fastlane-plugin.

kahest avatar kahest commented on September 27, 2024

Hey @nickkaczmarek, thanks for writing in! Source bundles will be sent as soon as the include_sources parameter is present - setting it to false currently doesn't deactivate this, only removing the parameter. We'll discuss if we should change this behavior or at least document it more clearly.

from sentry-fastlane-plugin.

nickkaczmarek avatar nickkaczmarek commented on September 27, 2024

@kahest Ah okay that's good to know. So just to be clear, if I use sentry_upload_dif without include_sources or no_sources I should expect that no source bundles are uploaded?

from sentry-fastlane-plugin.

nickkaczmarek avatar nickkaczmarek commented on September 27, 2024

And to your point about documenting it more clearly

When setting the include_sources parameter to true, the Fastlane plugin will scan your debug files to find references to the source code files, resolve them in the local file system, bundle them up, and upload them to Sentry.

This line seems to imply that setting that property will cause a change in behavior.

Maybe something like:

When including the include_sources parameter, the Fastlane plugin will scan your debug files to find references to the source code files, resolve them in the local file system, bundle them up, and upload them to Sentry. Exclusion of this parameter will not upload source code files.

I can make an MR for the docs if you think this makes it clearer how this tool works.

from sentry-fastlane-plugin.

nickkaczmarek avatar nickkaczmarek commented on September 27, 2024

Thanks @kahest. Do you want me to keep this issue open? From my perspective I understand the behavior and my questions are answered, but not sure if you want to keep this open until a further docs/params change is made.

from sentry-fastlane-plugin.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.