Skip to content

Require JVM ABI dump presence in empty KMP projects #244

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

Merged
merged 2 commits into from
Jun 26, 2024

Conversation

fzhinkin
Copy link
Collaborator

Currently, only JVM ABI validation in KMP projects allows having no dump file. In other cases (JVM ABI validation in K/JVM project or KLib validation) require the presence of an ABI dump file. Lack of such a file is treated as a validation error.

The main motivation for having a dump files instead of simply ignoring such projects is that otherwise BCV won't be able to catch the case when all sources were removed from a project.

Fixes #243

Currently, only JVM ABI validation in KMP projects
allows having no dump file. In other cases (JVM ABI
validation in K/JVM project or KLib validation) require
the presence of an ABI dump file. Lack of such a file
is treated as a validation error.

The main motivation for having a dump files instead of
simply ignoring such projects is that otherwise BCV
won't be able to catch the case when all sources
were removed from a project.

Fixes #243
@fzhinkin fzhinkin added the bug Something isn't working label Jun 25, 2024
@fzhinkin fzhinkin added this to the klib/0.15.0-Beta.3 milestone Jun 25, 2024
@fzhinkin fzhinkin requested a review from shanshin June 25, 2024 15:36
@fzhinkin fzhinkin changed the title Require JVM ABI dump presence in empty KMP project Require JVM ABI dump presence in empty KMP projects Jun 25, 2024
@fzhinkin fzhinkin linked an issue Jun 25, 2024 that may be closed by this pull request
@fzhinkin fzhinkin merged commit 3590611 into develop Jun 26, 2024
3 checks passed
@fzhinkin fzhinkin deleted the 243-require-dump-file-in-empty-project branch June 26, 2024 08:07
shanshin pushed a commit to JetBrains/kotlin that referenced this pull request Oct 28, 2024
* Require JVM ABI dump presence in empty KMP project

Currently, only JVM ABI validation in KMP projects
allows having no dump file. In other cases (JVM ABI
validation in K/JVM project or KLib validation) require
the presence of an ABI dump file. Lack of such a file
is treated as a validation error.

The main motivation for having a dump files instead of
simply ignoring such projects is that otherwise BCV
won't be able to catch the case when all sources
were removed from a project.

Fixes Kotlin/binary-compatibility-validator#243
Pull request Kotlin/binary-compatibility-validator#244
shanshin pushed a commit to JetBrains/kotlin that referenced this pull request Dec 3, 2024
* Require JVM ABI dump presence in empty KMP project

Currently, only JVM ABI validation in KMP projects
allows having no dump file. In other cases (JVM ABI
validation in K/JVM project or KLib validation) require
the presence of an ABI dump file. Lack of such a file
is treated as a validation error.

The main motivation for having a dump files instead of
simply ignoring such projects is that otherwise BCV
won't be able to catch the case when all sources
were removed from a project.

Fixes Kotlin/binary-compatibility-validator#243
Pull request Kotlin/binary-compatibility-validator#244
shanshin pushed a commit to JetBrains/kotlin that referenced this pull request Dec 13, 2024
* Require JVM ABI dump presence in empty KMP project

Currently, only JVM ABI validation in KMP projects
allows having no dump file. In other cases (JVM ABI
validation in K/JVM project or KLib validation) require
the presence of an ABI dump file. Lack of such a file
is treated as a validation error.

The main motivation for having a dump files instead of
simply ignoring such projects is that otherwise BCV
won't be able to catch the case when all sources
were removed from a project.

Fixes Kotlin/binary-compatibility-validator#243
Pull request Kotlin/binary-compatibility-validator#244
shanshin pushed a commit to JetBrains/kotlin that referenced this pull request Dec 23, 2024
* Require JVM ABI dump presence in empty KMP project

Currently, only JVM ABI validation in KMP projects
allows having no dump file. In other cases (JVM ABI
validation in K/JVM project or KLib validation) require
the presence of an ABI dump file. Lack of such a file
is treated as a validation error.

The main motivation for having a dump files instead of
simply ignoring such projects is that otherwise BCV
won't be able to catch the case when all sources
were removed from a project.

Fixes Kotlin/binary-compatibility-validator#243
Pull request Kotlin/binary-compatibility-validator#244

Moved from Kotlin/binary-compatibility-validator@3590611
KotlinBuild pushed a commit to JetBrains/kotlin that referenced this pull request Jan 3, 2025
* Require JVM ABI dump presence in empty KMP project

Currently, only JVM ABI validation in KMP projects
allows having no dump file. In other cases (JVM ABI
validation in K/JVM project or KLib validation) require
the presence of an ABI dump file. Lack of such a file
is treated as a validation error.

The main motivation for having a dump files instead of
simply ignoring such projects is that otherwise BCV
won't be able to catch the case when all sources
were removed from a project.

Fixes Kotlin/binary-compatibility-validator#243
Pull request Kotlin/binary-compatibility-validator#244

Moved from Kotlin/binary-compatibility-validator@3590611
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

BCV behavior for an empty module is inconsistent between JVM and KMP
2 participants