Skip to content

Commit a06425a

Browse files
Replace Segmentio referenace to FiveAI
Update `go.mod` and `go.sum`, we are using go modules more. Remove the vendor folder.
1 parent ee876d3 commit a06425a

File tree

868 files changed

+35
-362396
lines changed

Some content is hidden

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

868 files changed

+35
-362396
lines changed

Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ VERSION := $(shell git describe --tags --always --dirty="-dev")
88
LDFLAGS := -ldflags='-X "main.Version=$(VERSION)"'
99

1010
test:
11-
GO111MODULE=on go test -mod=vendor -v ./...
11+
GO111MODULE=on go test -v ./...
1212

1313
all: dist/aws-okta-$(VERSION)-darwin-amd64 dist/aws-okta-$(VERSION)-linux-amd64
1414

@@ -19,9 +19,9 @@ dist/:
1919
mkdir -p dist
2020

2121
dist/aws-okta-$(VERSION)-darwin-amd64: | dist/
22-
GOOS=darwin GOARCH=amd64 GO111MODULE=on go build -mod=vendor $(LDFLAGS) -o $@
22+
GOOS=darwin GOARCH=amd64 GO111MODULE=on go build $(LDFLAGS) -o $@
2323

2424
dist/aws-okta-$(VERSION)-linux-amd64: | dist/
25-
GOOS=linux GOARCH=amd64 GO111MODULE=on go build -mod=vendor $(LDFLAGS) -o $@
25+
GOOS=linux GOARCH=amd64 GO111MODULE=on go build $(LDFLAGS) -o $@
2626

2727
.PHONY: clean all

Makefile.release

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -48,22 +48,22 @@ github-release:
4848
set -o pipefail; \
4949
scripts/changelog | github-release release \
5050
--security-token $$GH_LOGIN \
51-
--user segmentio \
51+
--user fiveai \
5252
--repo aws-okta \
5353
$(GITHUB_RELEASE_FLAGS) \
5454
--tag $(VERSION) \
5555
--description - \
5656
--name $(VERSION) || \
5757
github-release info \
5858
--security-token $$GH_LOGIN \
59-
--user segmentio \
59+
--user fiveai \
6060
--repo aws-okta \
6161
--tag $(VERSION)
6262

6363
publish-github-darwin-bin: dist/aws-okta-$(VERSION)-darwin-amd64 | github-release
6464
github-release upload \
6565
--security-token $$GH_LOGIN \
66-
--user segmentio \
66+
--user fiveai \
6767
--repo aws-okta \
6868
--tag $(VERSION) \
6969
--name aws-okta-$(VERSION)-darwin-amd64 \
@@ -73,7 +73,7 @@ publish-github-darwin-bin: dist/aws-okta-$(VERSION)-darwin-amd64 | github-releas
7373
publish-github-linux-bin: dist/aws-okta-$(VERSION)-linux-amd64 | github-release
7474
github-release upload \
7575
--security-token $$GH_LOGIN \
76-
--user segmentio \
76+
--user fiveai \
7777
--repo aws-okta \
7878
--tag $(VERSION) \
7979
--name aws-okta-$(VERSION)-linux-amd64 \
@@ -83,7 +83,7 @@ publish-github-linux-bin: dist/aws-okta-$(VERSION)-linux-amd64 | github-release
8383
publish-github-deb: dist/aws-okta_$(VERSION)_amd64.deb | github-release
8484
github-release upload \
8585
--security-token $$GH_LOGIN \
86-
--user segmentio \
86+
--user fiveai \
8787
--repo aws-okta \
8888
--tag $(VERSION) \
8989
--name aws-okta_$(VERSION)_amd64.deb \
@@ -93,7 +93,7 @@ publish-github-deb: dist/aws-okta_$(VERSION)_amd64.deb | github-release
9393
publish-github-rpm: dist/aws-okta_$(VERSION)_amd64.rpm | github-release
9494
github-release upload \
9595
--security-token $$GH_LOGIN \
96-
--user segmentio \
96+
--user fiveai \
9797
--repo aws-okta \
9898
--tag $(VERSION) \
9999
--name aws-okta_$(VERSION)_amd64.rpm \
@@ -103,7 +103,7 @@ publish-github-rpm: dist/aws-okta_$(VERSION)_amd64.rpm | github-release
103103
publish-github-sha256sums: dist/aws-okta-$(VERSION).sha256sums | github-release
104104
github-release upload \
105105
--security-token $$GH_LOGIN \
106-
--user segmentio \
106+
--user fiveai \
107107
--repo aws-okta \
108108
--tag $(VERSION) \
109109
--name aws-okta-$(VERSION).sha256sums \
@@ -119,18 +119,18 @@ packagecloud.conf.json:
119119
publish-packagecloud-deb: dist/aws-okta_$(VERSION)_amd64.deb packagecloud.conf.json
120120
@set -o pipefail; \
121121
for v in $(PACKAGECLOUD_DEB_DISTROS); do \
122-
(package_cloud yank --config packagecloud.conf.json segment/aws-okta$(PACKAGECLOUD_NAME_SUFFIX)/$$v aws-okta_$(VERSION_NO_V)_amd64.deb || true) | \
122+
(package_cloud yank --config packagecloud.conf.json fiveai/aws-okta$(PACKAGECLOUD_NAME_SUFFIX)/$$v aws-okta_$(VERSION_NO_V)_amd64.deb || true) | \
123123
grep -v 'with token:' || true ; \
124-
package_cloud push --config packagecloud.conf.json segment/aws-okta$(PACKAGECLOUD_NAME_SUFFIX)/$$v $< | \
124+
package_cloud push --config packagecloud.conf.json fiveai/aws-okta$(PACKAGECLOUD_NAME_SUFFIX)/$$v $< | \
125125
grep -v 'with token:' ; \
126126
done
127127

128128
publish-packagecloud-rpm: dist/aws-okta_$(VERSION)_amd64.rpm packagecloud.conf.json
129129
@set -o pipefail; \
130130
for v in $(PACKAGECLOUD_RPM_DISTROS); do \
131-
(package_cloud yank --config packagecloud.conf.json segment/aws-okta$(PACKAGECLOUD_NAME_SUFFIX)/$$v aws-okta-$(subst -,_,$(VERSION_NO_V))-1.x86_64.rpm || true) | \
131+
(package_cloud yank --config packagecloud.conf.json fiveai/aws-okta$(PACKAGECLOUD_NAME_SUFFIX)/$$v aws-okta-$(subst -,_,$(VERSION_NO_V))-1.x86_64.rpm || true) | \
132132
grep -v 'with token:' || true ; \
133-
package_cloud push --config packagecloud.conf.json segment/aws-okta$(PACKAGECLOUD_NAME_SUFFIX)/$$v $< | \
133+
package_cloud push --config packagecloud.conf.json fiveai/aws-okta$(PACKAGECLOUD_NAME_SUFFIX)/$$v $< | \
134134
grep -v 'with token:' ; \
135135
done
136136

cmd/add.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import (
77
log "github.com/sirupsen/logrus"
88

99
"github.com/99designs/keyring"
10-
"github.com/segmentio/aws-okta/lib"
10+
"github.com/fiveai/aws-okta/lib"
1111
"github.com/spf13/cobra"
1212
)
1313

cmd/cred-process.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import (
77
"time"
88

99
"github.com/99designs/keyring"
10-
"github.com/segmentio/aws-okta/lib"
10+
"github.com/fiveai/aws-okta/lib"
1111
"github.com/spf13/cobra"
1212
)
1313

cmd/env.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import (
88

99
"github.com/99designs/keyring"
1010
"github.com/alessio/shellescape"
11-
"github.com/segmentio/aws-okta/lib"
11+
"github.com/fiveai/aws-okta/lib"
1212
"github.com/spf13/cobra"
1313
)
1414

cmd/exec.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import (
1313
"time"
1414

1515
"github.com/99designs/keyring"
16-
"github.com/segmentio/aws-okta/lib"
16+
"github.com/fiveai/aws-okta/lib"
1717
"github.com/spf13/cobra"
1818
)
1919

cmd/list.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import (
66
"sort"
77
"text/tabwriter"
88

9-
"github.com/segmentio/aws-okta/lib"
9+
"github.com/fiveai/aws-okta/lib"
1010
"github.com/spf13/cobra"
1111
)
1212

cmd/login.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import (
1010
"time"
1111

1212
"github.com/99designs/keyring"
13-
"github.com/segmentio/aws-okta/lib"
13+
"github.com/fiveai/aws-okta/lib"
1414
"github.com/skratchdot/open-golang/open"
1515
"github.com/spf13/cobra"
1616
)

cmd/root.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import (
88
"errors"
99

1010
"github.com/99designs/keyring"
11-
"github.com/segmentio/aws-okta/lib"
11+
"github.com/fiveai/aws-okta/lib"
1212
log "github.com/sirupsen/logrus"
1313
"github.com/spf13/cobra"
1414
"golang.org/x/xerrors"

cmd/write-to-credentials.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import (
1111
"time"
1212

1313
"github.com/99designs/keyring"
14-
"github.com/segmentio/aws-okta/lib"
14+
"github.com/fiveai/aws-okta/lib"
1515
"github.com/spf13/cobra"
1616
ini "gopkg.in/ini.v1"
1717
)

0 commit comments

Comments
 (0)