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

Avoid conflict with other SPM packages by renaming the CSQLite SPM target #1528

Open
groue opened this issue Apr 8, 2024 · 0 comments
Open

Comments

@groue
Copy link
Owner

groue commented Apr 8, 2024

As reported by @jegnux, the SPM target "CSQLite" conflicts with other SPM packages such as SQLiteNIO. This prevents users from sharing server and client code in a single SPM package, and generally makes life more complicated than desired.

Maybe this will be solvable at the SPM level at some point (I'm not holding my breath), but currently it is just not possible. I don't see how this can be solved unless packages publish namespaced targets: CSQLite -> GRDBCSQLite or GRDB_CSQLite.

Since this is a breaking change for existing apps, this renaming will happen in GRDB 7.

@groue groue changed the title Rename the CSQLite SPM target Avoid conflict with other SPM packages by renaming the CSQLite SPM target Apr 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant