Skip to content

Commit 726b4e7

Browse files
chore: renaming imports and project path (#9)
now that this repository ownership has been moved to replicatedhq we have to rename all import paths replacing `emosbaugh` to `replicatedhq`. no functional change has been added here.
1 parent 7cda609 commit 726b4e7

File tree

14 files changed

+24
-24
lines changed

14 files changed

+24
-24
lines changed

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ ARG ARCH
33

44
FROM docker.io/library/golang:1.20-alpine as build
55
RUN apk add --no-cache bash curl make openssl
6-
WORKDIR /go/src/github.com/emosbaugh/helmbin
6+
WORKDIR /go/src/github.com/replicatedhq/helmbin
77
COPY . .
88
ARG VERSION="dev"
99
RUN make build
@@ -15,7 +15,7 @@ RUN apk add --no-cache bash coreutils curl findutils iptables tini
1515
ENV KUBECONFIG=/var/lib/replicated/k0s/pki/admin.conf
1616

1717
ADD docker-entrypoint.sh /entrypoint.sh
18-
COPY --from=build /go/src/github.com/emosbaugh/helmbin/bin/helmbin /usr/local/bin/helmbin
18+
COPY --from=build /go/src/github.com/replicatedhq/helmbin/bin/helmbin /usr/local/bin/helmbin
1919

2020
ENTRYPOINT ["/sbin/tini", "--", "/bin/sh", "/entrypoint.sh" ]
2121

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,4 +104,4 @@ golangci-lint:
104104
sh -s -- -b $(shell dirname $(GOLANGCI_LINT)) v$(golangci-lint_version)
105105

106106
go.sum: go.mod
107-
$(GO) mod tidy && touch -c -- '$@'
107+
go mod tidy && touch -c -- '$@'

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ Use "helmbin [command] --help" for more information about a command.
3030

3131
```bash
3232
$ make build
33-
go build -gcflags "all=-trimpath=/home/ethan/go/src/github.com/emosbaugh" -asmflags "all=-trimpath=/home/ethan/go/src/github.com/emosbaugh" -ldflags " -X main.goos=linux -X main.goarch=amd64 -X main.gitCommit=1a6e487bb4bcb5049c448983758912afbdb9d1c2 -X main.buildDate=2023-05-24T21:42:34Z " -tags='' -o bin/helmbin ./cmd/helmbin
33+
go build -gcflags "all=-trimpath=/home/ethan/go/src/github.com/replicatedhq" -asmflags "all=-trimpath=/home/ethan/go/src/github.com/replicatedhq" -ldflags " -X main.goos=linux -X main.goarch=amd64 -X main.gitCommit=1a6e487bb4bcb5049c448983758912afbdb9d1c2 -X main.buildDate=2023-05-24T21:42:34Z " -tags='' -o bin/helmbin ./cmd/helmbin
3434
```
3535

3636
## Running

cmd/helmbin/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import (
99
"os/signal"
1010
"syscall"
1111

12-
"github.com/emosbaugh/helmbin/pkg/cli"
12+
"github.com/replicatedhq/helmbin/pkg/cli"
1313
)
1414

1515
func main() {

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
module github.com/emosbaugh/helmbin
1+
module github.com/replicatedhq/helmbin
22

33
go 1.20
44

inttest/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ $(smoketests): .footloose-alpine.stamp
4949
$(smoketests): TEST_PACKAGE ?= $(subst check-,,$@)
5050
$(smoketests):
5151
K0S_PATH='$(HELMBIN_PATH)' \
52-
go test -count=1 -v -timeout $(TIMEOUT) github.com/emosbaugh/helmbin/inttest/$(TEST_PACKAGE)
52+
go test -count=1 -v -timeout $(TIMEOUT) github.com/replicatedhq/helmbin/inttest/$(TEST_PACKAGE)
5353

5454
.PHONY: clean
5555
clean:

pkg/cli/install.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ import (
88
"os"
99
"strings"
1010

11-
"github.com/emosbaugh/helmbin/pkg/config"
1211
"github.com/k0sproject/k0s/cmd/install"
1312
"github.com/k0sproject/k0s/cmd/start"
13+
"github.com/replicatedhq/helmbin/pkg/config"
1414
"github.com/spf13/cobra"
1515
)
1616

pkg/cli/kubeconfig.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ import (
1515
"github.com/k0sproject/k0s/pkg/constant"
1616
"github.com/spf13/cobra"
1717

18-
"github.com/emosbaugh/helmbin/pkg/config"
18+
"github.com/replicatedhq/helmbin/pkg/config"
1919
)
2020

2121
// NewCmdKubeconfig returns a cobra command for getting the kubeconfig

pkg/cli/kubectl.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import (
1010
"k8s.io/component-base/logs"
1111
kubectl "k8s.io/kubectl/pkg/cmd"
1212

13-
"github.com/emosbaugh/helmbin/pkg/config"
13+
"github.com/replicatedhq/helmbin/pkg/config"
1414
)
1515

1616
// NewCmdKubectl returns a cobra command for running kubectl

pkg/cli/run.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ import (
77
"github.com/sirupsen/logrus"
88
"github.com/spf13/cobra"
99

10-
"github.com/emosbaugh/helmbin/pkg/config"
11-
"github.com/emosbaugh/helmbin/pkg/controller"
12-
"github.com/emosbaugh/helmbin/pkg/controller/manager"
10+
"github.com/replicatedhq/helmbin/pkg/config"
11+
"github.com/replicatedhq/helmbin/pkg/controller"
12+
"github.com/replicatedhq/helmbin/pkg/controller/manager"
1313
)
1414

1515
// NewCmdRun returns a cobra command for running a combined controller and worker node

0 commit comments

Comments
 (0)