From 92a327db9752e7a898d14f56e86fbdee027b3126 Mon Sep 17 00:00:00 2001 From: Eric Rakestraw Date: Wed, 4 Nov 2026 03:52:46 +0000 Subject: [PATCH] Migrate ckconfig to the vanity module path --- README.md | 9 +++-- docs/consumers/guide.md | 15 ++++---- docs/development.md | 4 +-- docs/internal/overview.md | 7 ++-- docs/roadmap/implementation.md | 9 +++-- examples/core/README.md | 4 +-- integrations/ckconfig/README.md | 5 ++- .../ckconfig/comparison_adapter_test.go | 2 +- .../ckconfig/comparison_contract_test.go | 2 +- .../ckconfig/comparison_input_test.go | 2 +- .../ckconfig/comparison_preparation_test.go | 2 +- integrations/ckconfig/completion.go | 2 +- integrations/ckconfig/completion_test.go | 2 +- integrations/ckconfig/configkit_adapter.go | 2 +- integrations/ckconfig/contracts.go | 2 +- .../ckconfig/contracts_adapter_test.go | 2 +- integrations/ckconfig/diff.go | 2 +- integrations/ckconfig/diff_execution_test.go | 2 +- integrations/ckconfig/doc.go | 3 +- integrations/ckconfig/docs/oss/attribution.md | 19 ++++++++-- integrations/ckconfig/docs/releases/v0.2.0.md | 35 +++++++++++++++++++ .../ckconfig/examples/simple/README.md | 3 ++ integrations/ckconfig/examples/simple/main.go | 4 +-- .../ckconfig/examples/simple/main_test.go | 4 +-- integrations/ckconfig/explain.go | 2 +- integrations/ckconfig/family.go | 2 +- integrations/ckconfig/family_reports_test.go | 2 +- integrations/ckconfig/go.mod | 4 +-- integrations/ckconfig/go.sum | 4 +-- integrations/ckconfig/input.go | 2 +- integrations/ckconfig/operations.go | 2 +- .../ckconfig/report_cancellation_test.go | 2 +- integrations/ckconfig/show.go | 2 +- integrations/ckconfig/sources.go | 2 +- integrations/ckconfig/sources_test.go | 2 +- integrations/ckconfig/validate.go | 2 +- 36 files changed, 113 insertions(+), 58 deletions(-) create mode 100644 integrations/ckconfig/docs/releases/v0.2.0.md diff --git a/README.md b/README.md index d4ff77d..f5ee084 100644 --- a/README.md +++ b/README.md @@ -19,13 +19,12 @@ defines the shared visibility policy. | Module | Package | Provides | | --- | --- | --- | | `go.maximumdirect.net/commandkit` | `commandkit` | Typed commands, bindings, execution reporting and outcomes, help, and version. | -| `gitea.maximumdirect.net/eric/CommandKit/integrations/ckconfig` | `ckconfig` | ConfigKit-backed `config` scopes, including configuration source evidence. | +| `go.maximumdirect.net/ckconfig` | `ckconfig` | ConfigKit-backed `config` scopes, including configuration source evidence. | | `gitea.maximumdirect.net/eric/CommandKit/integrations/ckprompt` | `ckprompt` | PromptKit engine configuration/comparison, five catalogs, named inspection, requirements discovery, concrete request validation, and native smoke tests. | -Importing an integration does not install commands. The integrations currently -use the old core module identity and cannot be composed with the new core path. -The planned matched releases are `go.maximumdirect.net/ckconfig v0.2.0` and -`go.maximumdirect.net/ckprompt v0.2.0`, using core v0.3.0. See the +Importing an integration does not install commands. The ckconfig v0.2.0 +candidate uses core v0.3.0; ckprompt still uses the old core identity and cannot +be composed with the new core path until its planned v0.2.0 release. See the [consumer guide](docs/consumers/guide.md#module-selection) for migration details. ## Examples diff --git a/docs/consumers/guide.md b/docs/consumers/guide.md index a27cf28..fe815b8 100644 --- a/docs/consumers/guide.md +++ b/docs/consumers/guide.md @@ -12,16 +12,15 @@ installed at the application root, not as group children. | Import | Use when | | --- | --- | | `go.maximumdirect.net/commandkit` | The application needs typed command declarations and common CLI behavior. | -| `gitea.maximumdirect.net/eric/CommandKit/integrations/ckconfig` | The application wants ConfigKit-backed configuration scopes and reports. | +| `go.maximumdirect.net/ckconfig` | The application wants ConfigKit-backed configuration scopes and reports. | | `gitea.maximumdirect.net/eric/CommandKit/integrations/ckprompt` | The application wants PromptKit engine configuration/comparison, five catalogs, named inspection, requirements discovery, request validation, or native smoke testing. | -The integration paths in the table are their current source identities; they -use the old core path and do not compose with `go.maximumdirect.net/commandkit`. -For the new core v0.3.0 identity, the planned matched releases are -`go.maximumdirect.net/ckconfig v0.2.0` and `go.maximumdirect.net/ckprompt v0.2.0`. -Update application imports and dependency versions together when those releases -are available. Old and new core paths have distinct Go type identities. -Install the new core with `go get go.maximumdirect.net/commandkit@v0.3.0`. +The ckconfig v0.2.0 candidate uses core v0.3.0. The ckprompt source still uses +the old core and ckconfig identities; its planned matched v0.2.0 release will +use the new paths. Update application imports and dependency versions together. +Old and new core paths have distinct Go type identities. Install core with +`go get go.maximumdirect.net/commandkit@v0.3.0` and the matching integration +with `go get go.maximumdirect.net/ckconfig@v0.2.0` once it is published. The two integrations are independent optional imports. `ckprompt` uses the public scope and error contracts from `ckconfig`; importing it does not add the diff --git a/docs/development.md b/docs/development.md index 24d94e3..82fafba 100644 --- a/docs/development.md +++ b/docs/development.md @@ -100,8 +100,8 @@ evidence, not build dependencies. Implemented contracts belong in CommandKit under their canonical owners. The root module does not traverse nested modules. During the vanity-path -migration, integrations still import the old core identity and cannot compose -with the migrated root until their own module migrations are complete. After +migration, ckprompt still imports the old core and ckconfig identities and +cannot compose with the migrated modules until its own migration is complete. After the matched migrations, during development use a local workspace for all three modules; it is ignored and must not be committed. If a local `go.work` already exists, preserve it and add these module directories: diff --git a/docs/internal/overview.md b/docs/internal/overview.md index aff14b0..b2d1aeb 100644 --- a/docs/internal/overview.md +++ b/docs/internal/overview.md @@ -6,9 +6,10 @@ own the optional ConfigKit and PromptKit integrations. The [architecture policy](../policy/architecture.md) owns normative boundaries; this page inventories the implemented owners. -The core module now declares `go.maximumdirect.net/commandkit`. The integration -modules retain their old module and core import identities until their planned -matched releases; Go treats those identities as distinct. +The core and ckconfig modules declare `go.maximumdirect.net/commandkit` and +`go.maximumdirect.net/ckconfig`. Ckprompt retains the old module and import +identities until its planned matched release; Go treats those identities as +distinct. ## Root `commandkit` diff --git a/docs/roadmap/implementation.md b/docs/roadmap/implementation.md index 955fa83..d3b77ff 100644 --- a/docs/roadmap/implementation.md +++ b/docs/roadmap/implementation.md @@ -1,6 +1,6 @@ # CommandKit vanity migration and dependency alignment plan -Status: Stages 1–2 complete; Stages 3–7 are not started. +Status: Stages 1–3 complete; Stages 4–7 are not started. This plan is for the Luna coding agent implementing the [feature roadmap](integration-dependency-alignment.md). Follow the stages in @@ -176,7 +176,12 @@ sums is part of Stage 3, not a new completion gate for core publication. ## Stage 3: Migrate ckconfig and prepare its independent candidate -**Status:** not started. +**Completed.** Ckconfig declares `go.maximumdirect.net/ckconfig`, imports the +new core identity, and downloaded `go.maximumdirect.net/commandkit v0.3.0` +with authentic sums. The resolved graph retains ConfigKit v0.8.0 and selects +both the older ReleaseKit v0.4.1 and vanity ReleaseKit v0.9.0 tool modules; +module-local attribution and current guidance reflect those selections. The +v0.2.0 release note is prepared; independent suite validation follows. 1. In `integrations/ckconfig`, migrate the module declaration to `go.maximumdirect.net/ckconfig`. Update all owned imports, tests, and the diff --git a/examples/core/README.md b/examples/core/README.md index 2bdb539..77830eb 100644 --- a/examples/core/README.md +++ b/examples/core/README.md @@ -26,8 +26,8 @@ and try completing `core-example report d` or `core-example ws gr`. Compatible integration factories also return `commandkit.Command` and can be passed directly to `New` beside `commandkit.Alias` or flag-alias declarations. -The current integrations still use the old core identity; the planned matched -vanity-path releases will use the new core identity. For a +The ckconfig candidate uses the new core identity; ckprompt will use it in its +planned matched release. For a command-only `[]commandkit.Command`, convert its elements into a `[]commandkit.Declaration` before appending routing rules; Go cannot expand the command slice as `...commandkit.Declaration`. The diff --git a/integrations/ckconfig/README.md b/integrations/ckconfig/README.md index fa6641b..6a3367b 100644 --- a/integrations/ckconfig/README.md +++ b/integrations/ckconfig/README.md @@ -7,9 +7,8 @@ itself. ## Module -The module path is -`gitea.maximumdirect.net/eric/CommandKit/integrations/ckconfig`. Its first -release is prepared as `v0.1.0`. It uses the core `commandkit` package and +The module path is `go.maximumdirect.net/ckconfig`. Version v0.2.0 uses +`go.maximumdirect.net/commandkit v0.3.0` and ConfigKit; it does not import PromptKit. See the [consumer guide](https://gitea.maximumdirect.net/eric/CommandKit/src/branch/main/docs/consumers/guide.md#configkit-scopes) for exact callback and lifetime contracts. diff --git a/integrations/ckconfig/comparison_adapter_test.go b/integrations/ckconfig/comparison_adapter_test.go index 6e60c3a..8aa1ec1 100644 --- a/integrations/ckconfig/comparison_adapter_test.go +++ b/integrations/ckconfig/comparison_adapter_test.go @@ -10,8 +10,8 @@ import ( "strings" "testing" - commandkit "gitea.maximumdirect.net/eric/CommandKit" configkit "gitea.maximumdirect.net/eric/ConfigKit" + commandkit "go.maximumdirect.net/commandkit" ) type adapterSettings struct { diff --git a/integrations/ckconfig/comparison_contract_test.go b/integrations/ckconfig/comparison_contract_test.go index bb6404c..b1ae191 100644 --- a/integrations/ckconfig/comparison_contract_test.go +++ b/integrations/ckconfig/comparison_contract_test.go @@ -7,8 +7,8 @@ import ( "strings" "testing" - commandkit "gitea.maximumdirect.net/eric/CommandKit" configkit "gitea.maximumdirect.net/eric/ConfigKit" + commandkit "go.maximumdirect.net/commandkit" ) func TestComparisonCapabilitiesAreIndependentAndCaptured(t *testing.T) { diff --git a/integrations/ckconfig/comparison_input_test.go b/integrations/ckconfig/comparison_input_test.go index 13a533b..d4d7968 100644 --- a/integrations/ckconfig/comparison_input_test.go +++ b/integrations/ckconfig/comparison_input_test.go @@ -6,8 +6,8 @@ import ( "strings" "testing" - commandkit "gitea.maximumdirect.net/eric/CommandKit" configkit "gitea.maximumdirect.net/eric/ConfigKit" + commandkit "go.maximumdirect.net/commandkit" ) func TestComparisonSelectionInheritsFieldsIndependently(t *testing.T) { diff --git a/integrations/ckconfig/comparison_preparation_test.go b/integrations/ckconfig/comparison_preparation_test.go index 154e497..dcc60b9 100644 --- a/integrations/ckconfig/comparison_preparation_test.go +++ b/integrations/ckconfig/comparison_preparation_test.go @@ -8,8 +8,8 @@ import ( "strings" "testing" - commandkit "gitea.maximumdirect.net/eric/CommandKit" configkit "gitea.maximumdirect.net/eric/ConfigKit" + commandkit "go.maximumdirect.net/commandkit" ) func TestComparisonPreparesEqualSelectionsWithSeparateTypedInputs(t *testing.T) { diff --git a/integrations/ckconfig/completion.go b/integrations/ckconfig/completion.go index e10b463..562581d 100644 --- a/integrations/ckconfig/completion.go +++ b/integrations/ckconfig/completion.go @@ -1,6 +1,6 @@ package ckconfig -import commandkit "gitea.maximumdirect.net/eric/CommandKit" +import commandkit "go.maximumdirect.net/commandkit" func completionChoices(values ...string) commandkit.CompletionHint { choices := make([]commandkit.CompletionChoice, len(values)) diff --git a/integrations/ckconfig/completion_test.go b/integrations/ckconfig/completion_test.go index dc8cbf3..2ce0e4a 100644 --- a/integrations/ckconfig/completion_test.go +++ b/integrations/ckconfig/completion_test.go @@ -7,8 +7,8 @@ import ( "strings" "testing" - commandkit "gitea.maximumdirect.net/eric/CommandKit" configkit "gitea.maximumdirect.net/eric/ConfigKit" + commandkit "go.maximumdirect.net/commandkit" ) func TestCompletionUsesInstalledScopeCapabilitiesWithoutAcquisition(t *testing.T) { diff --git a/integrations/ckconfig/configkit_adapter.go b/integrations/ckconfig/configkit_adapter.go index 8eca692..241e325 100644 --- a/integrations/ckconfig/configkit_adapter.go +++ b/integrations/ckconfig/configkit_adapter.go @@ -7,8 +7,8 @@ import ( "io" "strconv" - commandkit "gitea.maximumdirect.net/eric/CommandKit" configkit "gitea.maximumdirect.net/eric/ConfigKit" + commandkit "go.maximumdirect.net/commandkit" ) // FromConfigKit adapts a typed ConfigKit loader to all five native diff --git a/integrations/ckconfig/contracts.go b/integrations/ckconfig/contracts.go index bd3406f..5498356 100644 --- a/integrations/ckconfig/contracts.go +++ b/integrations/ckconfig/contracts.go @@ -4,8 +4,8 @@ import ( "context" "io" - commandkit "gitea.maximumdirect.net/eric/CommandKit" configkit "gitea.maximumdirect.net/eric/ConfigKit" + commandkit "go.maximumdirect.net/commandkit" ) // Selection carries the configuration and overlay choices supplied for a diff --git a/integrations/ckconfig/contracts_adapter_test.go b/integrations/ckconfig/contracts_adapter_test.go index a86f440..a134409 100644 --- a/integrations/ckconfig/contracts_adapter_test.go +++ b/integrations/ckconfig/contracts_adapter_test.go @@ -9,8 +9,8 @@ import ( "strings" "testing" - commandkit "gitea.maximumdirect.net/eric/CommandKit" configkit "gitea.maximumdirect.net/eric/ConfigKit" + commandkit "go.maximumdirect.net/commandkit" ) func TestWithScopeErrorCopiesAndRetainsCauses(t *testing.T) { diff --git a/integrations/ckconfig/diff.go b/integrations/ckconfig/diff.go index b328bf0..02c3fb3 100644 --- a/integrations/ckconfig/diff.go +++ b/integrations/ckconfig/diff.go @@ -4,7 +4,7 @@ import ( "errors" "fmt" - commandkit "gitea.maximumdirect.net/eric/CommandKit" + commandkit "go.maximumdirect.net/commandkit" ) func runConfigDiff[I, S any](invocation commandkit.Invocation, plan *configOperationPlan[I, S], state S) commandkit.Outcome { diff --git a/integrations/ckconfig/diff_execution_test.go b/integrations/ckconfig/diff_execution_test.go index 3ee45d7..0a08c35 100644 --- a/integrations/ckconfig/diff_execution_test.go +++ b/integrations/ckconfig/diff_execution_test.go @@ -9,8 +9,8 @@ import ( "strings" "testing" - commandkit "gitea.maximumdirect.net/eric/CommandKit" configkit "gitea.maximumdirect.net/eric/ConfigKit" + commandkit "go.maximumdirect.net/commandkit" "go.yaml.in/yaml/v4" ) diff --git a/integrations/ckconfig/doc.go b/integrations/ckconfig/doc.go index 464d244..8dd67cd 100644 --- a/integrations/ckconfig/doc.go +++ b/integrations/ckconfig/doc.go @@ -1,4 +1,5 @@ -// Package ckconfig provides CommandKit's optional ConfigKit integration. Its +// Package ckconfig, provided by go.maximumdirect.net/ckconfig, provides +// CommandKit's optional ConfigKit integration. Its // canonical Command declaration installs the standard config command family // through the core commandkit package. Applications can install CommandKit // RoutingRule declarations alongside it through commandkit.New or diff --git a/integrations/ckconfig/docs/oss/attribution.md b/integrations/ckconfig/docs/oss/attribution.md index 48ca25e..8dd3368 100644 --- a/integrations/ckconfig/docs/oss/attribution.md +++ b/integrations/ckconfig/docs/oss/attribution.md @@ -153,16 +153,29 @@ License and notices: [MIT](licenses/MIT.txt) | ## ReleaseKit -Selected module: `gitea.maximumdirect.net/eric/ReleaseKit` at `v0.4.2` (transitive Go tool requirement; not a runtime import). +Selected module: `gitea.maximumdirect.net/eric/ReleaseKit` at `v0.4.1` (transitive Go tool requirement; not a runtime import). Copyright (C) 2026 Eric Rakestraw SPDX-License-Identifier: LGPL-3.0-or-later License and notices: [LGPL v3.0](../../LICENSE) | -[LICENSE](https://gitea.maximumdirect.net/eric/ReleaseKit/src/commit/7d033c5ca1c95aec7db9690293638a0a1ac887b8/LICENSE). +[LICENSE](https://gitea.maximumdirect.net/eric/ReleaseKit/src/commit/2d5a8110c61e31daf8698766114ae305d0e0e469/LICENSE). -[Source](https://gitea.maximumdirect.net/eric/ReleaseKit/src/commit/7d033c5ca1c95aec7db9690293638a0a1ac887b8). +[Source](https://gitea.maximumdirect.net/eric/ReleaseKit/src/commit/2d5a8110c61e31daf8698766114ae305d0e0e469). + +## ReleaseKit (vanity module) + +Selected module: `go.maximumdirect.net/releasekit` at `v0.9.0` (transitive Go tool requirement; not a runtime import). + +Copyright (C) 2026 Eric Rakestraw + +SPDX-License-Identifier: LGPL-3.0-or-later + +License and notices: [LGPL v3.0](../../LICENSE) | +[LICENSE](https://forge.maximumdirect.net/base-layer/releasekit/src/commit/2180aa868ec2caa95fc8279fd59d5f0ebac41bd4/LICENSE). + +[Source](https://forge.maximumdirect.net/base-layer/releasekit/src/commit/2180aa868ec2caa95fc8279fd59d5f0ebac41bd4). ## Goldmark diff --git a/integrations/ckconfig/docs/releases/v0.2.0.md b/integrations/ckconfig/docs/releases/v0.2.0.md new file mode 100644 index 0000000..25659a8 --- /dev/null +++ b/integrations/ckconfig/docs/releases/v0.2.0.md @@ -0,0 +1,35 @@ +# CommandKit ckconfig v0.2.0 + +## Summary + +CommandKit ckconfig v0.2.0 moves the integration to +`go.maximumdirect.net/ckconfig` and uses `go.maximumdirect.net/commandkit v0.3.0` +with ConfigKit v0.8.0. It adopts core's invocation reporting and completion +contracts while retaining ConfigKit-owned inspection and comparison behavior. + +## Migration + +Replace imports of `gitea.maximumdirect.net/eric/CommandKit/integrations/ckconfig` +with `go.maximumdirect.net/ckconfig`, and update core imports to +`go.maximumdirect.net/commandkit`. Select ckconfig v0.2.0 and core v0.3.0 +as a matched set. Old and new core paths have distinct Go type identities. +Applications also using PromptKit should move to the forthcoming matched +`go.maximumdirect.net/ckprompt v0.2.0` release. + +Handlers use `Invocation.Reporter()` for output and categorized messages; +terminal failures carry an explanation and optional cause. The integration +submits provider diagnostics through the invocation reporter, respecting shared +reporting flags. Update callers that used `Invocation.Streams`, +`Outcome.Diagnostics`, or the old error-first failure API as described in the +[core migration guide](https://forge.maximumdirect.net/base-layer/commandkit/src/tag/v0.3.0/docs/consumers/guide.md#invocation-reporting). +The standard config commands also provide completion hints for applicable +selectors and file paths when the application installs core's completion command. + +Go 1.26.0 remains the consumer minimum. Importing ckconfig does not install +commands; pass its declarations to `commandkit.New` or `App.Register`. +See the [module README](https://forge.maximumdirect.net/base-layer/commandkit/src/tag/integrations/ckconfig/v0.2.0/integrations/ckconfig/README.md) +and [consumer guide](https://forge.maximumdirect.net/base-layer/commandkit/src/tag/integrations/ckconfig/v0.2.0/docs/consumers/guide.md#configkit-scopes). + +[COPYRIGHT](https://forge.maximumdirect.net/base-layer/commandkit/src/tag/integrations/ckconfig/v0.2.0/integrations/ckconfig/COPYRIGHT) | +[LICENSE](https://forge.maximumdirect.net/base-layer/commandkit/src/tag/integrations/ckconfig/v0.2.0/integrations/ckconfig/LICENSE) | +[ATTRIBUTION](https://forge.maximumdirect.net/base-layer/commandkit/src/tag/integrations/ckconfig/v0.2.0/integrations/ckconfig/docs/oss/attribution.md) diff --git a/integrations/ckconfig/examples/simple/README.md b/integrations/ckconfig/examples/simple/README.md index 46a9419..c846d4d 100644 --- a/integrations/ckconfig/examples/simple/README.md +++ b/integrations/ckconfig/examples/simple/README.md @@ -1,5 +1,8 @@ # Simple consumer +This example imports `go.maximumdirect.net/ckconfig` and +`go.maximumdirect.net/commandkit`; use ckconfig v0.2.0 with core v0.3.0. + Run the maintained example with: ```sh diff --git a/integrations/ckconfig/examples/simple/main.go b/integrations/ckconfig/examples/simple/main.go index fc88ce7..1bf84e6 100644 --- a/integrations/ckconfig/examples/simple/main.go +++ b/integrations/ckconfig/examples/simple/main.go @@ -7,9 +7,9 @@ import ( "os" "strconv" - commandkit "gitea.maximumdirect.net/eric/CommandKit" - "gitea.maximumdirect.net/eric/CommandKit/integrations/ckconfig" configkit "gitea.maximumdirect.net/eric/ConfigKit" + "go.maximumdirect.net/ckconfig" + commandkit "go.maximumdirect.net/commandkit" ) type appConfiguration struct { diff --git a/integrations/ckconfig/examples/simple/main_test.go b/integrations/ckconfig/examples/simple/main_test.go index 200a96a..0549bc6 100644 --- a/integrations/ckconfig/examples/simple/main_test.go +++ b/integrations/ckconfig/examples/simple/main_test.go @@ -7,8 +7,8 @@ import ( "strings" "testing" - commandkit "gitea.maximumdirect.net/eric/CommandKit" - "gitea.maximumdirect.net/eric/CommandKit/integrations/ckconfig" + "go.maximumdirect.net/ckconfig" + commandkit "go.maximumdirect.net/commandkit" "go.yaml.in/yaml/v4" ) diff --git a/integrations/ckconfig/explain.go b/integrations/ckconfig/explain.go index 2060914..8f354ce 100644 --- a/integrations/ckconfig/explain.go +++ b/integrations/ckconfig/explain.go @@ -5,8 +5,8 @@ import ( "fmt" "io" - commandkit "gitea.maximumdirect.net/eric/CommandKit" configkit "gitea.maximumdirect.net/eric/ConfigKit" + commandkit "go.maximumdirect.net/commandkit" ) type explanationReport struct { diff --git a/integrations/ckconfig/family.go b/integrations/ckconfig/family.go index 9b2f0d4..47f0b27 100644 --- a/integrations/ckconfig/family.go +++ b/integrations/ckconfig/family.go @@ -9,8 +9,8 @@ import ( "sort" "strings" - commandkit "gitea.maximumdirect.net/eric/CommandKit" configkit "gitea.maximumdirect.net/eric/ConfigKit" + commandkit "go.maximumdirect.net/commandkit" ) type scopeMetadata struct { diff --git a/integrations/ckconfig/family_reports_test.go b/integrations/ckconfig/family_reports_test.go index 60eda90..a29967b 100644 --- a/integrations/ckconfig/family_reports_test.go +++ b/integrations/ckconfig/family_reports_test.go @@ -9,8 +9,8 @@ import ( "strings" "testing" - commandkit "gitea.maximumdirect.net/eric/CommandKit" configkit "gitea.maximumdirect.net/eric/ConfigKit" + commandkit "go.maximumdirect.net/commandkit" ) func TestScopeDiscoveryIsOrderedAndDoesNotUseSuiteFactories(t *testing.T) { diff --git a/integrations/ckconfig/go.mod b/integrations/ckconfig/go.mod index 111479a..b748bc4 100644 --- a/integrations/ckconfig/go.mod +++ b/integrations/ckconfig/go.mod @@ -1,9 +1,8 @@ -module gitea.maximumdirect.net/eric/CommandKit/integrations/ckconfig +module go.maximumdirect.net/ckconfig go 1.26.0 require ( - gitea.maximumdirect.net/eric/CommandKit v0.2.0 gitea.maximumdirect.net/eric/ConfigKit v0.8.0 go.yaml.in/yaml/v4 v4.0.0-rc.6 ) @@ -12,4 +11,5 @@ require ( github.com/inconshreveable/mousetrap v1.1.0 // indirect github.com/spf13/cobra v1.10.1 // indirect github.com/spf13/pflag v1.0.9 // indirect + go.maximumdirect.net/commandkit v0.3.0 ) diff --git a/integrations/ckconfig/go.sum b/integrations/ckconfig/go.sum index d7ca2a9..e4e852e 100644 --- a/integrations/ckconfig/go.sum +++ b/integrations/ckconfig/go.sum @@ -1,5 +1,3 @@ -gitea.maximumdirect.net/eric/CommandKit v0.2.0 h1:UNBjSq6XDZHdPqvZLOL3N5R1E1ol0jnfldgradU7eqw= -gitea.maximumdirect.net/eric/CommandKit v0.2.0/go.mod h1:47DQ6Mo/yZqUVn5PAFRmPck91Zhf1jfaHDMoEZvUzsQ= gitea.maximumdirect.net/eric/ConfigKit v0.8.0 h1:xCIhYnOHjw7rFvB+vIremPKGeROOxKTomnUEUipuQno= gitea.maximumdirect.net/eric/ConfigKit v0.8.0/go.mod h1:C82sbyKHYMV1OwaD2GJanFrwTfcZfjlW2JsGze5b0kA= github.com/cpuguy83/go-md2man/v2 v2.0.6/go.mod h1:oOW0eioCTA6cOiMLiUPZOpcVxMig6NIQQ7OS05n1F4g= @@ -10,6 +8,8 @@ github.com/spf13/cobra v1.10.1 h1:lJeBwCfmrnXthfAupyUTzJ/J4Nc1RsHC/mSRU2dll/s= github.com/spf13/cobra v1.10.1/go.mod h1:7SmJGaTHFVBY0jW4NXGluQoLvhqFQM+6XSKD+P4XaB0= github.com/spf13/pflag v1.0.9 h1:9exaQaMOCwffKiiiYk6/BndUBv+iRViNW+4lEMi0PvY= github.com/spf13/pflag v1.0.9/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg= +go.maximumdirect.net/commandkit v0.3.0 h1:RCmg2GS8uzlLSJCIqarpn1uFDec0W3ylNNRRPT6kUFE= +go.maximumdirect.net/commandkit v0.3.0/go.mod h1:ZS98DewKNVBygKVDoh5MFD09CnPlP37dS9pVsID5Eoc= go.yaml.in/yaml/v4 v4.0.0-rc.6 h1:1h7H1ohdUh93/FyE4YaDa1Zh64K6VVbjF4K6WUxMtH4= go.yaml.in/yaml/v4 v4.0.0-rc.6/go.mod h1:aZqd9kCMsGL7AuUv/m/PvWLdg5sjJsZ4oHDEnfPPfY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= diff --git a/integrations/ckconfig/input.go b/integrations/ckconfig/input.go index 6cbd3ad..3b08319 100644 --- a/integrations/ckconfig/input.go +++ b/integrations/ckconfig/input.go @@ -4,8 +4,8 @@ import ( "fmt" "strings" - commandkit "gitea.maximumdirect.net/eric/CommandKit" configkit "gitea.maximumdirect.net/eric/ConfigKit" + commandkit "go.maximumdirect.net/commandkit" ) type configCommandInput[I, S any] struct { diff --git a/integrations/ckconfig/operations.go b/integrations/ckconfig/operations.go index a209266..a8d4a9b 100644 --- a/integrations/ckconfig/operations.go +++ b/integrations/ckconfig/operations.go @@ -4,7 +4,7 @@ import ( "fmt" "io" - commandkit "gitea.maximumdirect.net/eric/CommandKit" + commandkit "go.maximumdirect.net/commandkit" ) func runConfigOperation[I, S any](invocation commandkit.Invocation, operation Operation, input *configCommandInput[I, S]) commandkit.Outcome { diff --git a/integrations/ckconfig/report_cancellation_test.go b/integrations/ckconfig/report_cancellation_test.go index 5354175..486d108 100644 --- a/integrations/ckconfig/report_cancellation_test.go +++ b/integrations/ckconfig/report_cancellation_test.go @@ -6,7 +6,7 @@ import ( "io" "testing" - commandkit "gitea.maximumdirect.net/eric/CommandKit" + commandkit "go.maximumdirect.net/commandkit" ) func TestBufferedReportCancellationBeforeDelivery(t *testing.T) { diff --git a/integrations/ckconfig/show.go b/integrations/ckconfig/show.go index 3d64b18..2da838a 100644 --- a/integrations/ckconfig/show.go +++ b/integrations/ckconfig/show.go @@ -7,7 +7,7 @@ import ( "strconv" "unicode" - commandkit "gitea.maximumdirect.net/eric/CommandKit" + commandkit "go.maximumdirect.net/commandkit" ) type effectiveDocument struct { diff --git a/integrations/ckconfig/sources.go b/integrations/ckconfig/sources.go index dfe3bb0..033ed08 100644 --- a/integrations/ckconfig/sources.go +++ b/integrations/ckconfig/sources.go @@ -6,8 +6,8 @@ import ( "io" "strconv" - commandkit "gitea.maximumdirect.net/eric/CommandKit" configkit "gitea.maximumdirect.net/eric/ConfigKit" + commandkit "go.maximumdirect.net/commandkit" "go.yaml.in/yaml/v4" ) diff --git a/integrations/ckconfig/sources_test.go b/integrations/ckconfig/sources_test.go index 0e75fc2..e9afc3b 100644 --- a/integrations/ckconfig/sources_test.go +++ b/integrations/ckconfig/sources_test.go @@ -8,8 +8,8 @@ import ( "strings" "testing" - commandkit "gitea.maximumdirect.net/eric/CommandKit" configkit "gitea.maximumdirect.net/eric/ConfigKit" + commandkit "go.maximumdirect.net/commandkit" "go.yaml.in/yaml/v4" ) diff --git a/integrations/ckconfig/validate.go b/integrations/ckconfig/validate.go index 58be8f3..0b6ad69 100644 --- a/integrations/ckconfig/validate.go +++ b/integrations/ckconfig/validate.go @@ -6,7 +6,7 @@ import ( "io" "strings" - commandkit "gitea.maximumdirect.net/eric/CommandKit" + commandkit "go.maximumdirect.net/commandkit" "go.yaml.in/yaml/v4" )