Skip to content

Added support for Revapi - #3974

Merged
lihaoyi merged 7 commits into
com-lihaoyi:mainfrom
ajaychandran:revapi
Nov 16, 2024
Merged

Added support for Revapi#3974
lihaoyi merged 7 commits into
com-lihaoyi:mainfrom
ajaychandran:revapi

Conversation

@ajaychandran

@ajaychandran ajaychandran commented Nov 15, 2024

Copy link
Copy Markdown
Contributor

Added Revapi support for API analysis and change tracking to identify incompatibilities.

Resolves #3929.

Comment thread example/javalib/publishing/3-revapi/build.mill
@ajaychandran
ajaychandran marked this pull request as ready for review November 15, 2024 12:20
@ajaychandran

Copy link
Copy Markdown
Contributor Author

@lihaoyi Please review.

Comment on lines +21 to +23
val oldFiles = revapiOldFiles()
val oldFile = oldFiles.head
val oldSupFiles = oldFiles.tail

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.

This (and below) can be written more concisely as val oldFile +: oldSupFiles = revapiOldFiles()

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Not for Agg since it does not extend Seq.

Comment thread scalalib/src/mill/javalib/revapi/RevapiModule.scala Outdated
@lihaoyi

lihaoyi commented Nov 16, 2024

Copy link
Copy Markdown
Member

Some nits but otherwise looks good!

@ajaychandran
ajaychandran marked this pull request as draft November 16, 2024 02:33
@lihaoyi
lihaoyi marked this pull request as ready for review November 16, 2024 02:51
@lihaoyi
lihaoyi marked this pull request as draft November 16, 2024 02:51
@ajaychandran
ajaychandran marked this pull request as ready for review November 16, 2024 03:40
@lihaoyi
lihaoyi merged commit f23475c into com-lihaoyi:main Nov 16, 2024
@ajaychandran
ajaychandran deleted the revapi branch November 16, 2024 04:15
@lefou lefou added this to the 0.12.3 milestone Nov 17, 2024
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.

RevApi support (500USD Bounty)

3 participants