Skip to content

Commit

Permalink
Rename (flyteorg#73)
Browse files Browse the repository at this point in the history
* first pass at updating references

* update module name

* update boilerplate mod

* remove version

* mor

* mockery

* maybe

* mor

* replace replace

* trying something

* other
  • Loading branch information
brucearctor committed Feb 23, 2021
1 parent 467e7b4 commit 67cbb8d
Show file tree
Hide file tree
Showing 66 changed files with 127 additions and 193 deletions.
4 changes: 2 additions & 2 deletions flytestdlib/boilerplate/lyft/golang_support_tools/tools.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
package tools

import (
_ "github.com/alvaroloes/enumer"
_ "github.com/flyteorg/flytestdlib/cli/pflags"
_ "github.com/golangci/golangci-lint/cmd/golangci-lint"
_ "github.com/lyft/flytestdlib/cli/pflags"
_ "github.com/vektra/mockery/cmd/mockery"
_ "github.com/alvaroloes/enumer"
)
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ set -e
# List of tools to go get
# In the format of "<cli>:<package>" or ":<package>" if no cli
tools=(
"github.com/vektra/mockery/cmd/mockery"
"github.com/vektra/mockery"
"github.com/lyft/flytestdlib/cli/pflags"
"github.com/golangci/golangci-lint/cmd/golangci-lint"
"github.com/alvaroloes/enumer"
Expand Down
8 changes: 4 additions & 4 deletions flytestdlib/cache/auto_refresh.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,16 @@ import (
"fmt"
"time"

"github.com/lyft/flytestdlib/contextutils"
"github.com/flyteorg/flytestdlib/contextutils"

"k8s.io/client-go/util/workqueue"

"github.com/lyft/flytestdlib/errors"
"github.com/flyteorg/flytestdlib/errors"

"github.com/lyft/flytestdlib/logger"
"github.com/flyteorg/flytestdlib/logger"

"github.com/flyteorg/flytestdlib/promutils"
lru "github.com/hashicorp/golang-lru"
"github.com/lyft/flytestdlib/promutils"
"github.com/prometheus/client_golang/prometheus"
"k8s.io/apimachinery/pkg/util/wait"
)
Expand Down
4 changes: 2 additions & 2 deletions flytestdlib/cache/auto_refresh_example_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ import (

"k8s.io/client-go/util/workqueue"

"github.com/lyft/flytestdlib/errors"
"github.com/flyteorg/flytestdlib/errors"

"github.com/lyft/flytestdlib/promutils"
"github.com/flyteorg/flytestdlib/promutils"
)

type ExampleItemStatus string
Expand Down
6 changes: 3 additions & 3 deletions flytestdlib/cache/auto_refresh_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@ import (
"testing"
"time"

"github.com/lyft/flytestdlib/atomic"
"github.com/flyteorg/flytestdlib/atomic"

"k8s.io/client-go/util/workqueue"

"github.com/lyft/flytestdlib/errors"
"github.com/flyteorg/flytestdlib/errors"

"github.com/lyft/flytestdlib/promutils"
"github.com/flyteorg/flytestdlib/promutils"

"github.com/stretchr/testify/assert"
)
Expand Down
2 changes: 1 addition & 1 deletion flytestdlib/cache/mocks/AutoRefresh.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion flytestdlib/cache/mocks/ItemWrapper.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion flytestdlib/cli/pflags/api/generator.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"path/filepath"
"strings"

"github.com/lyft/flytestdlib/logger"
"github.com/flyteorg/flytestdlib/logger"

"golang.org/x/tools/go/packages"

Expand Down
2 changes: 1 addition & 1 deletion flytestdlib/cli/pflags/api/generator_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ func TestElemValueOrNil(t *testing.T) {
}

func TestNewGenerator(t *testing.T) {
g, err := NewGenerator("github.com/lyft/flytestdlib/cli/pflags/api", "TestType", "DefaultTestType")
g, err := NewGenerator("github.com/flyteorg/flytestdlib/cli/pflags/api", "TestType", "DefaultTestType")
if !assert.NoError(t, err) {
t.FailNow()
}
Expand Down
2 changes: 1 addition & 1 deletion flytestdlib/cli/pflags/api/sample.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"encoding/json"
"errors"

"github.com/lyft/flytestdlib/storage"
"github.com/flyteorg/flytestdlib/storage"
)

var DefaultTestType = &TestType{
Expand Down
4 changes: 2 additions & 2 deletions flytestdlib/cli/pflags/cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ import (
"fmt"
"strings"

"github.com/lyft/flytestdlib/cli/pflags/api"
"github.com/lyft/flytestdlib/logger"
"github.com/flyteorg/flytestdlib/cli/pflags/api"
"github.com/flyteorg/flytestdlib/logger"
"github.com/spf13/cobra"
)

Expand Down
2 changes: 1 addition & 1 deletion flytestdlib/cli/pflags/cmd/version.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package cmd

import (
"github.com/lyft/flytestdlib/version"
"github.com/flyteorg/flytestdlib/version"
"github.com/spf13/cobra"
)

Expand Down
2 changes: 1 addition & 1 deletion flytestdlib/cli/pflags/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ package main
import (
"log"

"github.com/lyft/flytestdlib/cli/pflags/cmd"
"github.com/flyteorg/flytestdlib/cli/pflags/cmd"
)

func main() {
Expand Down
2 changes: 1 addition & 1 deletion flytestdlib/config/regexp_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"reflect"
"testing"

"github.com/lyft/flytestdlib/internal/utils"
"github.com/flyteorg/flytestdlib/internal/utils"

"github.com/stretchr/testify/assert"
)
Expand Down
2 changes: 1 addition & 1 deletion flytestdlib/config/section.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
"strings"
"sync"

"github.com/lyft/flytestdlib/atomic"
"github.com/flyteorg/flytestdlib/atomic"

"github.com/spf13/pflag"
)
Expand Down
2 changes: 1 addition & 1 deletion flytestdlib/config/section_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ import (

"k8s.io/apimachinery/pkg/util/rand"

"github.com/flyteorg/flytestdlib/internal/utils"
"github.com/ghodss/yaml"
"github.com/lyft/flytestdlib/internal/utils"
"github.com/spf13/pflag"

"github.com/stretchr/testify/assert"
Expand Down
4 changes: 2 additions & 2 deletions flytestdlib/config/tests/accessor_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ import (

k8sRand "k8s.io/apimachinery/pkg/util/rand"

"github.com/lyft/flytestdlib/config"
"github.com/lyft/flytestdlib/internal/utils"
"github.com/flyteorg/flytestdlib/config"
"github.com/flyteorg/flytestdlib/internal/utils"
"github.com/spf13/pflag"

"github.com/ghodss/yaml"
Expand Down
2 changes: 1 addition & 1 deletion flytestdlib/config/tests/config_cmd_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"os"
"testing"

"github.com/lyft/flytestdlib/config"
"github.com/flyteorg/flytestdlib/config"

"github.com/spf13/cobra"
"github.com/stretchr/testify/assert"
Expand Down
4 changes: 2 additions & 2 deletions flytestdlib/config/tests/types_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ package tests
import (
"fmt"

"github.com/lyft/flytestdlib/config"
"github.com/lyft/flytestdlib/config/viper"
"github.com/flyteorg/flytestdlib/config"
"github.com/flyteorg/flytestdlib/config/viper"
"github.com/spf13/pflag"
)

Expand Down
2 changes: 1 addition & 1 deletion flytestdlib/config/url_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"reflect"
"testing"

"github.com/lyft/flytestdlib/internal/utils"
"github.com/flyteorg/flytestdlib/internal/utils"

"github.com/stretchr/testify/assert"
)
Expand Down
2 changes: 1 addition & 1 deletion flytestdlib/config/utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (

"github.com/pkg/errors"

stdLibErrs "github.com/lyft/flytestdlib/errors"
stdLibErrs "github.com/flyteorg/flytestdlib/errors"
)

// Uses Json marshal/unmarshal to make a deep copy of a config object.
Expand Down
4 changes: 2 additions & 2 deletions flytestdlib/config/viper/collection.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ import (
"os"
"strings"

"github.com/lyft/flytestdlib/errors"
"github.com/flyteorg/flytestdlib/errors"

"github.com/lyft/flytestdlib/logger"
"github.com/flyteorg/flytestdlib/logger"

viperLib "github.com/spf13/viper"

Expand Down
8 changes: 4 additions & 4 deletions flytestdlib/config/viper/viper.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@ import (

"github.com/pkg/errors"

stdLibErrs "github.com/lyft/flytestdlib/errors"
stdLibErrs "github.com/flyteorg/flytestdlib/errors"

"github.com/spf13/cobra"

"github.com/lyft/flytestdlib/config"
"github.com/lyft/flytestdlib/config/files"
"github.com/lyft/flytestdlib/logger"
"github.com/flyteorg/flytestdlib/config"
"github.com/flyteorg/flytestdlib/config/files"
"github.com/flyteorg/flytestdlib/logger"

"github.com/fsnotify/fsnotify"
"github.com/mitchellh/mapstructure"
Expand Down
11 changes: 1 addition & 10 deletions flytestdlib/go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module github.com/lyft/flytestdlib
module github.com/flyteorg/flytestdlib

go 1.13

Expand All @@ -8,24 +8,19 @@ require (
github.com/Azure/azure-sdk-for-go v51.0.0+incompatible // indirect
github.com/Azure/go-autorest/autorest v0.11.17 // indirect
github.com/Azure/go-autorest/autorest/adal v0.9.10 // indirect
github.com/armon/consul-api v0.0.0-20180202201655-eb2c6b5be1b6 // indirect
github.com/aws/aws-sdk-go v1.37.1
github.com/benlaurie/objecthash v0.0.0-20180202135721-d1e3d6079fc1
github.com/coocood/freecache v1.1.1
github.com/coreos/go-etcd v2.0.0+incompatible // indirect
github.com/cpuguy83/go-md2man v1.0.10 // indirect
github.com/ernesto-jimenez/gogen v0.0.0-20180125220232-d7d4131e6607
github.com/fatih/color v1.10.0
github.com/fatih/structtag v1.2.0
github.com/fsnotify/fsnotify v1.4.9
github.com/ghodss/yaml v1.0.0
github.com/go-test/deep v1.0.7
github.com/golang/groupcache v0.0.0-20200121045136-8c9f03a8e57e // indirect
github.com/golang/protobuf v1.4.3
github.com/graymeta/stow v0.2.7
github.com/hashicorp/golang-lru v0.5.4
github.com/magiconair/properties v1.8.4
github.com/mattn/go-isatty v0.0.12 // indirect
github.com/mitchellh/mapstructure v1.4.1
github.com/ncw/swift v1.0.53 // indirect
github.com/pelletier/go-toml v1.8.1 // indirect
Expand All @@ -41,9 +36,6 @@ require (
github.com/spf13/viper v1.7.1
github.com/stretchr/objx v0.3.0 // indirect
github.com/stretchr/testify v1.7.0
github.com/ugorji/go v1.1.4 // indirect
github.com/ugorji/go/codec v0.0.0-20181204163529-d75b2dcb6bc8 // indirect
github.com/xordataexchange/crypt v0.0.3-0.20170626215501-b2862e3d0a77 // indirect
go.opencensus.io v0.22.6 // indirect
golang.org/x/crypto v0.0.0-20201221181555-eec23a3978ad // indirect
golang.org/x/mod v0.4.1 // indirect
Expand All @@ -62,7 +54,6 @@ require (
gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b // indirect
k8s.io/apimachinery v0.20.2
k8s.io/client-go v11.0.0+incompatible
k8s.io/klog v1.0.0 // indirect
k8s.io/klog/v2 v2.5.0 // indirect
)

Expand Down
Loading

0 comments on commit 67cbb8d

Please sign in to comment.