Skip to content
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

Bundle Java Sources and upload to Sentry #472

Merged
merged 32 commits into from
May 15, 2023
Merged

Conversation

adinauer
Copy link
Member

📜 Description

Bundle and upload source code to Sentry, see issue linked below for more details on how this works.

💡 Motivation and Context

Android part of getsentry/sentry-java#633 for backend we'll first have to do some changes to SAGP to make it backend friendly.

💚 How did you test it?

manually; still need to add automated tests

📝 Checklist

  • I reviewed the submitted code
  • I added tests to verify the changes
  • I updated the docs if needed
  • No breaking changes

🔮 Next steps

@github-actions
Copy link
Contributor

github-actions bot commented Apr 19, 2023

Messages
📖 Do not forget to update Sentry-docs with your feature once the pull request gets approved.

Generated by 🚫 dangerJS against 1f702ae

romtsn and others added 6 commits May 8, 2023 07:48
- Use `Properties` class instead of writing strings to files and reading + manually parsing (also for previously existing tasks)
- Add changelog
- Add `debug` option to extension to enable debug log output of sentry-cli
- Add org and project inputs to tasks using sentry-cli
- Don't use outputDir for debug meta properties task
- Get source files from variant lazily
- Only hook into assemble for build type "release"
- Turn `includeSourceBundle` off by default
- Remove task.dependsOn as using input implicitly does that
- Instead of removing 3 dirs from relative path of source dirs strip provided dir absolute path from beginning of all file paths contained in that dir when copying
- Remove printlns (some were replaced by log statements)
- Use different build dirs
- Remove unused write bundle id to manifest task
- Make debug task input optional (default=false)
- Remove some log output
@adinauer adinauer marked this pull request as ready for review May 10, 2023 13:30
@adinauer adinauer requested a review from markushi as a code owner May 10, 2023 13:31
Copy link
Member

@romtsn romtsn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Massive work :shipit:

@romtsn romtsn merged commit 0f3a854 into main May 15, 2023
17 checks passed
@romtsn romtsn deleted the feat/java-source-context-draft1 branch May 15, 2023 13:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants