Skip to content

Commit 6338a8c

Browse files
committed
CLOUDP-56561: Move to the mongodb namespace
1 parent c3478a3 commit 6338a8c

File tree

63 files changed

+165
-166
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

63 files changed

+165
-166
lines changed

.goreleaser.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ builds:
66
- env:
77
- CGO_ENABLED=0
88
ldflags:
9-
- -s -w -X github.com/10gen/mcli/internal/version.Version={{.Version}}
9+
- -s -w -X github.com/mongodb/mcli/internal/version.Version={{.Version}}
1010
goos:
1111
- darwin
1212
- linux

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ DESTINATION=./bin/${BINARY_NAME}
77
GOLANGCI_VERSION=v1.22.2
88

99
VERSION=$(shell git describe --always --tags)
10-
LINKER_FLAGS=-X github.com/10gen/mcli/internal/version.Version=${VERSION}
10+
LINKER_FLAGS=-X github.com/mongodb/mcli/internal/version.Version=${VERSION}
1111

1212
export PATH := ./bin:$(PATH)
1313
export GO111MODULE := on

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
# Installing
99
## Binary
10-
Download the appropriate version for your platform from [mcli releases](https://github.com/10gen/mcli/releases).
10+
Download the appropriate version for your platform from [mcli releases](https://github.com/mongodb/mcli/releases).
1111
Once downloaded, the binary can be run from anywhere.
1212
You don't need to install it into a global location.
1313
This works well for shared hosts and other systems where you don't have a privileged account.
@@ -24,7 +24,7 @@ Ideally, you should install it somewhere in your PATH for easy use. `/usr/local/
2424
The easiest way to get started is to clone `mcli` and install with go:
2525

2626
```bash
27-
git clone https://github.com/10gen/mcli.git
27+
git clone https://github.com/mongodb/mcli.git
2828
cd mcli
2929
make install
3030
```

cmd/root.go

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,11 @@ import (
1818
"fmt"
1919
"log"
2020

21-
"github.com/10gen/mcli/internal/cli"
22-
"github.com/10gen/mcli/internal/config"
23-
"github.com/10gen/mcli/internal/flags"
24-
"github.com/10gen/mcli/internal/usage"
25-
"github.com/10gen/mcli/internal/version"
21+
"github.com/mongodb/mcli/internal/cli"
22+
"github.com/mongodb/mcli/internal/config"
23+
"github.com/mongodb/mcli/internal/flags"
24+
"github.com/mongodb/mcli/internal/usage"
25+
"github.com/mongodb/mcli/internal/version"
2626
"github.com/spf13/cobra"
2727
)
2828

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
module github.com/10gen/mcli
1+
module github.com/mongodb/mcli
22

33
go 1.13
44

internal/cli/atlas_clusters_create.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,11 @@
1515
package cli
1616

1717
import (
18-
"github.com/10gen/mcli/internal/flags"
19-
"github.com/10gen/mcli/internal/json"
20-
"github.com/10gen/mcli/internal/store"
21-
"github.com/10gen/mcli/internal/usage"
2218
atlas "github.com/mongodb/go-client-mongodb-atlas/mongodbatlas"
19+
"github.com/mongodb/mcli/internal/flags"
20+
"github.com/mongodb/mcli/internal/json"
21+
"github.com/mongodb/mcli/internal/store"
22+
"github.com/mongodb/mcli/internal/usage"
2323
"github.com/spf13/cobra"
2424
)
2525

internal/cli/atlas_clusters_create_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@ package cli
1717
import (
1818
"testing"
1919

20-
"github.com/10gen/mcli/internal/fixtures"
21-
"github.com/10gen/mcli/internal/mocks"
2220
"github.com/golang/mock/gomock"
21+
"github.com/mongodb/mcli/internal/fixtures"
22+
"github.com/mongodb/mcli/internal/mocks"
2323
)
2424

2525
func TestAtlasClustersCreate_Run(t *testing.T) {

internal/cli/atlas_clusters_delete.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@ package cli
1717
import (
1818
"fmt"
1919

20-
"github.com/10gen/mcli/internal/flags"
21-
"github.com/10gen/mcli/internal/store"
22-
"github.com/10gen/mcli/internal/usage"
2320
"github.com/AlecAivazis/survey/v2"
21+
"github.com/mongodb/mcli/internal/flags"
22+
"github.com/mongodb/mcli/internal/store"
23+
"github.com/mongodb/mcli/internal/usage"
2424
"github.com/spf13/cobra"
2525
)
2626

internal/cli/atlas_clusters_delete_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ package cli
1717
import (
1818
"testing"
1919

20-
"github.com/10gen/mcli/internal/mocks"
2120
"github.com/golang/mock/gomock"
21+
"github.com/mongodb/mcli/internal/mocks"
2222
)
2323

2424
func TestAtlasClustersDelete_Run(t *testing.T) {

internal/cli/atlas_clusters_describe.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@
1515
package cli
1616

1717
import (
18-
"github.com/10gen/mcli/internal/flags"
19-
"github.com/10gen/mcli/internal/json"
20-
"github.com/10gen/mcli/internal/store"
21-
"github.com/10gen/mcli/internal/usage"
18+
"github.com/mongodb/mcli/internal/flags"
19+
"github.com/mongodb/mcli/internal/json"
20+
"github.com/mongodb/mcli/internal/store"
21+
"github.com/mongodb/mcli/internal/usage"
2222
"github.com/spf13/cobra"
2323
)
2424

0 commit comments

Comments
 (0)