mirror of
https://github.com/go-shiori/shiori.git
synced 2026-04-25 06:25:54 +03:00
[PR #780] [MERGED] refactor: allow specific sqlite engine for OpenBSD #787
Labels
No labels
component:backend
component:builds
component:builds
component:extension
component:frontend
component:readability
database
database:mysql
database:postgres
database:sqlite
feature:ebooks
github_actions
good first issue
hacktoberfest
note:duplicate?
note:fixed?
note:out-of-scope?
os:windows
priority:high
priority:low
pull-request
resolution:as-intended
resolution:cant-reproduce
resolution:duplicate
resolution:fixed
resolution:wontfix
tag:TBD
tag:big-task
tag:help-wanted
tag:huge-data
tag:meta
tag:more-info
tag:next
tag:no-stale
tag:requires-migrations
tag:research
tag:security 🛡️
tag:stale
tag:waiting-for-assignee
type:bug
type:documentation
type:enhancement
type:meta
type:ux
user:cli
user:web
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/shiori#787
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/go-shiori/shiori/pull/780
Author: @pacoesteban
Created: 11/16/2023
Status: ✅ Merged
Merged: 5/2/2024
Merged by: @fmartingr
Base:
master← Head:syscall-removal📝 Commits (10+)
fb0856bremove dependencies that use syscall.Syscall*3656e13add ~emersion/go-sqlite3-fts5eee297eenable cgo to check cie942770fts5 build flag00f0affsplit sqlite logic using build flagsa7937f3disable cgo again6720944Merge remote-tracking branch 'origin/master' into pr/pacoesteban/780eadddcaMerge remote-tracking branch 'origin/master' into pr/pacoesteban/78046de6afMerge branch 'master' into syscall-removale4a25b8Merge remote-tracking branch 'origin/master' into syscall-removal📊 Changes
7 files changed (+94 additions, -18 deletions)
View changed files
📝
.github/workflows/_test.yml(+34 -1)📝
Makefile(+5 -5)📝
go.mod(+2 -0)📝
go.sum(+2 -0)📝
internal/database/sqlite.go(+0 -12)➕
internal/database/sqlite_noncgo.go(+25 -0)➕
internal/database/sqlite_openbsd.go(+26 -0)📄 Description
OpenBSD will be removing direct access to
syscall(2)soon. Shiori will stop working because of this, as some of its dependencies rely heavily on the use ofsyscall.Syscall*, which ends up usingsyscall(2). This commit removes those dependencies by reverting back to use github.com/mattn/go-sqlite3 instead of modernc.org/sqlite to deal with the sqlite database backend.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.