dropped sqlite support

This commit is contained in:
2021-10-25 07:33:47 +02:00
parent d8938bc225
commit e2125ab411
4 changed files with 2 additions and 6 deletions

View File

@@ -9,8 +9,8 @@ svn2git:
upstream-community: "https://github.com/archlinux/svntogit-community.git"
db:
driver: sqlite3
connect_to: "file:/var/lib/alhp/alhp.db?_journal_mode=WAL&_fk=1&cache=shared&_sync=NORMAL"
driver: pgx
connect_to: "postgres://username:password@localhost:5432/database_name"
basedir:
repo: /var/lib/alhp/repo/

1
go.mod
View File

@@ -9,7 +9,6 @@ require (
github.com/Morganamilo/go-srcinfo v1.0.0
github.com/coreos/go-systemd v0.0.0-20191104093116-d3cd4ed1dbcf // indirect
github.com/jackc/pgx/v4 v4.13.0
github.com/mattn/go-sqlite3 v1.14.9
github.com/sirupsen/logrus v1.8.1
github.com/wercker/journalhook v0.0.0-20180428041537-5d0a5ae867b3
golang.org/x/sys v0.0.0-20211023085530-d6a326fbbf70 // indirect

2
go.sum
View File

@@ -220,8 +220,6 @@ github.com/mattn/go-isatty v0.0.7/go.mod h1:Iq45c/XA43vh69/j3iqttzPXn0bhXyGjM0Hd
github.com/mattn/go-isatty v0.0.12/go.mod h1:cbi8OIDigv2wuxKPP5vlRcQ1OAZbq2CE4Kysco4FUpU=
github.com/mattn/go-runewidth v0.0.9/go.mod h1:H031xJmbD/WCDINGzjvQ9THkh0rPKHF+m2gUSrubnMI=
github.com/mattn/go-sqlite3 v1.14.8/go.mod h1:NyWgC/yNuGj7Q9rpYnZvas74GogHl5/Z4A/KQRfk6bU=
github.com/mattn/go-sqlite3 v1.14.9 h1:10HX2Td0ocZpYEjhilsuo6WWtUqttj2Kb0KtD86/KYA=
github.com/mattn/go-sqlite3 v1.14.9/go.mod h1:NyWgC/yNuGj7Q9rpYnZvas74GogHl5/Z4A/KQRfk6bU=
github.com/matttproud/golang_protobuf_extensions v1.0.1/go.mod h1:D8He9yQNgCq6Z5Ld7szi9bcBfOoFv/3dc6xSMkL2PC0=
github.com/miekg/dns v1.0.14/go.mod h1:W1PPwlIAgtquWBMBEV9nkV9Cazfe8ScdGz/Lj7v3Nrg=
github.com/mitchellh/cli v1.0.0/go.mod h1:hNIlj7HEI86fIcpObd7a0FcrxTWetlwJDGcceTlRvqc=

View File

@@ -12,7 +12,6 @@ import (
"fmt"
"github.com/Jguer/go-alpm/v2"
_ "github.com/jackc/pgx/v4/stdlib"
_ "github.com/mattn/go-sqlite3"
log "github.com/sirupsen/logrus"
"github.com/wercker/journalhook"
"gopkg.in/yaml.v2"