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

refactor: Separate components into folders under src/nanoarrow #536

Merged
merged 12 commits into from
Jun 24, 2024

Conversation

paleolimbot
Copy link
Member

@paleolimbot paleolimbot commented Jun 21, 2024

The number of files in src/nanoarrow had accumulated quite a bit, which wasn't exactly a problem, but the files did have confusingly verbose names for historical reasons (mostly that the IPC and Device libraries originated elsewhere). This PR moves the nanoarrow target sources to src/nanoarrow/common, the nanoarrow_ipc target sources to src/nanoarrow/ipc, the nanoarrow_device target sources to src/nanoarrow/device, and the tests for the testing helpers to src/nanoarrow/testing (in the future this will/should be a nanoarrow_testing target).

I did leave the user-facing headers in src/nanoarrow, which makes a slightly cleaner transition between the "bundled" and CMake/Meson subproject builds (i.e., one always just does #include "nanoarrow/nanoarrow.h")

@paleolimbot paleolimbot marked this pull request as ready for review June 24, 2024 13:37
Copy link
Member

@assignUser assignUser left a comment

Choose a reason for hiding this comment

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

Very nice, especially that the user facing headers don't change 👍

@paleolimbot paleolimbot merged commit 510acf2 into apache:main Jun 24, 2024
34 checks passed
@paleolimbot paleolimbot deleted the use-more-folders branch June 25, 2024 12:31
@paleolimbot paleolimbot added this to the nanoarrow 0.6.0 milestone Sep 17, 2024
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