Skip to content

feat: allow source patches to be placed in user-defined output groups#46

Open
kormide wants to merge 1 commit into
mainfrom
extra-groups
Open

feat: allow source patches to be placed in user-defined output groups#46
kormide wants to merge 1 commit into
mainfrom
extra-groups

Conversation

@kormide

@kormide kormide commented Jun 18, 2026

Copy link
Copy Markdown
Owner

I don't think it's enough to put patches for source files into a single output group. In a build graph there may be different categories of patches and how they're dealt with. For example, you might want patches for a vendored bundle to be automatically applied on CI, but for a snapshot test you would want someone to carefully review the diff before committing.

This adds a mechanism to differentiate those categories via custom output groups. I don't think diff.bzl should go as far as defining what those categories are, so this seems like the appropriate level for customization.

@kormide kormide marked this pull request as ready for review June 18, 2026 00:28
@kormide kormide requested a review from alexeagle June 18, 2026 00:29
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.

1 participant