-
-
Notifications
You must be signed in to change notification settings - Fork 29
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
feat: sentry.properties #191
Conversation
Instructions and example for changelogPlease add an entry to Example: ## Unreleased
- sentry.properties ([#191](https://github.com/getsentry/sentry-dart-plugin/pull/191)) If none of the above apply, you can opt out of this check by adding |
I don't have any comment on the code, that looks good to me. I'm a bit concerned if this is not a breaking feature given the order we read the configs. If I think the safer order would be to try first That would allow users to hide sensitive config to the properties file and then not commit it for example. Maybe not necessary. |
Hm good point, at the very least it should be
Will go with the co-existing config route, will check out gradle plugin to see how they handle it |
@krystofwoldrich it seems like sentry.properties on the gradle plugin only uses org, project and auth-token so I think using |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@buenaflor I agree, we can adjust based on demand, this solves the current issues and I don't expect high demand for combining the approaches.
How are you supposed to create the sentry.properties file? I tried creating it as a json and as list of values like in pubspec.yaml but it is not recognized by the CLI |
key=value
# e.g
upload_debug_symbols=true we'll add docs to the readme for that
|
📜 Description
Add sentry.properties for additional config options.
it tries to load
sentry.properties
first and if it doesn't exist it will fallback topubspec.yaml
💡 Motivation and Context
Closes #42
💚 How did you test it?
Unit test
Manually
📝 Checklist
🔮 Next steps