chore: migrate module path to gitea.unbound.se
dbsetup / vulnerabilities (pull_request) Successful in 3m1s
dbsetup / test (pull_request) Successful in 3m6s
pre-commit / pre-commit (pull_request) Successful in 4m49s

Update module path from git.unbound.se to gitea.unbound.se for Go module
discovery over HTTPS.
This commit is contained in:
2026-01-09 13:43:44 +01:00
parent 661f95fb5f
commit f1a91fdd40
4 changed files with 6 additions and 5 deletions
+2 -1
View File
@@ -9,7 +9,8 @@
"Bash(pre-commit run:*)",
"Bash(go build:*)",
"Bash(go test:*)",
"Bash(but status)"
"Bash(but status)",
"Bash(but --help:*)"
]
}
}
+1 -1
View File
@@ -23,7 +23,7 @@ repos:
- id: go-imports
args:
- -local
- git.unbound.se/unboundsoftware/shiny/presenter
- gitea.unbound.se/unboundsoftware/dbsetup
- repo: https://github.com/lietu/go-pre-commit
rev: v1.0.0
hooks:
+2 -2
View File
@@ -6,7 +6,7 @@ This file provides guidance to Claude Code (claude.ai/code) when working with co
**dbsetup** is a Go helper module for database connection pool initialization with OpenTelemetry (OTEL) instrumentation. It wraps database connections with OTEL to automatically add SQL queries to tracing spans.
- Module path: `git.unbound.se/unboundsoftware/dbsetup`
- Module path: `gitea.unbound.se/unboundsoftware/dbsetup`
- Primary dependencies: sqlx, goose (migrations), otelsqlx (OTEL wrapper)
## Common Commands
@@ -44,7 +44,7 @@ Single-package module with one source file (`database.go`):
Pre-commit hooks enforce:
- gofumpt formatting (stricter than gofmt)
- golangci-lint
- go-imports with local path `git.unbound.se/unboundsoftware/`
- go-imports with local path `gitea.unbound.se/unboundsoftware/`
- Conventional commits format (feat:, fix:, chore:, etc.)
- Gitleaks for secret detection
+1 -1
View File
@@ -1,4 +1,4 @@
module git.unbound.se/unboundsoftware/dbsetup
module gitea.unbound.se/unboundsoftware/dbsetup
go 1.24.4