Rename the module to the Coffey-Labs organisation
The repositories moved off LINUXexpert-org. Here that is not a documentation change: the old organisation was the module path, so it is declared in go.mod and repeated in every internal import. Leaving it would have been worse than a stale link. GitHub redirects the repository, but a go.mod whose module line disagrees with the path it was fetched from is an error rather than a redirect, so `go get` on the new address would have failed against the old declaration. go.mod, 34 files of imports, and the repository links in README and ARCHITECTURE. go mod tidy leaves go.sum untouched -- no dependency moved, only our own path.
This commit is contained in:
@@ -9,8 +9,8 @@ import (
|
||||
"fmt"
|
||||
"os"
|
||||
|
||||
"github.com/LINUXexpert-org/stalwart-migrator/internal/checkpoint"
|
||||
"github.com/LINUXexpert-org/stalwart-migrator/internal/preflight"
|
||||
"github.com/Coffey-Labs/stalwart-migrator/internal/checkpoint"
|
||||
"github.com/Coffey-Labs/stalwart-migrator/internal/preflight"
|
||||
)
|
||||
|
||||
func runPreflight(args []string) error {
|
||||
|
||||
@@ -9,8 +9,8 @@ import (
|
||||
"path/filepath"
|
||||
"sort"
|
||||
|
||||
"github.com/LINUXexpert-org/stalwart-migrator/internal/backup"
|
||||
"github.com/LINUXexpert-org/stalwart-migrator/internal/checkpoint"
|
||||
"github.com/Coffey-Labs/stalwart-migrator/internal/backup"
|
||||
"github.com/Coffey-Labs/stalwart-migrator/internal/checkpoint"
|
||||
)
|
||||
|
||||
// preservePlan lifts the run's irreplaceable inputs out of the scratch
|
||||
|
||||
@@ -9,7 +9,7 @@ import (
|
||||
"strings"
|
||||
"testing"
|
||||
|
||||
"github.com/LINUXexpert-org/stalwart-migrator/internal/checkpoint"
|
||||
"github.com/Coffey-Labs/stalwart-migrator/internal/checkpoint"
|
||||
)
|
||||
|
||||
func writeTemp(t *testing.T, dir, name, body string) string {
|
||||
|
||||
@@ -12,11 +12,11 @@ import (
|
||||
"os"
|
||||
"path/filepath"
|
||||
|
||||
"github.com/LINUXexpert-org/stalwart-migrator/internal/applyplan"
|
||||
"github.com/LINUXexpert-org/stalwart-migrator/internal/backup"
|
||||
"github.com/LINUXexpert-org/stalwart-migrator/internal/checkpoint"
|
||||
"github.com/LINUXexpert-org/stalwart-migrator/internal/plan"
|
||||
"github.com/LINUXexpert-org/stalwart-migrator/internal/preflight"
|
||||
"github.com/Coffey-Labs/stalwart-migrator/internal/applyplan"
|
||||
"github.com/Coffey-Labs/stalwart-migrator/internal/backup"
|
||||
"github.com/Coffey-Labs/stalwart-migrator/internal/checkpoint"
|
||||
"github.com/Coffey-Labs/stalwart-migrator/internal/plan"
|
||||
"github.com/Coffey-Labs/stalwart-migrator/internal/preflight"
|
||||
)
|
||||
|
||||
// runRehearse implements `stalwart-migrate rehearse` (ARCHITECTURE.md §4.9):
|
||||
|
||||
@@ -7,8 +7,8 @@ import (
|
||||
"flag"
|
||||
"fmt"
|
||||
|
||||
"github.com/LINUXexpert-org/stalwart-migrator/internal/checkpoint"
|
||||
"github.com/LINUXexpert-org/stalwart-migrator/internal/validate"
|
||||
"github.com/Coffey-Labs/stalwart-migrator/internal/checkpoint"
|
||||
"github.com/Coffey-Labs/stalwart-migrator/internal/validate"
|
||||
)
|
||||
|
||||
// runReport prints what validation found for a run, from the checkpoint the
|
||||
|
||||
@@ -6,8 +6,8 @@ package main
|
||||
import (
|
||||
"testing"
|
||||
|
||||
"github.com/LINUXexpert-org/stalwart-migrator/internal/checkpoint"
|
||||
"github.com/LINUXexpert-org/stalwart-migrator/internal/validate"
|
||||
"github.com/Coffey-Labs/stalwart-migrator/internal/checkpoint"
|
||||
"github.com/Coffey-Labs/stalwart-migrator/internal/validate"
|
||||
)
|
||||
|
||||
// `report` re-reads what the run recorded rather than re-checking, so the
|
||||
|
||||
+10
-10
@@ -14,16 +14,16 @@ import (
|
||||
"strings"
|
||||
"time"
|
||||
|
||||
"github.com/LINUXexpert-org/stalwart-migrator/internal/applyplan"
|
||||
"github.com/LINUXexpert-org/stalwart-migrator/internal/backup"
|
||||
"github.com/LINUXexpert-org/stalwart-migrator/internal/checkpoint"
|
||||
"github.com/LINUXexpert-org/stalwart-migrator/internal/cutover"
|
||||
"github.com/LINUXexpert-org/stalwart-migrator/internal/plan"
|
||||
"github.com/LINUXexpert-org/stalwart-migrator/internal/preflight"
|
||||
"github.com/LINUXexpert-org/stalwart-migrator/internal/recovery"
|
||||
"github.com/LINUXexpert-org/stalwart-migrator/internal/service"
|
||||
"github.com/LINUXexpert-org/stalwart-migrator/internal/stage"
|
||||
"github.com/LINUXexpert-org/stalwart-migrator/internal/validate"
|
||||
"github.com/Coffey-Labs/stalwart-migrator/internal/applyplan"
|
||||
"github.com/Coffey-Labs/stalwart-migrator/internal/backup"
|
||||
"github.com/Coffey-Labs/stalwart-migrator/internal/checkpoint"
|
||||
"github.com/Coffey-Labs/stalwart-migrator/internal/cutover"
|
||||
"github.com/Coffey-Labs/stalwart-migrator/internal/plan"
|
||||
"github.com/Coffey-Labs/stalwart-migrator/internal/preflight"
|
||||
"github.com/Coffey-Labs/stalwart-migrator/internal/recovery"
|
||||
"github.com/Coffey-Labs/stalwart-migrator/internal/service"
|
||||
"github.com/Coffey-Labs/stalwart-migrator/internal/stage"
|
||||
"github.com/Coffey-Labs/stalwart-migrator/internal/validate"
|
||||
)
|
||||
|
||||
// runRun implements `stalwart-migrate run`: the real migration.
|
||||
|
||||
@@ -8,7 +8,7 @@ import (
|
||||
"fmt"
|
||||
"strings"
|
||||
|
||||
"github.com/LINUXexpert-org/stalwart-migrator/internal/checkpoint"
|
||||
"github.com/Coffey-Labs/stalwart-migrator/internal/checkpoint"
|
||||
)
|
||||
|
||||
func runStatus(args []string) error {
|
||||
|
||||
@@ -11,7 +11,7 @@ import (
|
||||
"os"
|
||||
"sort"
|
||||
|
||||
"github.com/LINUXexpert-org/stalwart-migrator/internal/stalwartapi"
|
||||
"github.com/Coffey-Labs/stalwart-migrator/internal/stalwartapi"
|
||||
)
|
||||
|
||||
// runTenants prints who owns what, read-only.
|
||||
|
||||
Reference in New Issue
Block a user