vlcn-io / cr-sqlite

Convergent, Replicated SQLite. Multi-writer and CRDT support for SQLite
https://vlcn.io
MIT License
2.77k stars 76 forks source link

cr-sqlite is now in the SQLite package registry #296

Closed nalgeon closed 11 months ago

nalgeon commented 1 year ago

Hi! I've just added vlcn-io/cr-sqlite to the package registry. It's now available on the website and via the CLI package manager.

No action is required on your part, just a quick heads up.

Thank you for this great extension!

P.S. It would really help though if you could remove the "rename" step, which is not obvious to people and unfortunately not supported by the package manager:

The entrypoint to the loadable extension is sqlite3_crsqlite_init, so you'll either need to provide that to load_extension or rename your binary to crsqlite.[dylib/dll/so].

Extension authors often publish .zip or .tar.gz archives with an extension binary inside, like this:

crsqlite-darwin-x86_64.zip
└─ crsqlite.dylib

crsqlite-darwin-aarch64.zip
└─ crsqlite.dylib

crsqlite-linux-x86_64.zip
└─ crsqlite.so

crsqlite-linux-aarch64.zip
└─ crsqlite.so

crsqlite-windows-x86_64.zip
└─ crsqlite.dll

This way there is no need to rename the binary, and the extension works right after unpacking.

tantaman commented 1 year ago

Thanks @nalgeon.

I'll update the publish workflow to fix that.

nalgeon commented 11 months ago

Thanks for implementing this change! Looking forward to the next release with zipped assets.