After some experimentation, I've found that "litetlog" works fine with
the github.com/go-llsqlite/crawshaw package, so I'm going to upload
github.com/go-llsqlite/crawshaw as closing the
golang-github-crawshaw-sqlite ITP bug because they are ~90% the same
package.  New packaging here:

https://salsa.debian.org/go-team/packages/golang-github-go-llsqlite-crawshaw
https://salsa.debian.org/jas/golang-github-go-llsqlite-crawshaw/-/pipelines/

The maintained github.com/go-llsqlite/crawshaw project appears to have
resolved (or at at least attempts to) some of the sqlite concurrency
issues that seem to happen with github.com/crawshaw/sqlite.

I'm hoping any other potential users of github.com/crawshaw/sqlite can
be patched to use github.com/go-llsqlite/crawshaw instead, just like
"litetlog":

https://salsa.debian.org/go-team/packages/litetlog/-/blob/debian/sid/debian/patches/fix-sqlite-bd.patch?ref_type=heads

/Simon

Simon Josefsson <si...@josefsson.org> writes:

> Shengjing Zhu <z...@debian.org> writes:
>
>> On Fri, Feb 7, 2025 at 4:15 AM Simon Josefsson <si...@josefsson.org> wrote:
>>>
>>> Package: wnpp
>>> Severity: wishlist
>>> Owner: Simon Josefsson <si...@josefsson.org>
>>>
>>> * Package name    : golang-github-crawshaw-sqlite
>>>   Version         : 0.3.2-1
>>>   Upstream Author : David Crawshaw
>>> * URL             : https://github.com/crawshaw/sqlite
>>> * License         : ISC
>>>   Programming Lang: Go
>>>   Description     : Go SQLite3 driver
>>
>> This project seems to have been abandoned 3 years ago. See
>> https://github.com/crawshaw/sqlite/issues/123 This issue alos mentions
>> a fork which seems still active.
>
> Thank you!  I brought this up with 'litetlog' upstream, which is the
> project that triggered my attention to 'golang-github-crawshaw-sqlite':
>
> https://github.com/FiloSottile/litetlog/issues/27
>
> I'll hold back any NEW upload until we have some more information and
> guidance.
>
> One idea is to package github.com/go-llsqlite/crawshaw for Debian and
> patch litetlog to use it, assuming the APIs are still compatible.  But
> I'm hoping litetlog will change, so we don't need any patching.  I'll
> see if I can get that package working.
>
> /Simon
>

Attachment: signature.asc
Description: PGP signature

Reply via email to