Skip to content

Revert "feat(internal/librarian/java): remove redundant keep items in librarian.yaml" - #6512

Merged
sofisl merged 1 commit into
mainfrom
revert-6291-removeRedundantItems2TheStreets
Jun 29, 2026
Merged

sofisl merged 1 commit into
mainfrom
revert-6291-removeRedundantItems2TheStreets

Conversation

@sofisl

@sofisl sofisl commented Jun 19, 2026 •

Copy link
Copy Markdown
Contributor

Reverts #6291 due to regression in which tidy removes too many files, many of which are necessary.

Fixes #6510

@sofisl
sofisl requested a review from a team as a code owner June 19, 2026 00:42

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Code Review

This pull request simplifies the Java-specific configuration tidying and cleaning logic. It removes the isInGAPICModule check and the isManualFile helper function, streamlining shouldCleanMarkerPath and tidyKeep. Additionally, tidyKeep has been refactored to accept a slice of strings directly instead of the entire library configuration. The review feedback suggests appending the normalized keepPathSlash instead of keepPath in tidyKeep to ensure paths are consistently saved with forward slashes across different platforms.

Comment thread internal/librarian/java/defaults.go Resolved
@JoeWang1127

Copy link
Copy Markdown
Contributor

Could you add the reason of revert in the pull request description?

@sofisl
sofisl merged commit 2ed15d7 into main Jun 29, 2026
55 of 56 checks passed
@sofisl
sofisl deleted the revert-6291-removeRedundantItems2TheStreets branch June 29, 2026 23:59
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.

java: remove redundant keep files removes too many files

2 participants