From f1a91fdd40d80a14df26d7b82cf209d7829fcbeb Mon Sep 17 00:00:00 2001 From: Joakim Olsson Date: Fri, 9 Jan 2026 13:43:44 +0100 Subject: [PATCH] chore: migrate module path to gitea.unbound.se Update module path from git.unbound.se to gitea.unbound.se for Go module discovery over HTTPS. --- .claude/settings.local.json | 3 ++- .pre-commit-config.yaml | 2 +- CLAUDE.md | 4 ++-- go.mod | 2 +- 4 files changed, 6 insertions(+), 5 deletions(-) diff --git a/.claude/settings.local.json b/.claude/settings.local.json index 015e769..acb292c 100644 --- a/.claude/settings.local.json +++ b/.claude/settings.local.json @@ -9,7 +9,8 @@ "Bash(pre-commit run:*)", "Bash(go build:*)", "Bash(go test:*)", - "Bash(but status)" + "Bash(but status)", + "Bash(but --help:*)" ] } } diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index c296b35..8cac69d 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -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: diff --git a/CLAUDE.md b/CLAUDE.md index cf5d6f6..5ec80bd 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -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 diff --git a/go.mod b/go.mod index f155436..f999e46 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module git.unbound.se/unboundsoftware/dbsetup +module gitea.unbound.se/unboundsoftware/dbsetup go 1.24.4