Repository: argoproj-labs/argo-rollouts-manager
Pull request #14 (2023-05-15 02:38:29)

feat: update the module and import paths to argoproj-labs
This is the first commit after moving the project from `iam-veeramalla` personal project to `argoproj-labs`.

This change aims at updating the import paths and module name from `iam-veeramalla` to `argoproj-labs`.


Patch:
diff --git a/PROJECT b/PROJECT
index fc00366..feec6ab 100644
--- a/PROJECT
+++ b/PROJECT
@@ -8,7 +8,7 @@ plugins:
   manifests.sdk.operatorframework.io/v2: {}
   scorecard.sdk.operatorframework.io/v2: {}
 projectName: argo-rollouts-manager
-repo: github.com/iam-veeramalla/argo-rollouts-manager
+repo: github.com/argoproj-labs/argo-rollouts-manager
 resources:
 - api:
     crdVersion: v1
@@ -16,6 +16,6 @@ resources:
   controller: true
   group: argoproj.io
   kind: RolloutManager
-  path: github.com/iam-veeramalla/argo-rollouts-manager/api/v1alpha1
+  path: github.com/argoproj-labs/argo-rollouts-manager/api/v1alpha1
   version: v1alpha1
 version: "3"
diff --git a/controllers/argorollouts_controller.go b/controllers/argorollouts_controller.go
index a866bdd..1329448 100644
--- a/controllers/argorollouts_controller.go
+++ b/controllers/argorollouts_controller.go
@@ -19,7 +19,7 @@ package rollouts
 import (
 	"context"
 
-	rolloutsApi "github.com/iam-veeramalla/argo-rollouts-manager/api/v1alpha1"
+	rolloutsApi "github.com/argoproj-labs/argo-rollouts-manager/api/v1alpha1"
 	"k8s.io/apimachinery/pkg/api/errors"
 	"k8s.io/apimachinery/pkg/runtime"
 	ctrl "sigs.k8s.io/controller-runtime"
diff --git a/controllers/deployment.go b/controllers/deployment.go
index 87b2e13..4cbb1e6 100644
--- a/controllers/deployment.go
+++ b/controllers/deployment.go
@@ -6,7 +6,7 @@ import (
 	"os"
 	"reflect"
 
-	rolloutsApi "github.com/iam-veeramalla/argo-rollouts-manager/api/v1alpha1"
+	rolloutsApi "github.com/argoproj-labs/argo-rollouts-manager/api/v1alpha1"
 	appsv1 "k8s.io/api/apps/v1"
 	corev1 "k8s.io/api/core/v1"
 	"k8s.io/apimachinery/pkg/api/errors"
diff --git a/controllers/reconcile.go b/controllers/reconcile.go
index 09d7764..88ed8eb 100644
--- a/controllers/reconcile.go
+++ b/controllers/reconcile.go
@@ -1,7 +1,7 @@
 package rollouts
 
 import (
-	rolloutsApi "github.com/iam-veeramalla/argo-rollouts-manager/api/v1alpha1"
+	rolloutsApi "github.com/argoproj-labs/argo-rollouts-manager/api/v1alpha1"
 )
 
 func (r *RolloutManagerReconciler) reconcileRolloutsController(cr *rolloutsApi.RolloutManager) error {
diff --git a/controllers/resources.go b/controllers/resources.go
index c32de2b..3176616 100644
--- a/controllers/resources.go
+++ b/controllers/resources.go
@@ -5,7 +5,7 @@ import (
 	"fmt"
 	"reflect"
 
-	rolloutsApi "github.com/iam-veeramalla/argo-rollouts-manager/api/v1alpha1"
+	rolloutsApi "github.com/argoproj-labs/argo-rollouts-manager/api/v1alpha1"
 	appsv1 "k8s.io/api/apps/v1"
 	corev1 "k8s.io/api/core/v1"
 	v1 "k8s.io/api/rbac/v1"
diff --git a/controllers/status.go b/controllers/status.go
index 0ee319f..de92a94 100644
--- a/controllers/status.go
+++ b/controllers/status.go
@@ -3,7 +3,7 @@ package rollouts
 import (
 	"context"
 
-	rolloutsApi "github.com/iam-veeramalla/argo-rollouts-manager/api/v1alpha1"
+	rolloutsApi "github.com/argoproj-labs/argo-rollouts-manager/api/v1alpha1"
 	appsv1 "k8s.io/api/apps/v1"
 	"k8s.io/apimachinery/pkg/api/errors"
 )
diff --git a/controllers/watchers.go b/controllers/watchers.go
index d03300c..ade6b20 100644
--- a/controllers/watchers.go
+++ b/controllers/watchers.go
@@ -1,7 +1,7 @@
 package rollouts
 
 import (
-	rolloutsApi "github.com/iam-veeramalla/argo-rollouts-manager/api/v1alpha1"
+	rolloutsApi "github.com/argoproj-labs/argo-rollouts-manager/api/v1alpha1"
 	appsv1 "k8s.io/api/apps/v1"
 	corev1 "k8s.io/api/core/v1"
 	v1 "k8s.io/api/rbac/v1"
diff --git a/go.mod b/go.mod
index 386b338..5479de6 100644
--- a/go.mod
+++ b/go.mod
@@ -1,4 +1,4 @@
-module github.com/iam-veeramalla/argo-rollouts-manager
+module github.com/argoproj-labs/argo-rollouts-manager
 
 go 1.19
 
diff --git a/main.go b/main.go
index 7bd4203..cf02030 100644
--- a/main.go
+++ b/main.go
@@ -31,8 +31,8 @@ import (
 	"sigs.k8s.io/controller-runtime/pkg/healthz"
 	"sigs.k8s.io/controller-runtime/pkg/log/zap"
 
-	argoprojiov1alpha1 "github.com/iam-veeramalla/argo-rollouts-manager/api/v1alpha1"
-	rolloutsApi "github.com/iam-veeramalla/argo-rollouts-manager/controllers"
+	argoprojiov1alpha1 "github.com/argoproj-labs/argo-rollouts-manager/api/v1alpha1"
+	rolloutsApi "github.com/argoproj-labs/argo-rollouts-manager/controllers"
 	//+kubebuilder:scaffold:imports
 )
 
diff --git a/mkdocs.yml b/mkdocs.yml
index c76f7f2..b82b69f 100644
--- a/mkdocs.yml
+++ b/mkdocs.yml
@@ -1,6 +1,6 @@
 site_name: Argo Rollouts Manager
 site_url: ""
-repo_url: https://github.com/iam-veeramalla/argo-rollouts-manager
+repo_url: https://github.com/argoproj-labs/argo-rollouts-manager
 strict: true
 theme:
   name: material


Test patch:
diff --git a/controllers/testing.go b/controllers/testing.go
index 8a11854..148d908 100644
--- a/controllers/testing.go
+++ b/controllers/testing.go
@@ -4,7 +4,7 @@ import (
 	"context"
 	"testing"
 
-	rolloutsApi "github.com/iam-veeramalla/argo-rollouts-manager/api/v1alpha1"
+	rolloutsApi "github.com/argoproj-labs/argo-rollouts-manager/api/v1alpha1"
 	"github.com/stretchr/testify/assert"
 	corev1 "k8s.io/api/core/v1"
 	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"