Skip to content

Fix exclude_type on non imported package#3717

Merged
emcfarlane merged 1 commit intomainfrom
ed/fixPkgExcludeNonImport
Mar 31, 2025
Merged

Fix exclude_type on non imported package#3717
emcfarlane merged 1 commit intomainfrom
ed/fixPkgExcludeNonImport

Conversation

@emcfarlane
Copy link
Contributor

@emcfarlane emcfarlane commented Mar 29, 2025

This fixes exclude_type for an excluded package which is also a target for the image. All target files are only implicitly included if no include types are set. If the package is excluded and also a target for the image, this is no longer an error. If the package is excluded but also explicitly included, this is still an error.

This fixes exclude_type for a package exclude when no includes are set.
@emcfarlane emcfarlane requested a review from doriable March 29, 2025 08:26
@github-actions
Copy link
Contributor

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

BuildFormatLintBreakingUpdated (UTC)
✅ passed✅ passed✅ passed✅ passedMar 29, 2025, 8:27 AM

@emcfarlane emcfarlane merged commit aaf8ce0 into main Mar 31, 2025
15 checks passed
@emcfarlane emcfarlane deleted the ed/fixPkgExcludeNonImport branch March 31, 2025 20:20
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.

2 participants