From ebe2079a833fef7b5d001f58516e262db5db63cb Mon Sep 17 00:00:00 2001 From: Kyle Isom Date: Fri, 27 Mar 2026 02:03:45 -0700 Subject: [PATCH] Migrate module path from kyle/ to mc/ org All import paths updated from git.wntrmute.dev/kyle/mcdsl to git.wntrmute.dev/mc/mcdsl to match the Gitea organization. Co-Authored-By: Claude Opus 4.6 (1M context) --- ARCHITECTURE.md | 4 ++-- CLAUDE.md | 12 ++++++------ PROGRESS.md | 4 ++-- PROJECT_PLAN.md | 2 +- README.md | 10 +++++----- archive/archive.go | 2 +- archive/archive_test.go | 2 +- config/config.go | 2 +- go.mod | 2 +- grpcserver/server.go | 2 +- grpcserver/server_test.go | 2 +- health/health_test.go | 2 +- httpserver/server.go | 2 +- httpserver/server_test.go | 2 +- web/web.go | 2 +- web/web_test.go | 2 +- 16 files changed, 27 insertions(+), 27 deletions(-) diff --git a/ARCHITECTURE.md b/ARCHITECTURE.md index a60570a..b5f9907 100644 --- a/ARCHITECTURE.md +++ b/ARCHITECTURE.md @@ -27,7 +27,7 @@ problem, usable independently or together. ### Module Path ``` -git.wntrmute.dev/kyle/mcdsl +git.wntrmute.dev/mc/mcdsl ``` ### Dependencies @@ -39,7 +39,7 @@ git.wntrmute.dev/kyle/mcdsl | `github.com/pelletier/go-toml/v2` | TOML config parsing | | `google.golang.org/grpc` | gRPC server | | `github.com/klauspost/compress/zstd` | Zstandard compression for archives | -| `git.wntrmute.dev/kyle/mcias/clients/go` | MCIAS client library | +| `git.wntrmute.dev/mc/mcias/clients/go` | MCIAS client library | All dependencies are already used by existing services. MCDSL adds no new dependencies to the platform. diff --git a/CLAUDE.md b/CLAUDE.md index 1c66b35..c1a0793 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 MCDSL (Metacircular Dynamics Standard Library) is the shared Go library for the Metacircular platform. It extracts common patterns from production services into reusable, tested packages. MCDSL is not a deployed service — it is imported by other services. -**Module path:** `git.wntrmute.dev/kyle/mcdsl` +**Module path:** `git.wntrmute.dev/mc/mcdsl` ## Build Commands @@ -44,11 +44,11 @@ Services import individual packages with aliased imports: ```go import ( - mcdslauth "git.wntrmute.dev/kyle/mcdsl/auth" - mcdsldb "git.wntrmute.dev/kyle/mcdsl/db" - mcdslconfig "git.wntrmute.dev/kyle/mcdsl/config" - "git.wntrmute.dev/kyle/mcdsl/httpserver" - "git.wntrmute.dev/kyle/mcdsl/grpcserver" + mcdslauth "git.wntrmute.dev/mc/mcdsl/auth" + mcdsldb "git.wntrmute.dev/mc/mcdsl/db" + mcdslconfig "git.wntrmute.dev/mc/mcdsl/config" + "git.wntrmute.dev/mc/mcdsl/httpserver" + "git.wntrmute.dev/mc/mcdsl/grpcserver" ) ``` diff --git a/PROGRESS.md b/PROGRESS.md index a6fe4dd..d6d54b2 100644 --- a/PROGRESS.md +++ b/PROGRESS.md @@ -91,11 +91,11 @@ Remaining mcat-specific code: - `web/` — templates and static assets (unchanged) Dependencies removed: -- `git.wntrmute.dev/kyle/mcias/clients/go` (mcdsl/auth handles MCIAS directly) +- `git.wntrmute.dev/mc/mcias/clients/go` (mcdsl/auth handles MCIAS directly) - `github.com/pelletier/go-toml/v2` (now indirect via mcdsl/config) Dependencies added: -- `git.wntrmute.dev/kyle/mcdsl` (local replace directive) +- `git.wntrmute.dev/mc/mcdsl` (local replace directive) Result: vet clean, lint 0 issues, builds successfully. diff --git a/PROJECT_PLAN.md b/PROJECT_PLAN.md index f367e72..1907cc9 100644 --- a/PROJECT_PLAN.md +++ b/PROJECT_PLAN.md @@ -10,7 +10,7 @@ code first). ## Phase 0: Project Setup -- [ ] Initialize Go module (`git.wntrmute.dev/kyle/mcdsl`) +- [ ] Initialize Go module (`git.wntrmute.dev/mc/mcdsl`) - [ ] Create `.golangci.yaml` (matching platform standard) - [ ] Create `Makefile` with standard targets (build, test, vet, lint, all) - [ ] Create `.gitignore` diff --git a/README.md b/README.md index 7058ab9..9fa85cd 100644 --- a/README.md +++ b/README.md @@ -25,7 +25,7 @@ it and provide only their service-specific logic. ## Module Path ``` -git.wntrmute.dev/kyle/mcdsl +git.wntrmute.dev/mc/mcdsl ``` ## Packages @@ -46,10 +46,10 @@ git.wntrmute.dev/kyle/mcdsl ```go import ( - "git.wntrmute.dev/kyle/mcdsl/auth" - "git.wntrmute.dev/kyle/mcdsl/db" - "git.wntrmute.dev/kyle/mcdsl/config" - "git.wntrmute.dev/kyle/mcdsl/httpserver" + "git.wntrmute.dev/mc/mcdsl/auth" + "git.wntrmute.dev/mc/mcdsl/db" + "git.wntrmute.dev/mc/mcdsl/config" + "git.wntrmute.dev/mc/mcdsl/httpserver" ) // Load config with standard sections + service-specific fields. diff --git a/archive/archive.go b/archive/archive.go index 00fde70..57ba6c1 100644 --- a/archive/archive.go +++ b/archive/archive.go @@ -20,7 +20,7 @@ import ( "github.com/klauspost/compress/zstd" - "git.wntrmute.dev/kyle/mcdsl/db" + "git.wntrmute.dev/mc/mcdsl/db" ) // defaultExcludePatterns are always excluded from snapshots. diff --git a/archive/archive_test.go b/archive/archive_test.go index 3d2b651..1657f14 100644 --- a/archive/archive_test.go +++ b/archive/archive_test.go @@ -7,7 +7,7 @@ import ( "path/filepath" "testing" - "git.wntrmute.dev/kyle/mcdsl/db" + "git.wntrmute.dev/mc/mcdsl/db" ) // setupServiceDir creates a realistic /srv// directory. diff --git a/config/config.go b/config/config.go index 14772de..023a7ef 100644 --- a/config/config.go +++ b/config/config.go @@ -34,7 +34,7 @@ import ( "github.com/pelletier/go-toml/v2" - "git.wntrmute.dev/kyle/mcdsl/auth" + "git.wntrmute.dev/mc/mcdsl/auth" ) // Base contains the configuration sections common to all Metacircular diff --git a/go.mod b/go.mod index f2a40c2..2b30748 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module git.wntrmute.dev/kyle/mcdsl +module git.wntrmute.dev/mc/mcdsl go 1.25.7 diff --git a/grpcserver/server.go b/grpcserver/server.go index 1fba879..57d8588 100644 --- a/grpcserver/server.go +++ b/grpcserver/server.go @@ -21,7 +21,7 @@ import ( "google.golang.org/grpc/metadata" "google.golang.org/grpc/status" - "git.wntrmute.dev/kyle/mcdsl/auth" + "git.wntrmute.dev/mc/mcdsl/auth" ) // MethodMap classifies gRPC methods for access control. diff --git a/grpcserver/server_test.go b/grpcserver/server_test.go index 19d6be8..3a236e5 100644 --- a/grpcserver/server_test.go +++ b/grpcserver/server_test.go @@ -13,7 +13,7 @@ import ( "google.golang.org/grpc/metadata" "google.golang.org/grpc/status" - "git.wntrmute.dev/kyle/mcdsl/auth" + "git.wntrmute.dev/mc/mcdsl/auth" ) func mockMCIAS(t *testing.T) *httptest.Server { diff --git a/health/health_test.go b/health/health_test.go index 31fc325..1970368 100644 --- a/health/health_test.go +++ b/health/health_test.go @@ -10,7 +10,7 @@ import ( "google.golang.org/grpc" - "git.wntrmute.dev/kyle/mcdsl/db" + "git.wntrmute.dev/mc/mcdsl/db" ) func TestHandlerHealthy(t *testing.T) { diff --git a/httpserver/server.go b/httpserver/server.go index ead132e..696a6fd 100644 --- a/httpserver/server.go +++ b/httpserver/server.go @@ -13,7 +13,7 @@ import ( "github.com/go-chi/chi/v5" - "git.wntrmute.dev/kyle/mcdsl/config" + "git.wntrmute.dev/mc/mcdsl/config" ) // Server wraps a chi router and an http.Server with the standard diff --git a/httpserver/server_test.go b/httpserver/server_test.go index ad38385..7921194 100644 --- a/httpserver/server_test.go +++ b/httpserver/server_test.go @@ -9,7 +9,7 @@ import ( "testing" "time" - "git.wntrmute.dev/kyle/mcdsl/config" + "git.wntrmute.dev/mc/mcdsl/config" ) func testConfig() config.ServerConfig { diff --git a/web/web.go b/web/web.go index 5dc8e34..58fe8c1 100644 --- a/web/web.go +++ b/web/web.go @@ -8,7 +8,7 @@ import ( "io/fs" "net/http" - "git.wntrmute.dev/kyle/mcdsl/auth" + "git.wntrmute.dev/mc/mcdsl/auth" ) // SetSessionCookie sets a session cookie with the standard Metacircular diff --git a/web/web_test.go b/web/web_test.go index 5ce7b64..bf6e6bf 100644 --- a/web/web_test.go +++ b/web/web_test.go @@ -9,7 +9,7 @@ import ( "testing" "testing/fstest" - "git.wntrmute.dev/kyle/mcdsl/auth" + "git.wntrmute.dev/mc/mcdsl/auth" ) func TestSetSessionCookie(t *testing.T) {