Skip to content

Commit 86e73b1

Browse files
committed
Update Go module paths from kubeflow/kubeflow to kubeflow/notebooks
- Updated all go.mod files to use github.com/kubeflow/notebooks - Updated all import statements in Go source files - Ran go mod tidy on all components - Verified all components compile successfully Fixes #699 Signed-off-by: Asaad Balum <[email protected]>
1 parent 00c0849 commit 86e73b1

File tree

22 files changed

+31
-35
lines changed

22 files changed

+31
-35
lines changed

components/common/go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
module github.com/kubeflow/kubeflow/components/common
1+
module github.com/kubeflow/notebooks/components/common
22

33
go 1.12

components/notebook-controller/api/v1/notebook_conversion.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ package v1
1818
import (
1919
"sigs.k8s.io/controller-runtime/pkg/conversion"
2020

21-
nbv1beta1 "github.com/kubeflow/kubeflow/components/notebook-controller/api/v1beta1"
21+
nbv1beta1 "github.com/kubeflow/notebooks/components/notebook-controller/api/v1beta1"
2222
)
2323

2424
// ConvertTo converts this Notebook to the Hub version (v1beta1).

components/notebook-controller/api/v1alpha1/notebook_conversion.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ package v1alpha1
1818
import (
1919
"sigs.k8s.io/controller-runtime/pkg/conversion"
2020

21-
nbv1beta1 "github.com/kubeflow/kubeflow/components/notebook-controller/api/v1beta1"
21+
nbv1beta1 "github.com/kubeflow/notebooks/components/notebook-controller/api/v1beta1"
2222
)
2323

2424
// ConvertTo converts this Notebook to the Hub version (v1beta1).

components/notebook-controller/controllers/culling_controller.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ import (
1919
"sigs.k8s.io/controller-runtime/pkg/client"
2020
logf "sigs.k8s.io/controller-runtime/pkg/log"
2121

22-
"github.com/kubeflow/kubeflow/components/notebook-controller/api/v1beta1"
23-
"github.com/kubeflow/kubeflow/components/notebook-controller/pkg/metrics"
22+
"github.com/kubeflow/notebooks/components/notebook-controller/api/v1beta1"
23+
"github.com/kubeflow/notebooks/components/notebook-controller/pkg/metrics"
2424
)
2525

2626
// The constants with name 'DEFAULT_{ENV_Var}' are the default values to be

components/notebook-controller/controllers/notebook_controller.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,9 @@ import (
2525
"time"
2626

2727
"github.com/go-logr/logr"
28-
reconcilehelper "github.com/kubeflow/kubeflow/components/common/reconcilehelper"
29-
"github.com/kubeflow/kubeflow/components/notebook-controller/api/v1beta1"
30-
"github.com/kubeflow/kubeflow/components/notebook-controller/pkg/metrics"
28+
reconcilehelper "github.com/kubeflow/notebooks/components/common/reconcilehelper"
29+
"github.com/kubeflow/notebooks/components/notebook-controller/api/v1beta1"
30+
"github.com/kubeflow/notebooks/components/notebook-controller/pkg/metrics"
3131
appsv1 "k8s.io/api/apps/v1"
3232
corev1 "k8s.io/api/core/v1"
3333
apierrs "k8s.io/apimachinery/pkg/api/errors"

components/notebook-controller/controllers/notebook_controller_bdd_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ import (
2626
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
2727
"k8s.io/apimachinery/pkg/types"
2828

29-
nbv1beta1 "github.com/kubeflow/kubeflow/components/notebook-controller/api/v1beta1"
29+
nbv1beta1 "github.com/kubeflow/notebooks/components/notebook-controller/api/v1beta1"
3030
)
3131

3232
var _ = Describe("Notebook controller", func() {

components/notebook-controller/controllers/notebook_controller_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import (
1414
v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
1515
"k8s.io/client-go/kubernetes/scheme"
1616

17-
nbv1beta1 "github.com/kubeflow/kubeflow/components/notebook-controller/api/v1beta1"
17+
nbv1beta1 "github.com/kubeflow/notebooks/components/notebook-controller/api/v1beta1"
1818
ctrl "sigs.k8s.io/controller-runtime"
1919
)
2020

components/notebook-controller/controllers/suite_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ import (
2020
"path/filepath"
2121
"testing"
2222

23-
controllermetrics "github.com/kubeflow/kubeflow/components/notebook-controller/pkg/metrics"
23+
controllermetrics "github.com/kubeflow/notebooks/components/notebook-controller/pkg/metrics"
2424

2525
. "github.com/onsi/ginkgo"
2626
. "github.com/onsi/gomega"
@@ -33,7 +33,7 @@ import (
3333
logf "sigs.k8s.io/controller-runtime/pkg/log"
3434
"sigs.k8s.io/controller-runtime/pkg/log/zap"
3535

36-
nbv1beta1 "github.com/kubeflow/kubeflow/components/notebook-controller/api/v1beta1"
36+
nbv1beta1 "github.com/kubeflow/notebooks/components/notebook-controller/api/v1beta1"
3737
// +kubebuilder:scaffold:imports
3838
)
3939

components/notebook-controller/go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
module github.com/kubeflow/kubeflow/components/notebook-controller
1+
module github.com/kubeflow/notebooks/components/notebook-controller
22

33
go 1.17
44

components/notebook-controller/go.sum

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -314,8 +314,6 @@ github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ=
314314
github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI=
315315
github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY=
316316
github.com/kr/text v0.2.0/go.mod h1:eLer722TekiGuMkidMxC/pM04lWEeraHUUmBw8l2grE=
317-
github.com/kubeflow/kubeflow/components/common v0.0.0-20220218084159-4ad0158e955e h1:Ud6a+mkZ5pj+QqZnsIPPBk1WrABz1wYcd1n9CYjMMBA=
318-
github.com/kubeflow/kubeflow/components/common v0.0.0-20220218084159-4ad0158e955e/go.mod h1:uj1ImonZ+hHqWKfzZGWjuxl1uODjubBNrg4W8c38/ts=
319317
github.com/magiconair/properties v1.8.1/go.mod h1:PppfXfuXeibc/6YijjN8zIbojt8czPbwD3XqdrwzmxQ=
320318
github.com/magiconair/properties v1.8.5/go.mod h1:y3VJvCyxH9uVvJTWEGAELF3aiYNyPKd5NZ3oSwXrF60=
321319
github.com/mailru/easyjson v0.0.0-20190614124828-94de47d64c63/go.mod h1:C1wdFJiN94OJF2b5HbByQZoLdCWB1Yqtg26g4irojpc=

0 commit comments

Comments
 (0)