Skip to content

Conversation

@mosche
Copy link
Contributor

@mosche mosche commented Sep 26, 2025

This adds a few improvements to the api-extractor tool.

  • validation of input params is more robust
  • a new option allows to include incubator modules

I've also investigated the value of observing changes in the localedata module. But I don't think there's much use to do this with this approach. The significant changes we're interested in are hidden in the CLDR xml files. Extracting useful information of changes there would be independent and has to be developed from scratch.

Relates to ES-11757

@mosche mosche requested a review from a team as a code owner September 26, 2025 10:37
@mosche mosche added :Core/Infra/Core Core issues without another label >refactoring labels Sep 26, 2025
@elasticsearchmachine
Copy link
Collaborator

Pinging @elastic/es-core-infra (Team:Core/Infra)

@elasticsearchmachine elasticsearchmachine added Team:Core/Infra Meta label for core/infra team v9.2.0 labels Sep 26, 2025
Copy link
Contributor

@ldematte ldematte left a comment

Choose a reason for hiding this comment

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

LGTM
I wonder if we should use joptsimple for the command line option, as we do in the ES cli tools. But maybe that's not needed/it's a complication

@mosche
Copy link
Contributor Author

mosche commented Sep 26, 2025

so far it's simple enough and I don't see a need yet, but I agree that would be a good next step in case we ever want multi valued args instead of pure flags. I considered making the list of modules configurable, but in the end didn't see a need for that

@mosche mosche merged commit f23c9fd into elastic:main Sep 26, 2025
34 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

:Core/Infra/Core Core issues without another label >refactoring Team:Core/Infra Meta label for core/infra team v9.2.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants