From 147265e10c65f80f9d1a8b9520b55dad61cb7177 Mon Sep 17 00:00:00 2001 From: Runxi Yu Date: Sat, 05 Apr 2025 18:40:51 +0800 Subject: [PATCH] Switch to upstream scfg for now --- config.go | 2 +- go.mod | 3 ++- go.sum | 2 ++ diff --git a/config.go b/config.go index f0dcad55276384007321fb3edc217ac6fa7271d9..6220d6ff1b9bd1c64ebc9bdab2026c2024aab8e1 100644 --- a/config.go +++ b/config.go @@ -9,8 +9,8 @@ "context" "errors" "os" + "codeberg.org/emersion/go-scfg" "github.com/jackc/pgx/v5/pgxpool" - "go.lindenii.runxiyu.org/lindenii-common/scfg" ) // config holds the global configuration used by this instance. There is diff --git a/go.mod b/go.mod index f533995453f551f4bbd0da7c43a2db5e4e678b5b..9e85ccb89d431ad1487cbf5e724b793479ec7756 100644 --- a/go.mod +++ b/go.mod @@ -3,6 +3,7 @@ go 1.24.1 require ( + codeberg.org/emersion/go-scfg v0.1.0 git.sr.ht/~sircmpwn/go-bare v0.0.0-20210406120253-ab86bc2846d9 github.com/alecthomas/chroma/v2 v2.16.0 github.com/alexedwards/argon2id v1.0.0 @@ -11,7 +12,7 @@ github.com/dustin/go-humanize v1.0.1 github.com/emersion/go-message v0.18.2 github.com/emersion/go-smtp v0.21.3 github.com/gliderlabs/ssh v0.3.8 - github.com/go-git/go-git/v5 v5.14.0 // has too many deps :( + github.com/go-git/go-git/v5 v5.14.0 github.com/jackc/pgx/v5 v5.7.4 github.com/microcosm-cc/bluemonday v1.0.27 github.com/niklasfasching/go-org v1.7.0 diff --git a/go.sum b/go.sum index b3c4db735c79fe8181d3ea27a8d8951f6ce888c1..471a5c29333d25e8bd831005cfbf3a0507cf5ebe 100644 --- a/go.sum +++ b/go.sum @@ -1,3 +1,5 @@ +codeberg.org/emersion/go-scfg v0.1.0 h1:6dnGU0ZI4gX+O5rMjwhoaySItzHG710eXL5TIQKl+uM= +codeberg.org/emersion/go-scfg v0.1.0/go.mod h1:0nooW1ufBB4SlJEdTtiVN9Or+bnNM1icOkQ6Tbrq6O0= dario.cat/mergo v1.0.1 h1:Ra4+bf83h2ztPIQYNP99R6m+Y7KfnARDfID+a+vLl4s= dario.cat/mergo v1.0.1/go.mod h1:uNxQE+84aUszobStD9th8a29P2fMDhsBdgRYvZOxGmk= git.sr.ht/~sircmpwn/getopt v0.0.0-20191230200459-23622cc906b3/go.mod h1:wMEGFFFNuPos7vHmWXfszqImLppbc0wEhh6JBfJIUgw= -- 2.48.1