Skip to content

Exclude preview/ from googleapis/googleapis rsync#1193

Merged
unmultimedio merged 1 commit intomainfrom
jfigueroa/ignore-preview-google
Apr 6, 2026
Merged

Exclude preview/ from googleapis/googleapis rsync#1193
unmultimedio merged 1 commit intomainfrom
jfigueroa/ignore-preview-google

Conversation

@unmultimedio
Copy link
Copy Markdown
Member

Fixes #1191.

The googleapis/googleapis repository contains a preview/ directory that mirrors protos from google/ under the same package namespaces. Because rsync filter patterns with / but no leading / do tail-matching, rules like + api/field_behavior.proto were matching both google/api/field_behavior.proto and preview/google/api/field_behavior.proto, causing duplicate symbol errors when buf build runs.

Adds - /preview/ (anchored to transfer root) before the + */ catch-all in rsync.incl to prevent rsync from descending into the top-level preview/ directory.

@github-actions
Copy link
Copy Markdown

github-actions bot commented Apr 6, 2026

The latest Buf updates on your PR. Results from workflow Buf CI / buf (pull_request).

BuildFormatLintBreakingUpdated (UTC)
✅ passed✅ passed✅ passed✅ passedApr 6, 2026, 6:00 PM

@unmultimedio
Copy link
Copy Markdown
Member Author

Tested: #1194

@unmultimedio unmultimedio marked this pull request as ready for review April 6, 2026 18:09
@unmultimedio unmultimedio requested a review from pkwarren April 6, 2026 18:09
@unmultimedio unmultimedio merged commit b0f99c4 into main Apr 6, 2026
6 checks passed
@unmultimedio unmultimedio deleted the jfigueroa/ignore-preview-google branch April 6, 2026 18:26
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.

Unexpected Fetch references failure

2 participants