Skip to content

Allow kotlin pre-releases in KotlinCompilerPlugin#972

Merged
stefanosiano merged 16 commits into
mainfrom
stefanosiano/fix/semver-prealpha
Sep 15, 2025
Merged

Allow kotlin pre-releases in KotlinCompilerPlugin#972
stefanosiano merged 16 commits into
mainfrom
stefanosiano/fix/semver-prealpha

Conversation

@stefanosiano

Copy link
Copy Markdown
Contributor

📜 Description

Copied SemVer implementation to SentryKotlinCompilerPlugin

💡 Motivation and Context

Closes #955

💚 How did you test it?

📝 Checklist

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

🔮 Next steps

@stefanosiano

Copy link
Copy Markdown
Contributor Author

I just don't know how to properly test it

@romtsn romtsn left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM.

I think you could test by adopting this integration test and using e.g. a preview kotlin version like 1.8.20-RC2

stefanosiano and others added 13 commits September 11, 2025 15:49
* New sentry command

# Conflicts:
#	examples/android-guardsquare-proguard/sentry.properties
#	plugin-build/sentry-cli.properties

* not working

* adding tests

* Size analysis working

* Add extension

* working on test

* remove shadow

* Add tests and CI check

* Disable uploading by default

* Remove second truth

* Use build instead of mobile-app command

* Add SentryPluginIntegrationTest

* Use alpha version

* Improve python server functionality.
* Add VCS info extension for build uploads

- Create VcsInfoExtension with vcs related sentry-cli build upload
  params
- Add vcsInfo property and configuration function to SentryPluginExtension
- Update SentryUploadAppArtifactTask to pass VCS parameters to sentry-cli
- Support head/base SHA, repo names, refs, VCS provider, and PR number

* Add changelog entry for VCS info extension

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>

* Add documentation clarifying VcsInfoExtension scope

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>

* Apply spotless code formatting

Fix comment formatting in VcsInfoExtension to comply with project style guidelines.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>

* Add test for VCS info CLI arguments in upload task

Verify that all VCS information from the VcsInfoExtension is correctly passed
as command line arguments to the Sentry CLI during app artifact uploads.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>

* Apply spotless formatting to test file

Format long assertion lines in VCS info test for better readability.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>

---------

Co-authored-by: Claude <noreply@anthropic.com>
Bumps [actions/github-script](https://github.com/actions/github-script) from 7 to 8.
- [Release notes](https://github.com/actions/github-script/releases)
- [Commits](actions/github-script@v7...v8)

---
updated-dependencies:
- dependency-name: actions/github-script
  dependency-version: '8'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [actions/setup-python](https://github.com/actions/setup-python) from 5 to 6.
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](actions/setup-python@v5...v6)

---
updated-dependencies:
- dependency-name: actions/setup-python
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: GitHub <noreply@github.com>
@stefanosiano stefanosiano merged commit ab18f65 into main Sep 15, 2025
17 checks passed
@stefanosiano stefanosiano deleted the stefanosiano/fix/semver-prealpha branch September 15, 2025 10:52
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.

Add support of the pre-release Kotlin versions

3 participants