Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixup some headers #20779

Merged
merged 4 commits into from
Jun 30, 2024
Merged

Fixup some headers #20779

merged 4 commits into from
Jun 30, 2024

Conversation

dotnwat
Copy link
Member

@dotnwat dotnwat commented Jun 29, 2024

  • Fix up some headers causing issues for bazel.
  • Circular header dependency too

Backports Required

  • none - not a bug fix
  • none - this is a backport
  • none - issue does not exist in previous branches
  • none - papercut/not impactful enough to backport
  • v24.1.x
  • v23.3.x
  • v23.2.x

Release Notes

  • none

src/v/config depends on quite a few things in
src/v/model/{fundamental,metadata} unfortunately. so having fips_enable
from_config helper in model/fundamental.h creates a circular dependency.
the fix is to split out this one function into a separate header.

Signed-off-by: Noah Watkins <[email protected]>
Signed-off-by: Noah Watkins <[email protected]>
Includes of serde/serde.h bring in a lot of bits. Narrowing the scope of
serde includes by using serde/rw/*.h files means that downstream users
may be missing a lot of required includes.

Signed-off-by: Noah Watkins <[email protected]>
@dotnwat dotnwat requested a review from a team as a code owner June 29, 2024 21:26
@dotnwat dotnwat removed the request for review from a team June 29, 2024 21:26
@dotnwat dotnwat changed the title WIP Fixup some headers Jun 30, 2024
@dotnwat dotnwat merged commit 98e48ac into redpanda-data:dev Jun 30, 2024
21 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants