Repository navigation
Conversation
|
@marcprux Is this experiment still a work in progress? |
|
I do think it could well work, but it would need buy-in from @groue. I've transitioned away from swift, so I won't be working on it anymore. I'll close this, but I do think that this PR serves as a good baseline reference for anyone who wants to pick up the work again in the future. |
|
Hello! I wish you a happy transition to Rust, @marcprux :-) Your help in shaping my understanding and GRDB's support for alternative SQLite implementations across multiple platforms has been invaluable.
I'm not sure Point-Free needs my agreement on anything. Moving away from groue/GRDB means losing the benefits of a reference repository: improvements, bug fixes, and the care taken in addressing non-trivial issues (I'll mention groue/GRDB.swift#1890 here). I'm glad the latest versions of Xcode appear to support package traits well: groue/GRDB.swift#1882. Since GRDB's current minimum requirements (Swift 6.1+ / Xcode 16.3+) don't provide that support, I'll need to raise them before GRDB can support multiple SQLite and SQLCipher implementations across multiple platforms. This will be a breaking change, which means an opportunity to clean up the API, use Swift 6.4 features where relevant, etc. So it will take some time. |
Completely agree. What I meant to convey was that I do not believe that it would be wise to proceed with switching sqlite-data to use any sort of bespoke fork of GRDB in order to facilitate the expansion of platform support. I think any foundational changes should be implemented in GRDB itself. The recent improvement in Xcode's package trait support is a promising step towards enabling this, but there's obviously a ton more work that needs to be done, and a ton of careful consideration for ensuring that existing GRDB users don't have anything break out from under them. In short, I recommend sticking with the upstream GRDB and supporting @groue's tireless efforts and stellar track record as the maintainer of this amazing project. |
This experimental PR updates the GRDB dependency to instead use https://github.com/swift-everywhere/grdb-flex, which in turn is based on a multiplatform-capable and SQLCipher-supporting source build of SQLite at https://github.com/skiptools/swift-sqlcipher.