Skip to content

Commit

Permalink
chore: rename github org to gordian-engine
Browse files Browse the repository at this point in the history
The gordian repo is moving to that org.

Did a global find and replace with:

    export CUR="github.com/rollchains/gordian"
    export NEW="github.com/gordian-engine/gordian"
    go mod edit -module "${NEW}"
    find . -type f -name '*.go' -exec perl -pi -e 's/$ENV{CUR}/$ENV{NEW}/g' {} \;

Then I needed to update go.mod for tmsqlite and gcosmos, and then I ran
go fmt ./... in each module.
  • Loading branch information
mark-rushakoff committed Oct 24, 2024
1 parent 09079d3 commit 7e3929b
Show file tree
Hide file tree
Showing 197 changed files with 617 additions and 617 deletions.
8 changes: 4 additions & 4 deletions cmd/gordian-echo/echoapp.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ import (
"log/slog"
"sync"

"github.com/rollchains/gordian/gcrypto"
"github.com/rollchains/gordian/internal/glog"
"github.com/rollchains/gordian/tm/tmconsensus"
"github.com/rollchains/gordian/tm/tmdriver"
"github.com/gordian-engine/gordian/gcrypto"
"github.com/gordian-engine/gordian/internal/glog"
"github.com/gordian-engine/gordian/tm/tmconsensus"
"github.com/gordian-engine/gordian/tm/tmdriver"
)

type echoConfig struct {
Expand Down
24 changes: 12 additions & 12 deletions cmd/gordian-echo/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,23 +10,23 @@ import (
"os/signal"
"strings"

"github.com/gordian-engine/gordian/cmd/internal/gcmd"
"github.com/gordian-engine/gordian/gcrypto"
"github.com/gordian-engine/gordian/gwatchdog"
"github.com/gordian-engine/gordian/tm/tmcodec/tmjson"
"github.com/gordian-engine/gordian/tm/tmconsensus"
"github.com/gordian-engine/gordian/tm/tmconsensus/tmconsensustest"
"github.com/gordian-engine/gordian/tm/tmdebug"
"github.com/gordian-engine/gordian/tm/tmdriver"
"github.com/gordian-engine/gordian/tm/tmengine"
"github.com/gordian-engine/gordian/tm/tmgossip"
"github.com/gordian-engine/gordian/tm/tmp2p/tmlibp2p"
"github.com/gordian-engine/gordian/tm/tmstore/tmmemstore"
"github.com/libp2p/go-libp2p"
dht "github.com/libp2p/go-libp2p-kad-dht"
libp2pevent "github.com/libp2p/go-libp2p/core/event"
libp2phost "github.com/libp2p/go-libp2p/core/host"
libp2ppeer "github.com/libp2p/go-libp2p/core/peer"
"github.com/rollchains/gordian/cmd/internal/gcmd"
"github.com/rollchains/gordian/gcrypto"
"github.com/rollchains/gordian/gwatchdog"
"github.com/rollchains/gordian/tm/tmcodec/tmjson"
"github.com/rollchains/gordian/tm/tmconsensus"
"github.com/rollchains/gordian/tm/tmconsensus/tmconsensustest"
"github.com/rollchains/gordian/tm/tmdebug"
"github.com/rollchains/gordian/tm/tmdriver"
"github.com/rollchains/gordian/tm/tmengine"
"github.com/rollchains/gordian/tm/tmgossip"
"github.com/rollchains/gordian/tm/tmp2p/tmlibp2p"
"github.com/rollchains/gordian/tm/tmstore/tmmemstore"
"github.com/spf13/cobra"
)

Expand Down
2 changes: 1 addition & 1 deletion cmd/gordian-stress/integration_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
"sync"
"testing"

"github.com/rollchains/gordian/internal/gtest"
"github.com/gordian-engine/gordian/internal/gtest"
"github.com/stretchr/testify/require"
)

Expand Down
4 changes: 2 additions & 2 deletions cmd/gordian-stress/internal/gstress/bootstrap_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ import (
"testing"
"time"

"github.com/gordian-engine/gordian/internal/gtest"
"github.com/gordian-engine/gordian/tm/tmconsensus/tmconsensustest"
libp2pping "github.com/libp2p/go-libp2p/p2p/protocol/ping"
"github.com/rollchains/gordian/internal/gtest"
"github.com/rollchains/gordian/tm/tmconsensus/tmconsensustest"
"github.com/stretchr/testify/require"
)

Expand Down
4 changes: 2 additions & 2 deletions cmd/gordian-stress/internal/gstress/bootstrapclient.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ import (
"strings"
"time"

"github.com/rollchains/gordian/gcrypto"
"github.com/rollchains/gordian/tm/tmconsensus"
"github.com/gordian-engine/gordian/gcrypto"
"github.com/gordian-engine/gordian/tm/tmconsensus"
"github.com/tv42/httpunix"
)

Expand Down
6 changes: 3 additions & 3 deletions cmd/gordian-stress/internal/gstress/bootstraphost.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ import (
"sync"
"time"

"github.com/gordian-engine/gordian/gcrypto"
"github.com/gordian-engine/gordian/internal/glog"
"github.com/gordian-engine/gordian/tm/tmconsensus"
"github.com/gorilla/mux"
"github.com/rollchains/gordian/gcrypto"
"github.com/rollchains/gordian/internal/glog"
"github.com/rollchains/gordian/tm/tmconsensus"
)

// BootstrapHost is the host portion for bootstrapping a stress cluster.
Expand Down
2 changes: 1 addition & 1 deletion cmd/gordian-stress/internal/gstress/bstate.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"slices"
"sync"

"github.com/rollchains/gordian/tm/tmconsensus"
"github.com/gordian-engine/gordian/tm/tmconsensus"
)

type bState struct {
Expand Down
6 changes: 3 additions & 3 deletions cmd/gordian-stress/internal/gstress/fixture_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@ import (
"os"
"testing"

"github.com/gordian-engine/gordian/cmd/gordian-stress/internal/gstress"
"github.com/gordian-engine/gordian/internal/gtest"
"github.com/gordian-engine/gordian/tm/tmp2p/tmlibp2p"
"github.com/libp2p/go-libp2p"
libp2phost "github.com/libp2p/go-libp2p/core/host"
libp2ppeer "github.com/libp2p/go-libp2p/core/peer"
"github.com/rollchains/gordian/cmd/gordian-stress/internal/gstress"
"github.com/rollchains/gordian/internal/gtest"
"github.com/rollchains/gordian/tm/tmp2p/tmlibp2p"
"github.com/stretchr/testify/require"
)

Expand Down
6 changes: 3 additions & 3 deletions cmd/gordian-stress/internal/gstress/seed.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@ import (
"net/rpc"
"sync"

"github.com/gordian-engine/gordian/gcrypto"
"github.com/gordian-engine/gordian/tm/tmconsensus"
"github.com/gordian-engine/gordian/tm/tmengine"
libp2phost "github.com/libp2p/go-libp2p/core/host"
libp2pnetwork "github.com/libp2p/go-libp2p/core/network"
libp2ppeer "github.com/libp2p/go-libp2p/core/peer"
"github.com/rollchains/gordian/gcrypto"
"github.com/rollchains/gordian/tm/tmconsensus"
"github.com/rollchains/gordian/tm/tmengine"
)

// SeedService is the libp2p stream handler for the seed service,
Expand Down
8 changes: 4 additions & 4 deletions cmd/gordian-stress/internal/gstress/seedrpc_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ import (
"net/rpc"
"testing"

"github.com/rollchains/gordian/cmd/gordian-stress/internal/gstress"
"github.com/rollchains/gordian/internal/gtest"
"github.com/rollchains/gordian/tm/tmconsensus/tmconsensustest"
"github.com/rollchains/gordian/tm/tmengine"
"github.com/gordian-engine/gordian/cmd/gordian-stress/internal/gstress"
"github.com/gordian-engine/gordian/internal/gtest"
"github.com/gordian-engine/gordian/tm/tmconsensus/tmconsensustest"
"github.com/gordian-engine/gordian/tm/tmengine"
"github.com/stretchr/testify/require"
)

Expand Down
24 changes: 12 additions & 12 deletions cmd/gordian-stress/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,22 +14,22 @@ import (
"time"

petname "github.com/dustinkirkland/golang-petname"
"github.com/gordian-engine/gordian/cmd/gordian-stress/internal/gstress"
"github.com/gordian-engine/gordian/cmd/internal/gcmd"
"github.com/gordian-engine/gordian/gcrypto"
"github.com/gordian-engine/gordian/gwatchdog"
"github.com/gordian-engine/gordian/tm/tmcodec/tmjson"
"github.com/gordian-engine/gordian/tm/tmconsensus"
"github.com/gordian-engine/gordian/tm/tmconsensus/tmconsensustest"
"github.com/gordian-engine/gordian/tm/tmdriver"
"github.com/gordian-engine/gordian/tm/tmengine"
"github.com/gordian-engine/gordian/tm/tmgossip"
"github.com/gordian-engine/gordian/tm/tmp2p/tmlibp2p"
"github.com/gordian-engine/gordian/tm/tmstore/tmmemstore"
"github.com/libp2p/go-libp2p"
dht "github.com/libp2p/go-libp2p-kad-dht"
libp2phost "github.com/libp2p/go-libp2p/core/host"
libp2ppeer "github.com/libp2p/go-libp2p/core/peer"
"github.com/rollchains/gordian/cmd/gordian-stress/internal/gstress"
"github.com/rollchains/gordian/cmd/internal/gcmd"
"github.com/rollchains/gordian/gcrypto"
"github.com/rollchains/gordian/gwatchdog"
"github.com/rollchains/gordian/tm/tmcodec/tmjson"
"github.com/rollchains/gordian/tm/tmconsensus"
"github.com/rollchains/gordian/tm/tmconsensus/tmconsensustest"
"github.com/rollchains/gordian/tm/tmdriver"
"github.com/rollchains/gordian/tm/tmengine"
"github.com/rollchains/gordian/tm/tmgossip"
"github.com/rollchains/gordian/tm/tmp2p/tmlibp2p"
"github.com/rollchains/gordian/tm/tmstore/tmmemstore"
"github.com/spf13/cobra"
)

Expand Down
8 changes: 4 additions & 4 deletions cmd/internal/gcmd/echoapp.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ import (
"log/slog"
"sync"

"github.com/rollchains/gordian/gcrypto"
"github.com/rollchains/gordian/internal/glog"
"github.com/rollchains/gordian/tm/tmconsensus"
"github.com/rollchains/gordian/tm/tmdriver"
"github.com/gordian-engine/gordian/gcrypto"
"github.com/gordian-engine/gordian/internal/glog"
"github.com/gordian-engine/gordian/tm/tmconsensus"
"github.com/gordian-engine/gordian/tm/tmdriver"
)

type EchoApp struct {
Expand Down
2 changes: 1 addition & 1 deletion cmd/internal/gcmd/passphrase.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ package gcmd
import (
"crypto/ed25519"

"github.com/gordian-engine/gordian/gcrypto"
libp2pcrypto "github.com/libp2p/go-libp2p/core/crypto"
"github.com/rollchains/gordian/gcrypto"
"golang.org/x/crypto/blake2b"
)

Expand Down
2 changes: 1 addition & 1 deletion gassert/cmd/generate-nodebug/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ func RewriteSource(srcName string, in []byte, w io.Writer) error {

fmt.Fprintf(w, `//go:build !debug
// Code generated by github.com/rollchains/gordian/gassert/cmd/generate-nodebug %s; DO NOT EDIT.
// Code generated by github.com/gordian-engine/gordian/gassert/cmd/generate-nodebug %s; DO NOT EDIT.
package %s`, srcName, f.Name.Name)

Expand Down
16 changes: 8 additions & 8 deletions gassert/cmd/generate-nodebug/main_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ func (s *S) invariantBuiltinArg(n int) {

exp := `//go:build !debug
// Code generated by github.com/rollchains/gordian/gassert/cmd/generate-nodebug s_debug.go; DO NOT EDIT.
// Code generated by github.com/gordian-engine/gordian/gassert/cmd/generate-nodebug s_debug.go; DO NOT EDIT.
package foo
Expand Down Expand Up @@ -81,7 +81,7 @@ func (s S) invariantCloseReader(rc io.ReadCloser) {

exp := `//go:build !debug
// Code generated by github.com/rollchains/gordian/gassert/cmd/generate-nodebug r_debug.go; DO NOT EDIT.
// Code generated by github.com/gordian-engine/gordian/gassert/cmd/generate-nodebug r_debug.go; DO NOT EDIT.
package foo
Expand Down Expand Up @@ -117,7 +117,7 @@ func (s S) invariantTwoExternalTypes(a pkg1.A, b pkg2.B) {

exp := `//go:build !debug
// Code generated by github.com/rollchains/gordian/gassert/cmd/generate-nodebug r_debug.go; DO NOT EDIT.
// Code generated by github.com/gordian-engine/gordian/gassert/cmd/generate-nodebug r_debug.go; DO NOT EDIT.
package usethirdparty
Expand Down Expand Up @@ -155,7 +155,7 @@ func (s S) invariantThreeExternalTypes(a pkg1.A, b pkg2.B, c pkg3.C) {

exp := `//go:build !debug
// Code generated by github.com/rollchains/gordian/gassert/cmd/generate-nodebug r_debug.go; DO NOT EDIT.
// Code generated by github.com/gordian-engine/gordian/gassert/cmd/generate-nodebug r_debug.go; DO NOT EDIT.
package usethirdparty
Expand Down Expand Up @@ -194,7 +194,7 @@ func (s S) invariantReaderA(r io.Reader, a pkg1.A) {

exp := `//go:build !debug
// Code generated by github.com/rollchains/gordian/gassert/cmd/generate-nodebug r_debug.go; DO NOT EDIT.
// Code generated by github.com/gordian-engine/gordian/gassert/cmd/generate-nodebug r_debug.go; DO NOT EDIT.
package mixed
Expand Down Expand Up @@ -232,7 +232,7 @@ func (s S) invariantReaderHTTP(r io.Reader, req *http.Request) {

exp := `//go:build !debug
// Code generated by github.com/rollchains/gordian/gassert/cmd/generate-nodebug r_debug.go; DO NOT EDIT.
// Code generated by github.com/gordian-engine/gordian/gassert/cmd/generate-nodebug r_debug.go; DO NOT EDIT.
package stdlibslashes
Expand Down Expand Up @@ -278,7 +278,7 @@ func invariantThirdParty(a pkg1.A) {

exp := `//go:build !debug
// Code generated by github.com/rollchains/gordian/gassert/cmd/generate-nodebug r_debug.go; DO NOT EDIT.
// Code generated by github.com/gordian-engine/gordian/gassert/cmd/generate-nodebug r_debug.go; DO NOT EDIT.
package pathological
Expand Down Expand Up @@ -338,7 +338,7 @@ func invariantWriterBareSingleReturn(w io.Writer) pkg1.A {

exp := `//go:build !debug
// Code generated by github.com/rollchains/gordian/gassert/cmd/generate-nodebug r_debug.go; DO NOT EDIT.
// Code generated by github.com/gordian-engine/gordian/gassert/cmd/generate-nodebug r_debug.go; DO NOT EDIT.
package pathological
Expand Down
2 changes: 1 addition & 1 deletion gassert/env_debug_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (
"strings"
"testing"

"github.com/rollchains/gordian/gassert"
"github.com/gordian-engine/gordian/gassert"
"github.com/stretchr/testify/require"
)

Expand Down
2 changes: 1 addition & 1 deletion gassert/gasserttest/defaultenv_debug.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

package gasserttest

import "github.com/rollchains/gordian/gassert"
import "github.com/gordian-engine/gordian/gassert"

// DefaultEnv returns an assertion environment that enables all assertion checks.
func DefaultEnv() gassert.Env {
Expand Down
2 changes: 1 addition & 1 deletion gassert/gasserttest/defaultenv_nodebug.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

package gasserttest

import "github.com/rollchains/gordian/gassert"
import "github.com/gordian-engine/gordian/gassert"

// DefaultEnv returns the no-op Env, in non-debug builds.
func DefaultEnv() gassert.Env {
Expand Down
2 changes: 1 addition & 1 deletion gcosmos/gccrypto/gcsecp256k1/secp256k1.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"context"

"github.com/cosmos/cosmos-sdk/crypto/keys/secp256k1"
"github.com/rollchains/gordian/gcrypto"
"github.com/gordian-engine/gordian/gcrypto"
)

var _ gcrypto.Signer = Signer{}
Expand Down
2 changes: 1 addition & 1 deletion gcosmos/gcstore/errors_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"errors"
"testing"

"github.com/rollchains/gordian/gcosmos/gcstore"
"github.com/gordian-engine/gordian/gcosmos/gcstore"
"github.com/stretchr/testify/require"
)

Expand Down
2 changes: 1 addition & 1 deletion gcosmos/gcstore/gcmemstore/blockdatastore.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"fmt"
"sync"

"github.com/rollchains/gordian/gcosmos/gcstore"
"github.com/gordian-engine/gordian/gcosmos/gcstore"
)

type BlockDataStore struct {
Expand Down
6 changes: 3 additions & 3 deletions gcosmos/gcstore/gcmemstore/blockdatastore_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ package gcmemstore_test
import (
"testing"

"github.com/rollchains/gordian/gcosmos/gcstore"
"github.com/rollchains/gordian/gcosmos/gcstore/gcmemstore"
"github.com/rollchains/gordian/gcosmos/gcstore/gcstoretest"
"github.com/gordian-engine/gordian/gcosmos/gcstore"
"github.com/gordian-engine/gordian/gcosmos/gcstore/gcmemstore"
"github.com/gordian-engine/gordian/gcosmos/gcstore/gcstoretest"
)

func TestBlockDataStoreCompliance(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion gcosmos/gcstore/gcstoretest/blockdatastorecompliance.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"context"
"testing"

"github.com/rollchains/gordian/gcosmos/gcstore"
"github.com/gordian-engine/gordian/gcosmos/gcstore"
"github.com/stretchr/testify/require"
)

Expand Down
2 changes: 1 addition & 1 deletion gcosmos/go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module github.com/rollchains/gordian/gcosmos
module github.com/gordian-engine/gordian/gcosmos

go 1.23

Expand Down
2 changes: 1 addition & 1 deletion gcosmos/gserver/commands.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ import (
"github.com/cometbft/cometbft/privval"
"github.com/cosmos/cosmos-sdk/client"
cryptocodec "github.com/cosmos/cosmos-sdk/crypto/codec"
"github.com/gordian-engine/gordian/tm/tmp2p/tmlibp2p"
"github.com/libp2p/go-libp2p"
dht "github.com/libp2p/go-libp2p-kad-dht"
libp2phost "github.com/libp2p/go-libp2p/core/host"
libp2ppeer "github.com/libp2p/go-libp2p/core/peer"
"github.com/rollchains/gordian/tm/tmp2p/tmlibp2p"
"github.com/spf13/cobra"
)

Expand Down
Loading

0 comments on commit 7e3929b

Please sign in to comment.