Skip to content

Conversation

amoeba
Copy link
Member

@amoeba amoeba commented Aug 8, 2025

Replicates the change in #3250 to the Rust Driver Manager. Follow-on to #3247

Modifies the behavior of GetSearchPaths so macOS doesn't follow other Unix-likes but instead uses the more conventional /Library/Application Support/ADBC. /etc/ isn't really a thing on macOS.

Tested manually by debugging the test with and without /Library/Application Support/ADBC existing and verifying the right branch gets hit. I'm not too worried exercising this in CI but we could.

@amoeba amoeba requested a review from zeroshade August 8, 2025 21:33
@amoeba amoeba requested a review from wjones127 as a code owner August 8, 2025 21:33
@github-actions github-actions bot modified the milestone: ADBC Libraries 20 Aug 8, 2025
@amoeba
Copy link
Member Author

amoeba commented Aug 8, 2025

cc @ianmcook

@ianmcook
Copy link
Member

ianmcook commented Aug 8, 2025

It'd be nice to factor this out into a fn system_config_dir so the logic is parallel to user_config_dir.

@amoeba
Copy link
Member Author

amoeba commented Aug 8, 2025

Good point!

@amoeba
Copy link
Member Author

amoeba commented Aug 8, 2025

Refactored in 8141e58.

@ianmcook ianmcook requested a review from mbrobbel August 9, 2025 18:49
@lidavidm
Copy link
Member

I think we can rebase and merge here

@amoeba amoeba force-pushed the fix/rust-driver-manager-macos-system-path branch from ee11c01 to ca75aa2 Compare August 12, 2025 00:25
@amoeba
Copy link
Member Author

amoeba commented Aug 12, 2025

Rebased.

@lidavidm lidavidm merged commit 864cb92 into apache:main Aug 12, 2025
8 checks passed
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.

3 participants