From 7bc9f5c2fa2eed60937910b75a869eec8eab5465 Mon Sep 17 00:00:00 2001 From: Joakim Olsson Date: Sat, 17 Oct 2026 19:54:58 +0200 Subject: [PATCH] feat: move module path to git.unbound.se The module is now git.unbound.se/unboundsoftware/dbsetup. The API is unchanged. Tags up to v0.1.4 declare gitea.unbound.se/unboundsoftware/dbsetup and stay resolvable through that alias. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01Kko4x3MYEcWMMdkx12WpBa --- .pre-commit-config.yaml | 2 +- CLAUDE.md | 4 ++-- go.mod | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 67f1b3c..eed0a5e 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -23,7 +23,7 @@ repos: - id: go-imports args: - -local - - gitea.unbound.se/unboundsoftware/dbsetup + - git.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 892391e..a88c8bf 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: `gitea.unbound.se/unboundsoftware/dbsetup` +- Module path: `git.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 `gitea.unbound.se/unboundsoftware/` +- go-imports with local path `git.unbound.se/unboundsoftware/` - Conventional commits format (feat:, fix:, chore:, etc.) - Gitleaks for secret detection diff --git a/go.mod b/go.mod index 2a72758..82e8f34 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module gitea.unbound.se/unboundsoftware/dbsetup +module git.unbound.se/unboundsoftware/dbsetup go 1.26.0 -- 2.54.0