Skip to content

switch to modernc.org/sqlite#192

Merged
rumpl merged 2 commits intodocker:mainfrom
crazy-max:modernc-sqlite
Sep 15, 2025
Merged

switch to modernc.org/sqlite#192
rumpl merged 2 commits intodocker:mainfrom
crazy-max:modernc-sqlite

Conversation

@crazy-max
Copy link
Copy Markdown
Member

follow-up #183 (comment)

Switch to https://pkg.go.dev/modernc.org/sqlite so we don't need CGO anymore.

Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
Comment thread .github/workflows/ci.yml

- name: Check licenses
run: go-licenses check . --allowed_licenses=Apache-2.0,MIT,BSD-3-Clause,BSD-2-Clause
run: go-licenses check . --allowed_licenses=Apache-2.0,MIT,BSD-3-Clause,BSD-2-Clause --ignore modernc.org/mathutil
Copy link
Copy Markdown
Member Author

@crazy-max crazy-max Sep 15, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Needs to ignore license for modernc.org/mathutil that doesn't seem detected by go-licenses: https://github.com/docker/cagent/actions/runs/17728911546/job/50375602792#step:5:20

E0915 09:46:48.013542    4846 library.go:122] Failed to find license for modernc.org/mathutil: cannot find a known open source license for "/home/runner/go/pkg/mod/modernc.org/mathutil@v1.7.1" whose name matches regexp ^(?i)((UN)?LICEN(S|C)E|COPYING|README|NOTICE).*$ and locates up until "/home/runner/go/pkg/mod/modernc.org/mathutil@v1.7.1"

But has a BSD 3-Clause license: https://gitlab.com/cznic/mathutil/-/blob/master/LICENSE

@crazy-max crazy-max marked this pull request as ready for review September 15, 2025 09:56
@crazy-max crazy-max requested a review from a team as a code owner September 15, 2025 09:56
@crazy-max crazy-max mentioned this pull request Sep 15, 2025
Copy link
Copy Markdown
Member

@rumpl rumpl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's go!

@rumpl rumpl merged commit 6d5fffd into docker:main Sep 15, 2025
5 checks passed
@crazy-max crazy-max deleted the modernc-sqlite branch September 15, 2025 12:26
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.

4 participants