From bb64608120bf5ccfcdfa2408fe40d1310a85e49a Mon Sep 17 00:00:00 2001 From: Snider Date: Sun, 22 Mar 2026 01:53:16 +0000 Subject: [PATCH] refactor(module): migrate module path to dappco.re/go/core/build Update go.mod module declaration, all require lines, and .go import paths from forge.lthn.ai to dappco.re. Dependencies updated: core v0.5.0, log v0.1.0, io v0.2.0. Replace directives added for local module resolution. forge.lthn.ai/core/cli and go-inference retained at old paths (not yet migrated). Co-Authored-By: Virgil --- .gitignore | 4 +++- CLAUDE.md | 16 ++++++------- cmd/build/cmd_build.go | 4 ++-- cmd/build/cmd_project.go | 12 +++++----- cmd/build/cmd_pwa.go | 6 ++--- cmd/build/cmd_release.go | 12 +++++----- cmd/build/cmd_sdk.go | 6 ++--- cmd/ci/ci.go | 6 ++--- cmd/sdk/cmd.go | 6 ++--- go.mod | 28 ++++++++++++++++------ go.sum | 14 ++--------- locales/embed.go | 2 +- pkg/api/provider.go | 16 ++++++------- pkg/api/provider_test.go | 2 +- pkg/build/archive.go | 4 ++-- pkg/build/archive_test.go | 2 +- pkg/build/build.go | 2 +- pkg/build/builders/cpp.go | 6 ++--- pkg/build/builders/cpp_test.go | 4 ++-- pkg/build/builders/docker.go | 6 ++--- pkg/build/builders/docker_test.go | 4 ++-- pkg/build/builders/go.go | 6 ++--- pkg/build/builders/go_test.go | 4 ++-- pkg/build/builders/linuxkit.go | 6 ++--- pkg/build/builders/linuxkit_test.go | 4 ++-- pkg/build/builders/taskfile.go | 6 ++--- pkg/build/builders/taskfile_test.go | 4 ++-- pkg/build/builders/wails.go | 6 ++--- pkg/build/builders/wails_test.go | 4 ++-- pkg/build/checksum.go | 4 ++-- pkg/build/checksum_test.go | 2 +- pkg/build/config.go | 6 ++--- pkg/build/config_test.go | 2 +- pkg/build/discovery.go | 2 +- pkg/build/discovery_test.go | 2 +- pkg/build/signing/codesign.go | 4 ++-- pkg/build/signing/codesign_test.go | 2 +- pkg/build/signing/gpg.go | 4 ++-- pkg/build/signing/gpg_test.go | 2 +- pkg/build/signing/sign.go | 4 ++-- pkg/build/signing/signer.go | 2 +- pkg/build/signing/signing_test.go | 2 +- pkg/build/signing/signtool.go | 2 +- pkg/release/changelog.go | 2 +- pkg/release/config.go | 4 ++-- pkg/release/publishers/aur.go | 6 ++--- pkg/release/publishers/aur_test.go | 2 +- pkg/release/publishers/chocolatey.go | 8 +++---- pkg/release/publishers/chocolatey_test.go | 2 +- pkg/release/publishers/docker.go | 2 +- pkg/release/publishers/docker_test.go | 2 +- pkg/release/publishers/github.go | 2 +- pkg/release/publishers/github_test.go | 4 ++-- pkg/release/publishers/homebrew.go | 6 ++--- pkg/release/publishers/homebrew_test.go | 4 ++-- pkg/release/publishers/integration_test.go | 4 ++-- pkg/release/publishers/linuxkit.go | 2 +- pkg/release/publishers/linuxkit_test.go | 2 +- pkg/release/publishers/npm.go | 4 ++-- pkg/release/publishers/npm_test.go | 2 +- pkg/release/publishers/publisher.go | 4 ++-- pkg/release/publishers/scoop.go | 6 ++--- pkg/release/publishers/scoop_test.go | 2 +- pkg/release/release.go | 10 ++++---- pkg/release/release_test.go | 4 ++-- pkg/release/sdk.go | 4 ++-- pkg/release/version.go | 2 +- pkg/sdk/detect.go | 4 ++-- pkg/sdk/diff.go | 2 +- pkg/sdk/generation_test.go | 2 +- pkg/sdk/generators/go.go | 4 ++-- pkg/sdk/generators/php.go | 4 ++-- pkg/sdk/generators/python.go | 4 ++-- pkg/sdk/generators/typescript.go | 4 ++-- pkg/sdk/sdk.go | 4 ++-- 75 files changed, 183 insertions(+), 177 deletions(-) diff --git a/.gitignore b/.gitignore index 815e1fa..cdc6f76 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,4 @@ -.core/ .idea/ +.vscode/ +*.log +.core/ diff --git a/CLAUDE.md b/CLAUDE.md index 278880b..0832bf4 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -4,7 +4,7 @@ This file provides guidance to Claude Code (claude.ai/code) when working with co ## Project Overview -`core/go-build` is the build system, release pipeline, and SDK generation tool for the Core ecosystem. Three subsystems under `pkg/` — **build**, **release**, **sdk** — can be used as libraries or wired together via CLI commands in `cmd/`. This repo produces no standalone binary; `cmd/` packages register commands via `cli.RegisterCommands()` in `init()` functions, compiled into the `core` binary from `forge.lthn.ai/core/cli`. +`core/go-build` is the build system, release pipeline, and SDK generation tool for the Core ecosystem. Three subsystems under `pkg/` — **build**, **release**, **sdk** — can be used as libraries or wired together via CLI commands in `cmd/`. This repo produces no standalone binary; `cmd/` packages register commands via `cli.RegisterCommands()` in `init()` functions, compiled into the `core` binary from `forge.lthn.ai/core/cli`. Module path: `dappco.re/go/core/build`. ## Build & Test @@ -15,7 +15,7 @@ go test ./pkg/build/... -run TestLoadConfig_Good # single test by name go test -race ./... # with race detection ``` -**Go workspace**: this module is part of `~/Code/go.work`. Run `go work sync` after cloning. Set `GOPRIVATE=forge.lthn.ai/*` for private module fetching. +**Go workspace**: this module is part of `~/Code/go.work`. Run `go work sync` after cloning. Set `GOPRIVATE=dappco.re/*,forge.lthn.ai/*` for private module fetching. ## Architecture @@ -49,7 +49,7 @@ project dir -> Discover() -> ProjectType -> getBuilder() -> Builder.Build ### Filesystem Abstraction -All file operations use `io.Medium` from `forge.lthn.ai/core/go-io`. Production uses `io.Local`; tests inject mocks for isolation. +All file operations use `io.Medium` from `dappco.re/go/core/io`. Production uses `io.Local`; tests inject mocks for isolation. ### Configuration Files @@ -60,7 +60,7 @@ All file operations use `io.Medium` from `forge.lthn.ai/core/go-io`. Production - **UK English** in comments and strings (colour, organisation, notarisation) - **Strict types** — all parameters and return types explicitly typed -- **Error wrapping** — `coreerr.E("package.Function", "message", err)` via `coreerr "forge.lthn.ai/core/go-log"` +- **Error wrapping** — `coreerr.E("package.Function", "message", err)` via `coreerr "dappco.re/go/core/log"` - **testify** (`assert`/`require`) for assertions - **Test naming** — `_Good` (happy path), `_Bad` (expected errors), `_Ugly` (edge cases) - **Conventional commits** — `type(scope): description` @@ -76,9 +76,9 @@ All file operations use `io.Medium` from `forge.lthn.ai/core/go-io`. Production ## Dependencies -- `forge.lthn.ai/core/cli` — Command registration (`cli.RegisterCommands`, `cli.Command`) -- `forge.lthn.ai/core/go-io` — Filesystem abstraction (`io.Medium`, `io.Local`) -- `forge.lthn.ai/core/go-i18n` — Internationalisation (`i18n.T()`, `i18n.Label()`) -- `forge.lthn.ai/core/go-log` — Structured logging +- `forge.lthn.ai/core/cli` — Command registration (`cli.RegisterCommands`, `cli.Command`) *(not yet migrated)* +- `dappco.re/go/core/io` — Filesystem abstraction (`io.Medium`, `io.Local`) +- `dappco.re/go/core/i18n` — Internationalisation (`i18n.T()`, `i18n.Label()`) +- `dappco.re/go/core/log` — Structured logging - `github.com/Snider/Borg` — XZ compression for archives - `github.com/getkin/kin-openapi` + `github.com/oasdiff/oasdiff` — OpenAPI parsing and diff diff --git a/cmd/build/cmd_build.go b/cmd/build/cmd_build.go index 58176fe..07974ed 100644 --- a/cmd/build/cmd_build.go +++ b/cmd/build/cmd_build.go @@ -4,9 +4,9 @@ package buildcmd import ( "embed" + _ "dappco.re/go/core/build/locales" // registers locale translations + "dappco.re/go/core/i18n" "forge.lthn.ai/core/cli/pkg/cli" - _ "forge.lthn.ai/core/go-build/locales" // registers locale translations - "forge.lthn.ai/core/go-i18n" ) func init() { diff --git a/cmd/build/cmd_project.go b/cmd/build/cmd_project.go index ed81f7a..1e32a64 100644 --- a/cmd/build/cmd_project.go +++ b/cmd/build/cmd_project.go @@ -14,12 +14,12 @@ import ( "runtime" "strings" - "forge.lthn.ai/core/go-build/pkg/build" - "forge.lthn.ai/core/go-build/pkg/build/builders" - "forge.lthn.ai/core/go-build/pkg/build/signing" - "forge.lthn.ai/core/go-i18n" - "forge.lthn.ai/core/go-io" - coreerr "forge.lthn.ai/core/go-log" + "dappco.re/go/core/build/pkg/build" + "dappco.re/go/core/build/pkg/build/builders" + "dappco.re/go/core/build/pkg/build/signing" + "dappco.re/go/core/i18n" + "dappco.re/go/core/io" + coreerr "dappco.re/go/core/log" ) // runProjectBuild handles the main `core build` command with auto-detection. diff --git a/cmd/build/cmd_pwa.go b/cmd/build/cmd_pwa.go index 6444783..fe1a8a1 100644 --- a/cmd/build/cmd_pwa.go +++ b/cmd/build/cmd_pwa.go @@ -17,9 +17,9 @@ import ( "path/filepath" "strings" - "forge.lthn.ai/core/go-i18n" - coreio "forge.lthn.ai/core/go-io" - coreerr "forge.lthn.ai/core/go-log" + "dappco.re/go/core/i18n" + coreio "dappco.re/go/core/io" + coreerr "dappco.re/go/core/log" "github.com/leaanthony/debme" "github.com/leaanthony/gosod" "golang.org/x/net/html" diff --git a/cmd/build/cmd_release.go b/cmd/build/cmd_release.go index 61871d0..bbec186 100644 --- a/cmd/build/cmd_release.go +++ b/cmd/build/cmd_release.go @@ -6,10 +6,10 @@ import ( "context" "os" + "dappco.re/go/core/build/pkg/release" + "dappco.re/go/core/i18n" + coreerr "dappco.re/go/core/log" "forge.lthn.ai/core/cli/pkg/cli" - "forge.lthn.ai/core/go-log" - "forge.lthn.ai/core/go-i18n" - "forge.lthn.ai/core/go-build/pkg/release" ) // Flag variables for release command @@ -51,7 +51,7 @@ func runRelease(ctx context.Context, dryRun bool, version string, draft, prerele // Get current directory projectDir, err := os.Getwd() if err != nil { - return log.E("release", "get working directory", err) + return coreerr.E("release", "get working directory", err) } // Check for release config @@ -61,13 +61,13 @@ func runRelease(ctx context.Context, dryRun bool, version string, draft, prerele i18n.T("cmd.build.release.error.no_config"), ) cli.Print(" %s\n", buildDimStyle.Render(i18n.T("cmd.build.release.hint.create_config"))) - return log.E("release", "config not found", nil) + return coreerr.E("release", "config not found", nil) } // Load configuration cfg, err := release.LoadConfig(projectDir) if err != nil { - return log.E("release", "load config", err) + return coreerr.E("release", "load config", err) } // Apply CLI overrides diff --git a/cmd/build/cmd_sdk.go b/cmd/build/cmd_sdk.go index f6031a6..9320c0a 100644 --- a/cmd/build/cmd_sdk.go +++ b/cmd/build/cmd_sdk.go @@ -11,9 +11,9 @@ import ( "os" "strings" - "forge.lthn.ai/core/go-build/pkg/sdk" - "forge.lthn.ai/core/go-i18n" - coreerr "forge.lthn.ai/core/go-log" + "dappco.re/go/core/build/pkg/sdk" + "dappco.re/go/core/i18n" + coreerr "dappco.re/go/core/log" ) // runBuildSDK handles the `core build sdk` command. diff --git a/cmd/ci/ci.go b/cmd/ci/ci.go index c976417..5108200 100644 --- a/cmd/ci/ci.go +++ b/cmd/ci/ci.go @@ -6,10 +6,10 @@ import ( "os/exec" "strings" + "dappco.re/go/core/build/pkg/release" + "dappco.re/go/core/i18n" + coreerr "dappco.re/go/core/log" "forge.lthn.ai/core/cli/pkg/cli" - "forge.lthn.ai/core/go-i18n" - "forge.lthn.ai/core/go-build/pkg/release" - coreerr "forge.lthn.ai/core/go-log" ) // Style aliases from shared diff --git a/cmd/sdk/cmd.go b/cmd/sdk/cmd.go index 92c139f..acb9421 100644 --- a/cmd/sdk/cmd.go +++ b/cmd/sdk/cmd.go @@ -10,10 +10,10 @@ package sdkcmd import ( "os" + "dappco.re/go/core/build/pkg/sdk" + "dappco.re/go/core/i18n" + coreerr "dappco.re/go/core/log" "forge.lthn.ai/core/cli/pkg/cli" - "forge.lthn.ai/core/go-build/pkg/sdk" - "forge.lthn.ai/core/go-i18n" - coreerr "forge.lthn.ai/core/go-log" ) func init() { diff --git a/go.mod b/go.mod index 8a43491..2b400da 100644 --- a/go.mod +++ b/go.mod @@ -1,14 +1,14 @@ -module forge.lthn.ai/core/go-build +module dappco.re/go/core/build go 1.26.0 require ( - forge.lthn.ai/core/api v0.1.5 + dappco.re/go/core/api v0.1.5 + dappco.re/go/core/i18n v0.1.7 + dappco.re/go/core/io v0.2.0 + dappco.re/go/core/log v0.1.0 + dappco.re/go/core/ws v0.2.5 forge.lthn.ai/core/cli v0.3.7 - forge.lthn.ai/core/go-i18n v0.1.7 - forge.lthn.ai/core/go-io v0.1.7 - forge.lthn.ai/core/go-log v0.0.4 - forge.lthn.ai/core/go-ws v0.2.5 github.com/Snider/Borg v0.2.0 github.com/gin-gonic/gin v1.12.0 github.com/leaanthony/debme v1.2.1 @@ -23,8 +23,11 @@ require ( require ( cloud.google.com/go v0.123.0 // indirect - forge.lthn.ai/core/go v0.3.3 // indirect + dappco.re/go/core v0.5.0 // indirect + forge.lthn.ai/core/go v0.3.2 // indirect + forge.lthn.ai/core/go-i18n v0.1.7 // indirect forge.lthn.ai/core/go-inference v0.1.7 // indirect + forge.lthn.ai/core/go-log v0.0.4 // indirect github.com/99designs/gqlgen v0.17.88 // indirect github.com/KyleBanks/depth v1.2.1 // indirect github.com/TwiN/go-color v1.4.1 // indirect @@ -152,3 +155,14 @@ require ( golang.org/x/tools v0.43.0 // indirect google.golang.org/protobuf v1.36.11 // indirect ) + +replace ( + dappco.re/go/core => /Users/snider/Code/core/go + dappco.re/go/core/api => /Users/snider/Code/core/api + dappco.re/go/core/i18n => /Users/snider/Code/core/go-i18n + dappco.re/go/core/io => /Users/snider/Code/core/go-io + dappco.re/go/core/log => /Users/snider/Code/core/go-log + dappco.re/go/core/ws => /Users/snider/Code/core/go-ws + forge.lthn.ai/core/cli => /Users/snider/Code/core/cli + forge.lthn.ai/core/go-inference => /Users/snider/Code/core/go-inference +) diff --git a/go.sum b/go.sum index 10ad3b7..95f2039 100644 --- a/go.sum +++ b/go.sum @@ -1,21 +1,11 @@ cloud.google.com/go v0.123.0 h1:2NAUJwPR47q+E35uaJeYoNhuNEM9kM8SjgRgdeOJUSE= cloud.google.com/go v0.123.0/go.mod h1:xBoMV08QcqUGuPW65Qfm1o9Y4zKZBpGS+7bImXLTAZU= -forge.lthn.ai/core/api v0.1.5 h1:NwZrcOyBjaiz5/cn0n0tnlMUodi8Or6FHMx59C7Kv2o= -forge.lthn.ai/core/api v0.1.5/go.mod h1:PBnaWyOVXSOGy+0x2XAPUFMYJxQ2CNhppia/D06ZPII= -forge.lthn.ai/core/cli v0.3.7 h1:1GrbaGg0wDGHr6+klSbbGyN/9sSbHvFbdySJznymhwg= -forge.lthn.ai/core/cli v0.3.7/go.mod h1:DBUppJkA9P45ZFGgI2B8VXw1rAZxamHoI/KG7fRvTNs= -forge.lthn.ai/core/go v0.3.3 h1:kYYZ2nRYy0/Be3cyuLJspRjLqTMxpckVyhb/7Sw2gd0= -forge.lthn.ai/core/go v0.3.3/go.mod h1:Cp4ac25pghvO2iqOu59t1GyngTKVOzKB5/VPdhRi9CQ= +forge.lthn.ai/core/go v0.3.2 h1:VB9pW6ggqBhe438cjfE2iSI5Lg+62MmRbaOFglZM+nQ= +forge.lthn.ai/core/go v0.3.2/go.mod h1:f7/zb3Labn4ARfwTq5Bi2AFHY+uxyPHozO+hLb54eFo= forge.lthn.ai/core/go-i18n v0.1.7 h1:aHkAoc3W8fw3RPNvw/UszQbjyFWXHszzbZgty3SwyAA= forge.lthn.ai/core/go-i18n v0.1.7/go.mod h1:0VDjwtY99NSj2iqwrI09h5GUsJeM9s48MLkr+/Dn4G8= -forge.lthn.ai/core/go-inference v0.1.7 h1:9Dy6v03jX5ZRH3n5iTzlYyGtucuBIgSe+S7GWvBzx9Q= -forge.lthn.ai/core/go-inference v0.1.7/go.mod h1:jfWz+IJX55wAH98+ic6FEqqGB6/P31CHlg7VY7pxREw= -forge.lthn.ai/core/go-io v0.1.7 h1:Tdb6sqh+zz1lsGJaNX9RFWM6MJ/RhSAyxfulLXrJsbk= -forge.lthn.ai/core/go-io v0.1.7/go.mod h1:8lRLFk4Dnp5cR/Cyzh9WclD5566TbpdRgwcH7UZLWn4= forge.lthn.ai/core/go-log v0.0.4 h1:KTuCEPgFmuM8KJfnyQ8vPOU1Jg654W74h8IJvfQMfv0= forge.lthn.ai/core/go-log v0.0.4/go.mod h1:r14MXKOD3LF/sI8XUJQhRk/SZHBE7jAFVuCfgkXoZPw= -forge.lthn.ai/core/go-ws v0.2.5 h1:ZIV7Yrv01R/xpJUogA5vrfP9yB9li1w7EV3eZFMt8h0= -forge.lthn.ai/core/go-ws v0.2.5/go.mod h1:C3riJyLLcV6QhLvYlq3P/XkGTsN598qQeGBoLdoHBU4= github.com/99designs/gqlgen v0.17.88 h1:neMQDgehMwT1vYIOx/w5ZYPUU/iMNAJzRO44I5Intoc= github.com/99designs/gqlgen v0.17.88/go.mod h1:qeqYFEgOeSKqWedOjogPizimp2iu4E23bdPvl4jTYic= github.com/KyleBanks/depth v1.2.1 h1:5h8fQADFrWtarTdtDudMmGsC7GPbOAu6RVB3ffsVFHc= diff --git a/locales/embed.go b/locales/embed.go index ac9a964..1fa659a 100644 --- a/locales/embed.go +++ b/locales/embed.go @@ -4,7 +4,7 @@ package locales import ( "embed" - "forge.lthn.ai/core/go-i18n" + "dappco.re/go/core/i18n" ) //go:embed *.json diff --git a/pkg/api/provider.go b/pkg/api/provider.go index f107403..645c923 100644 --- a/pkg/api/provider.go +++ b/pkg/api/provider.go @@ -10,14 +10,14 @@ import ( "os" "path/filepath" - "forge.lthn.ai/core/api" - "forge.lthn.ai/core/api/pkg/provider" - "forge.lthn.ai/core/go-build/pkg/build" - "forge.lthn.ai/core/go-build/pkg/build/builders" - "forge.lthn.ai/core/go-build/pkg/release" - "forge.lthn.ai/core/go-build/pkg/sdk" - "forge.lthn.ai/core/go-io" - "forge.lthn.ai/core/go-ws" + "dappco.re/go/core/api" + "dappco.re/go/core/api/pkg/provider" + "dappco.re/go/core/build/pkg/build" + "dappco.re/go/core/build/pkg/build/builders" + "dappco.re/go/core/build/pkg/release" + "dappco.re/go/core/build/pkg/sdk" + "dappco.re/go/core/io" + "dappco.re/go/core/ws" "github.com/gin-gonic/gin" ) diff --git a/pkg/api/provider_test.go b/pkg/api/provider_test.go index d559b8d..aca88c4 100644 --- a/pkg/api/provider_test.go +++ b/pkg/api/provider_test.go @@ -6,7 +6,7 @@ import ( "os" "testing" - "forge.lthn.ai/core/go-build/pkg/build" + "dappco.re/go/core/build/pkg/build" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/pkg/build/archive.go b/pkg/build/archive.go index 8916004..58af1c4 100644 --- a/pkg/build/archive.go +++ b/pkg/build/archive.go @@ -11,8 +11,8 @@ import ( "path/filepath" "strings" - io_interface "forge.lthn.ai/core/go-io" - coreerr "forge.lthn.ai/core/go-log" + io_interface "dappco.re/go/core/io" + coreerr "dappco.re/go/core/log" "github.com/Snider/Borg/pkg/compress" ) diff --git a/pkg/build/archive_test.go b/pkg/build/archive_test.go index 934c9e8..b0e475d 100644 --- a/pkg/build/archive_test.go +++ b/pkg/build/archive_test.go @@ -10,8 +10,8 @@ import ( "path/filepath" "testing" + io_interface "dappco.re/go/core/io" "github.com/Snider/Borg/pkg/compress" - io_interface "forge.lthn.ai/core/go-io" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/pkg/build/build.go b/pkg/build/build.go index d487a66..783db1f 100644 --- a/pkg/build/build.go +++ b/pkg/build/build.go @@ -6,7 +6,7 @@ package build import ( "context" - "forge.lthn.ai/core/go-io" + "dappco.re/go/core/io" ) // ProjectType represents a detected project type. diff --git a/pkg/build/builders/cpp.go b/pkg/build/builders/cpp.go index c2ba7fc..f2ff572 100644 --- a/pkg/build/builders/cpp.go +++ b/pkg/build/builders/cpp.go @@ -10,9 +10,9 @@ import ( "runtime" "strings" - "forge.lthn.ai/core/go-build/pkg/build" - "forge.lthn.ai/core/go-io" - coreerr "forge.lthn.ai/core/go-log" + "dappco.re/go/core/build/pkg/build" + "dappco.re/go/core/io" + coreerr "dappco.re/go/core/log" ) // CPPBuilder implements the Builder interface for C++ projects using CMake + Conan. diff --git a/pkg/build/builders/cpp_test.go b/pkg/build/builders/cpp_test.go index cddcd89..e90bc3f 100644 --- a/pkg/build/builders/cpp_test.go +++ b/pkg/build/builders/cpp_test.go @@ -5,8 +5,8 @@ import ( "path/filepath" "testing" - "forge.lthn.ai/core/go-build/pkg/build" - "forge.lthn.ai/core/go-io" + "dappco.re/go/core/build/pkg/build" + "dappco.re/go/core/io" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/pkg/build/builders/docker.go b/pkg/build/builders/docker.go index beb7cfd..7025bce 100644 --- a/pkg/build/builders/docker.go +++ b/pkg/build/builders/docker.go @@ -9,9 +9,9 @@ import ( "path/filepath" "strings" - "forge.lthn.ai/core/go-build/pkg/build" - "forge.lthn.ai/core/go-io" - coreerr "forge.lthn.ai/core/go-log" + "dappco.re/go/core/build/pkg/build" + "dappco.re/go/core/io" + coreerr "dappco.re/go/core/log" ) // DockerBuilder builds Docker images. diff --git a/pkg/build/builders/docker_test.go b/pkg/build/builders/docker_test.go index 1471de3..9982d32 100644 --- a/pkg/build/builders/docker_test.go +++ b/pkg/build/builders/docker_test.go @@ -5,8 +5,8 @@ import ( "path/filepath" "testing" - "forge.lthn.ai/core/go-build/pkg/build" - "forge.lthn.ai/core/go-io" + "dappco.re/go/core/build/pkg/build" + "dappco.re/go/core/io" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/pkg/build/builders/go.go b/pkg/build/builders/go.go index a8f32ab..186c984 100644 --- a/pkg/build/builders/go.go +++ b/pkg/build/builders/go.go @@ -9,9 +9,9 @@ import ( "path/filepath" "strings" - "forge.lthn.ai/core/go-build/pkg/build" - "forge.lthn.ai/core/go-io" - coreerr "forge.lthn.ai/core/go-log" + "dappco.re/go/core/build/pkg/build" + "dappco.re/go/core/io" + coreerr "dappco.re/go/core/log" ) // GoBuilder implements the Builder interface for Go projects. diff --git a/pkg/build/builders/go_test.go b/pkg/build/builders/go_test.go index 44e1572..7eeb8cd 100644 --- a/pkg/build/builders/go_test.go +++ b/pkg/build/builders/go_test.go @@ -7,8 +7,8 @@ import ( "runtime" "testing" - "forge.lthn.ai/core/go-build/pkg/build" - "forge.lthn.ai/core/go-io" + "dappco.re/go/core/build/pkg/build" + "dappco.re/go/core/io" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/pkg/build/builders/linuxkit.go b/pkg/build/builders/linuxkit.go index ef254fe..3cb5907 100644 --- a/pkg/build/builders/linuxkit.go +++ b/pkg/build/builders/linuxkit.go @@ -9,9 +9,9 @@ import ( "path/filepath" "strings" - "forge.lthn.ai/core/go-build/pkg/build" - "forge.lthn.ai/core/go-io" - coreerr "forge.lthn.ai/core/go-log" + "dappco.re/go/core/build/pkg/build" + "dappco.re/go/core/io" + coreerr "dappco.re/go/core/log" ) // LinuxKitBuilder builds LinuxKit images. diff --git a/pkg/build/builders/linuxkit_test.go b/pkg/build/builders/linuxkit_test.go index 1528406..1315d91 100644 --- a/pkg/build/builders/linuxkit_test.go +++ b/pkg/build/builders/linuxkit_test.go @@ -5,8 +5,8 @@ import ( "path/filepath" "testing" - "forge.lthn.ai/core/go-build/pkg/build" - "forge.lthn.ai/core/go-io" + "dappco.re/go/core/build/pkg/build" + "dappco.re/go/core/io" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/pkg/build/builders/taskfile.go b/pkg/build/builders/taskfile.go index de68e87..0a36906 100644 --- a/pkg/build/builders/taskfile.go +++ b/pkg/build/builders/taskfile.go @@ -9,9 +9,9 @@ import ( "path/filepath" "strings" - "forge.lthn.ai/core/go-build/pkg/build" - "forge.lthn.ai/core/go-io" - coreerr "forge.lthn.ai/core/go-log" + "dappco.re/go/core/build/pkg/build" + "dappco.re/go/core/io" + coreerr "dappco.re/go/core/log" ) // TaskfileBuilder builds projects using Taskfile (https://taskfile.dev/). diff --git a/pkg/build/builders/taskfile_test.go b/pkg/build/builders/taskfile_test.go index 8c6a15a..96810f1 100644 --- a/pkg/build/builders/taskfile_test.go +++ b/pkg/build/builders/taskfile_test.go @@ -5,8 +5,8 @@ import ( "path/filepath" "testing" - "forge.lthn.ai/core/go-build/pkg/build" - "forge.lthn.ai/core/go-io" + "dappco.re/go/core/build/pkg/build" + "dappco.re/go/core/io" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/pkg/build/builders/wails.go b/pkg/build/builders/wails.go index 4e40e16..7d135dc 100644 --- a/pkg/build/builders/wails.go +++ b/pkg/build/builders/wails.go @@ -8,9 +8,9 @@ import ( "path/filepath" "strings" - "forge.lthn.ai/core/go-build/pkg/build" - "forge.lthn.ai/core/go-io" - coreerr "forge.lthn.ai/core/go-log" + "dappco.re/go/core/build/pkg/build" + "dappco.re/go/core/io" + coreerr "dappco.re/go/core/log" ) // WailsBuilder implements the Builder interface for Wails v3 projects. diff --git a/pkg/build/builders/wails_test.go b/pkg/build/builders/wails_test.go index 24f5104..09243bd 100644 --- a/pkg/build/builders/wails_test.go +++ b/pkg/build/builders/wails_test.go @@ -8,8 +8,8 @@ import ( "runtime" "testing" - "forge.lthn.ai/core/go-build/pkg/build" - "forge.lthn.ai/core/go-io" + "dappco.re/go/core/build/pkg/build" + "dappco.re/go/core/io" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/pkg/build/checksum.go b/pkg/build/checksum.go index 4d060a0..f596452 100644 --- a/pkg/build/checksum.go +++ b/pkg/build/checksum.go @@ -11,8 +11,8 @@ import ( "strings" - io_interface "forge.lthn.ai/core/go-io" - coreerr "forge.lthn.ai/core/go-log" + io_interface "dappco.re/go/core/io" + coreerr "dappco.re/go/core/log" ) // Checksum computes SHA256 for an artifact and returns the artifact with the Checksum field filled. diff --git a/pkg/build/checksum_test.go b/pkg/build/checksum_test.go index bf7c892..78f4ddc 100644 --- a/pkg/build/checksum_test.go +++ b/pkg/build/checksum_test.go @@ -6,7 +6,7 @@ import ( "strings" "testing" - "forge.lthn.ai/core/go-io" + "dappco.re/go/core/io" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/pkg/build/config.go b/pkg/build/config.go index 6c163ae..ea761f6 100644 --- a/pkg/build/config.go +++ b/pkg/build/config.go @@ -7,9 +7,9 @@ import ( "os" "path/filepath" - "forge.lthn.ai/core/go-build/pkg/build/signing" - "forge.lthn.ai/core/go-io" - coreerr "forge.lthn.ai/core/go-log" + "dappco.re/go/core/build/pkg/build/signing" + "dappco.re/go/core/io" + coreerr "dappco.re/go/core/log" "gopkg.in/yaml.v3" ) diff --git a/pkg/build/config_test.go b/pkg/build/config_test.go index 0f079b2..552eec8 100644 --- a/pkg/build/config_test.go +++ b/pkg/build/config_test.go @@ -5,7 +5,7 @@ import ( "path/filepath" "testing" - "forge.lthn.ai/core/go-io" + "dappco.re/go/core/io" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/pkg/build/discovery.go b/pkg/build/discovery.go index 61b50f6..4770336 100644 --- a/pkg/build/discovery.go +++ b/pkg/build/discovery.go @@ -4,7 +4,7 @@ import ( "path/filepath" "slices" - "forge.lthn.ai/core/go-io" + "dappco.re/go/core/io" ) // Marker files for project type detection. diff --git a/pkg/build/discovery_test.go b/pkg/build/discovery_test.go index 4ed49f2..a4653aa 100644 --- a/pkg/build/discovery_test.go +++ b/pkg/build/discovery_test.go @@ -5,7 +5,7 @@ import ( "path/filepath" "testing" - "forge.lthn.ai/core/go-io" + "dappco.re/go/core/io" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/pkg/build/signing/codesign.go b/pkg/build/signing/codesign.go index 5357759..a2d01fe 100644 --- a/pkg/build/signing/codesign.go +++ b/pkg/build/signing/codesign.go @@ -5,8 +5,8 @@ import ( "os/exec" "runtime" - "forge.lthn.ai/core/go-io" - coreerr "forge.lthn.ai/core/go-log" + "dappco.re/go/core/io" + coreerr "dappco.re/go/core/log" ) // MacOSSigner signs binaries using macOS codesign. diff --git a/pkg/build/signing/codesign_test.go b/pkg/build/signing/codesign_test.go index 333ac37..863bec0 100644 --- a/pkg/build/signing/codesign_test.go +++ b/pkg/build/signing/codesign_test.go @@ -5,7 +5,7 @@ import ( "runtime" "testing" - "forge.lthn.ai/core/go-io" + "dappco.re/go/core/io" "github.com/stretchr/testify/assert" ) diff --git a/pkg/build/signing/gpg.go b/pkg/build/signing/gpg.go index 4170810..9106482 100644 --- a/pkg/build/signing/gpg.go +++ b/pkg/build/signing/gpg.go @@ -4,8 +4,8 @@ import ( "context" "os/exec" - "forge.lthn.ai/core/go-io" - coreerr "forge.lthn.ai/core/go-log" + "dappco.re/go/core/io" + coreerr "dappco.re/go/core/log" ) // GPGSigner signs files using GPG. diff --git a/pkg/build/signing/gpg_test.go b/pkg/build/signing/gpg_test.go index f85f697..b67cda8 100644 --- a/pkg/build/signing/gpg_test.go +++ b/pkg/build/signing/gpg_test.go @@ -4,7 +4,7 @@ import ( "context" "testing" - "forge.lthn.ai/core/go-io" + "dappco.re/go/core/io" "github.com/stretchr/testify/assert" ) diff --git a/pkg/build/signing/sign.go b/pkg/build/signing/sign.go index 0539999..5c39e49 100644 --- a/pkg/build/signing/sign.go +++ b/pkg/build/signing/sign.go @@ -5,8 +5,8 @@ import ( "fmt" "runtime" - "forge.lthn.ai/core/go-io" - coreerr "forge.lthn.ai/core/go-log" + "dappco.re/go/core/io" + coreerr "dappco.re/go/core/log" ) // Artifact represents a build output that can be signed. diff --git a/pkg/build/signing/signer.go b/pkg/build/signing/signer.go index c08e486..906d90e 100644 --- a/pkg/build/signing/signer.go +++ b/pkg/build/signing/signer.go @@ -6,7 +6,7 @@ import ( "os" "strings" - "forge.lthn.ai/core/go-io" + "dappco.re/go/core/io" ) // Signer defines the interface for code signing implementations. diff --git a/pkg/build/signing/signing_test.go b/pkg/build/signing/signing_test.go index 2c256dc..93a938c 100644 --- a/pkg/build/signing/signing_test.go +++ b/pkg/build/signing/signing_test.go @@ -5,7 +5,7 @@ import ( "runtime" "testing" - "forge.lthn.ai/core/go-io" + "dappco.re/go/core/io" "github.com/stretchr/testify/assert" ) diff --git a/pkg/build/signing/signtool.go b/pkg/build/signing/signtool.go index d44a226..1bff21b 100644 --- a/pkg/build/signing/signtool.go +++ b/pkg/build/signing/signtool.go @@ -3,7 +3,7 @@ package signing import ( "context" - "forge.lthn.ai/core/go-io" + "dappco.re/go/core/io" ) // WindowsSigner signs binaries using Windows signtool (placeholder). diff --git a/pkg/release/changelog.go b/pkg/release/changelog.go index c4a308e..04b07a8 100644 --- a/pkg/release/changelog.go +++ b/pkg/release/changelog.go @@ -10,7 +10,7 @@ import ( "slices" "strings" - coreerr "forge.lthn.ai/core/go-log" + coreerr "dappco.re/go/core/log" "golang.org/x/text/cases" "golang.org/x/text/language" ) diff --git a/pkg/release/config.go b/pkg/release/config.go index c7718f9..8d48d5b 100644 --- a/pkg/release/config.go +++ b/pkg/release/config.go @@ -6,8 +6,8 @@ import ( "os" "path/filepath" - "forge.lthn.ai/core/go-io" - coreerr "forge.lthn.ai/core/go-log" + "dappco.re/go/core/io" + coreerr "dappco.re/go/core/log" "gopkg.in/yaml.v3" ) diff --git a/pkg/release/publishers/aur.go b/pkg/release/publishers/aur.go index 94694a6..ee039f3 100644 --- a/pkg/release/publishers/aur.go +++ b/pkg/release/publishers/aur.go @@ -12,9 +12,9 @@ import ( "strings" "text/template" - "forge.lthn.ai/core/go-build/pkg/build" - coreio "forge.lthn.ai/core/go-io" - coreerr "forge.lthn.ai/core/go-log" + "dappco.re/go/core/build/pkg/build" + coreio "dappco.re/go/core/io" + coreerr "dappco.re/go/core/log" ) //go:embed templates/aur/*.tmpl diff --git a/pkg/release/publishers/aur_test.go b/pkg/release/publishers/aur_test.go index 28b7ffe..0402963 100644 --- a/pkg/release/publishers/aur_test.go +++ b/pkg/release/publishers/aur_test.go @@ -6,7 +6,7 @@ import ( "os" "testing" - "forge.lthn.ai/core/go-io" + "dappco.re/go/core/io" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/pkg/release/publishers/chocolatey.go b/pkg/release/publishers/chocolatey.go index 7df2b0e..6fd9f4f 100644 --- a/pkg/release/publishers/chocolatey.go +++ b/pkg/release/publishers/chocolatey.go @@ -12,10 +12,10 @@ import ( "strings" "text/template" - "forge.lthn.ai/core/go-build/pkg/build" - "forge.lthn.ai/core/go-i18n" - "forge.lthn.ai/core/go-io" - coreerr "forge.lthn.ai/core/go-log" + "dappco.re/go/core/build/pkg/build" + "dappco.re/go/core/i18n" + "dappco.re/go/core/io" + coreerr "dappco.re/go/core/log" ) //go:embed templates/chocolatey/*.tmpl templates/chocolatey/tools/*.tmpl diff --git a/pkg/release/publishers/chocolatey_test.go b/pkg/release/publishers/chocolatey_test.go index e97438e..0932dd5 100644 --- a/pkg/release/publishers/chocolatey_test.go +++ b/pkg/release/publishers/chocolatey_test.go @@ -6,7 +6,7 @@ import ( "os" "testing" - "forge.lthn.ai/core/go-io" + "dappco.re/go/core/io" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" diff --git a/pkg/release/publishers/docker.go b/pkg/release/publishers/docker.go index 21fa99c..926ee9a 100644 --- a/pkg/release/publishers/docker.go +++ b/pkg/release/publishers/docker.go @@ -9,7 +9,7 @@ import ( "path/filepath" "strings" - coreerr "forge.lthn.ai/core/go-log" + coreerr "dappco.re/go/core/log" ) // DockerConfig holds configuration for the Docker publisher. diff --git a/pkg/release/publishers/docker_test.go b/pkg/release/publishers/docker_test.go index 4e23bec..cbad8f7 100644 --- a/pkg/release/publishers/docker_test.go +++ b/pkg/release/publishers/docker_test.go @@ -7,7 +7,7 @@ import ( "path/filepath" "testing" - "forge.lthn.ai/core/go-io" + "dappco.re/go/core/io" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/pkg/release/publishers/github.go b/pkg/release/publishers/github.go index 2efb1af..b80001a 100644 --- a/pkg/release/publishers/github.go +++ b/pkg/release/publishers/github.go @@ -9,7 +9,7 @@ import ( "path/filepath" "strings" - coreerr "forge.lthn.ai/core/go-log" + coreerr "dappco.re/go/core/log" ) // GitHubPublisher publishes releases to GitHub using the gh CLI. diff --git a/pkg/release/publishers/github_test.go b/pkg/release/publishers/github_test.go index 1fdfabd..2cb87a5 100644 --- a/pkg/release/publishers/github_test.go +++ b/pkg/release/publishers/github_test.go @@ -8,8 +8,8 @@ import ( "strings" "testing" - "forge.lthn.ai/core/go-build/pkg/build" - "forge.lthn.ai/core/go-io" + "dappco.re/go/core/build/pkg/build" + "dappco.re/go/core/io" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/pkg/release/publishers/homebrew.go b/pkg/release/publishers/homebrew.go index 2ae174b..d36340a 100644 --- a/pkg/release/publishers/homebrew.go +++ b/pkg/release/publishers/homebrew.go @@ -12,9 +12,9 @@ import ( "strings" "text/template" - "forge.lthn.ai/core/go-build/pkg/build" - coreio "forge.lthn.ai/core/go-io" - coreerr "forge.lthn.ai/core/go-log" + "dappco.re/go/core/build/pkg/build" + coreio "dappco.re/go/core/io" + coreerr "dappco.re/go/core/log" ) //go:embed templates/homebrew/*.tmpl diff --git a/pkg/release/publishers/homebrew_test.go b/pkg/release/publishers/homebrew_test.go index db8cd46..74094e2 100644 --- a/pkg/release/publishers/homebrew_test.go +++ b/pkg/release/publishers/homebrew_test.go @@ -6,8 +6,8 @@ import ( "os" "testing" - "forge.lthn.ai/core/go-build/pkg/build" - "forge.lthn.ai/core/go-io" + "dappco.re/go/core/build/pkg/build" + "dappco.re/go/core/io" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/pkg/release/publishers/integration_test.go b/pkg/release/publishers/integration_test.go index a511307..3e653cf 100644 --- a/pkg/release/publishers/integration_test.go +++ b/pkg/release/publishers/integration_test.go @@ -8,8 +8,8 @@ import ( "path/filepath" "testing" - "forge.lthn.ai/core/go-build/pkg/build" - "forge.lthn.ai/core/go-io" + "dappco.re/go/core/build/pkg/build" + "dappco.re/go/core/io" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/pkg/release/publishers/linuxkit.go b/pkg/release/publishers/linuxkit.go index bddf327..a71a446 100644 --- a/pkg/release/publishers/linuxkit.go +++ b/pkg/release/publishers/linuxkit.go @@ -9,7 +9,7 @@ import ( "path/filepath" "strings" - coreerr "forge.lthn.ai/core/go-log" + coreerr "dappco.re/go/core/log" ) // LinuxKitConfig holds configuration for the LinuxKit publisher. diff --git a/pkg/release/publishers/linuxkit_test.go b/pkg/release/publishers/linuxkit_test.go index 2e7ecb9..4fd505a 100644 --- a/pkg/release/publishers/linuxkit_test.go +++ b/pkg/release/publishers/linuxkit_test.go @@ -8,7 +8,7 @@ import ( "path/filepath" "testing" - "forge.lthn.ai/core/go-io" + "dappco.re/go/core/io" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/pkg/release/publishers/npm.go b/pkg/release/publishers/npm.go index da246ef..b54c497 100644 --- a/pkg/release/publishers/npm.go +++ b/pkg/release/publishers/npm.go @@ -12,8 +12,8 @@ import ( "strings" "text/template" - coreio "forge.lthn.ai/core/go-io" - coreerr "forge.lthn.ai/core/go-log" + coreio "dappco.re/go/core/io" + coreerr "dappco.re/go/core/log" ) //go:embed templates/npm/*.tmpl diff --git a/pkg/release/publishers/npm_test.go b/pkg/release/publishers/npm_test.go index aeeb24f..919695c 100644 --- a/pkg/release/publishers/npm_test.go +++ b/pkg/release/publishers/npm_test.go @@ -6,7 +6,7 @@ import ( "os" "testing" - "forge.lthn.ai/core/go-io" + "dappco.re/go/core/io" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" diff --git a/pkg/release/publishers/publisher.go b/pkg/release/publishers/publisher.go index 17b4592..4da5bcd 100644 --- a/pkg/release/publishers/publisher.go +++ b/pkg/release/publishers/publisher.go @@ -4,8 +4,8 @@ package publishers import ( "context" - "forge.lthn.ai/core/go-build/pkg/build" - "forge.lthn.ai/core/go-io" + "dappco.re/go/core/build/pkg/build" + "dappco.re/go/core/io" ) // Release represents a release to be published. diff --git a/pkg/release/publishers/scoop.go b/pkg/release/publishers/scoop.go index 8442527..09437e8 100644 --- a/pkg/release/publishers/scoop.go +++ b/pkg/release/publishers/scoop.go @@ -12,9 +12,9 @@ import ( "strings" "text/template" - "forge.lthn.ai/core/go-build/pkg/build" - coreio "forge.lthn.ai/core/go-io" - coreerr "forge.lthn.ai/core/go-log" + "dappco.re/go/core/build/pkg/build" + coreio "dappco.re/go/core/io" + coreerr "dappco.re/go/core/log" ) //go:embed templates/scoop/*.tmpl diff --git a/pkg/release/publishers/scoop_test.go b/pkg/release/publishers/scoop_test.go index 2d67720..abee811 100644 --- a/pkg/release/publishers/scoop_test.go +++ b/pkg/release/publishers/scoop_test.go @@ -6,7 +6,7 @@ import ( "os" "testing" - "forge.lthn.ai/core/go-io" + "dappco.re/go/core/io" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" diff --git a/pkg/release/release.go b/pkg/release/release.go index 17f90b0..603a1df 100644 --- a/pkg/release/release.go +++ b/pkg/release/release.go @@ -9,11 +9,11 @@ import ( "path/filepath" "strings" - "forge.lthn.ai/core/go-build/pkg/build" - "forge.lthn.ai/core/go-build/pkg/build/builders" - "forge.lthn.ai/core/go-build/pkg/release/publishers" - "forge.lthn.ai/core/go-io" - coreerr "forge.lthn.ai/core/go-log" + "dappco.re/go/core/build/pkg/build" + "dappco.re/go/core/build/pkg/build/builders" + "dappco.re/go/core/build/pkg/release/publishers" + "dappco.re/go/core/io" + coreerr "dappco.re/go/core/log" ) // Release represents a release with its version, artifacts, and changelog. diff --git a/pkg/release/release_test.go b/pkg/release/release_test.go index d29867e..afa1e64 100644 --- a/pkg/release/release_test.go +++ b/pkg/release/release_test.go @@ -7,8 +7,8 @@ import ( "path/filepath" "testing" - "forge.lthn.ai/core/go-build/pkg/build" - "forge.lthn.ai/core/go-io" + "dappco.re/go/core/build/pkg/build" + "dappco.re/go/core/io" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/pkg/release/sdk.go b/pkg/release/sdk.go index 59598ba..26e0aa8 100644 --- a/pkg/release/sdk.go +++ b/pkg/release/sdk.go @@ -5,8 +5,8 @@ import ( "context" "fmt" - "forge.lthn.ai/core/go-build/pkg/sdk" - coreerr "forge.lthn.ai/core/go-log" + "dappco.re/go/core/build/pkg/sdk" + coreerr "dappco.re/go/core/log" ) // SDKRelease holds the result of an SDK release. diff --git a/pkg/release/version.go b/pkg/release/version.go index ea28f39..a6066b9 100644 --- a/pkg/release/version.go +++ b/pkg/release/version.go @@ -8,7 +8,7 @@ import ( "strconv" "strings" - coreerr "forge.lthn.ai/core/go-log" + coreerr "dappco.re/go/core/log" ) // semverRegex matches semantic version strings with or without 'v' prefix. diff --git a/pkg/sdk/detect.go b/pkg/sdk/detect.go index c318a63..683de20 100644 --- a/pkg/sdk/detect.go +++ b/pkg/sdk/detect.go @@ -4,8 +4,8 @@ import ( "path/filepath" "strings" - coreio "forge.lthn.ai/core/go-io" - coreerr "forge.lthn.ai/core/go-log" + coreio "dappco.re/go/core/io" + coreerr "dappco.re/go/core/log" ) // commonSpecPaths are checked in order when no spec is configured. diff --git a/pkg/sdk/diff.go b/pkg/sdk/diff.go index 340a236..e3829a6 100644 --- a/pkg/sdk/diff.go +++ b/pkg/sdk/diff.go @@ -3,7 +3,7 @@ package sdk import ( "fmt" - coreerr "forge.lthn.ai/core/go-log" + coreerr "dappco.re/go/core/log" "github.com/oasdiff/kin-openapi/openapi3" "github.com/oasdiff/oasdiff/checker" "github.com/oasdiff/oasdiff/diff" diff --git a/pkg/sdk/generation_test.go b/pkg/sdk/generation_test.go index bb06503..4966317 100644 --- a/pkg/sdk/generation_test.go +++ b/pkg/sdk/generation_test.go @@ -6,7 +6,7 @@ import ( "path/filepath" "testing" - "forge.lthn.ai/core/go-build/pkg/sdk/generators" + "dappco.re/go/core/build/pkg/sdk/generators" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/pkg/sdk/generators/go.go b/pkg/sdk/generators/go.go index f55c31c..79833df 100644 --- a/pkg/sdk/generators/go.go +++ b/pkg/sdk/generators/go.go @@ -7,8 +7,8 @@ import ( "os/exec" "path/filepath" - coreio "forge.lthn.ai/core/go-io" - coreerr "forge.lthn.ai/core/go-log" + coreio "dappco.re/go/core/io" + coreerr "dappco.re/go/core/log" ) // GoGenerator generates Go SDKs from OpenAPI specs. diff --git a/pkg/sdk/generators/php.go b/pkg/sdk/generators/php.go index 556e33e..1770b07 100644 --- a/pkg/sdk/generators/php.go +++ b/pkg/sdk/generators/php.go @@ -6,8 +6,8 @@ import ( "os/exec" "path/filepath" - coreio "forge.lthn.ai/core/go-io" - coreerr "forge.lthn.ai/core/go-log" + coreio "dappco.re/go/core/io" + coreerr "dappco.re/go/core/log" ) // PHPGenerator generates PHP SDKs from OpenAPI specs. diff --git a/pkg/sdk/generators/python.go b/pkg/sdk/generators/python.go index 17dd40d..d2e7293 100644 --- a/pkg/sdk/generators/python.go +++ b/pkg/sdk/generators/python.go @@ -6,8 +6,8 @@ import ( "os/exec" "path/filepath" - coreio "forge.lthn.ai/core/go-io" - coreerr "forge.lthn.ai/core/go-log" + coreio "dappco.re/go/core/io" + coreerr "dappco.re/go/core/log" ) // PythonGenerator generates Python SDKs from OpenAPI specs. diff --git a/pkg/sdk/generators/typescript.go b/pkg/sdk/generators/typescript.go index 190b6e0..6a72e7c 100644 --- a/pkg/sdk/generators/typescript.go +++ b/pkg/sdk/generators/typescript.go @@ -6,8 +6,8 @@ import ( "os/exec" "path/filepath" - coreio "forge.lthn.ai/core/go-io" - coreerr "forge.lthn.ai/core/go-log" + coreio "dappco.re/go/core/io" + coreerr "dappco.re/go/core/log" ) // TypeScriptGenerator generates TypeScript SDKs from OpenAPI specs. diff --git a/pkg/sdk/sdk.go b/pkg/sdk/sdk.go index 0ea723f..28ca5b8 100644 --- a/pkg/sdk/sdk.go +++ b/pkg/sdk/sdk.go @@ -6,8 +6,8 @@ import ( "fmt" "path/filepath" - coreerr "forge.lthn.ai/core/go-log" - "forge.lthn.ai/core/go-build/pkg/sdk/generators" + "dappco.re/go/core/build/pkg/sdk/generators" + coreerr "dappco.re/go/core/log" ) // Config holds SDK generation configuration from .core/release.yaml.