-
Notifications
You must be signed in to change notification settings - Fork 406
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
mchmarny after migration cleanup #815
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! Some of these will need to wait for the next step.
@@ -70,7 +68,7 @@ apk add ko | |||
With Go 1.18+, build and install the latest released version: | |||
|
|||
``` | |||
go install github.com/google/ko@latest | |||
go install github.com/ko-build/ko@latest |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This one will actually have to wait until we rename the Go import path. Even though the repo name has changed, as long as the GH redirect is in place, Go considers this github.com/google/ko
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I couldn't find any discussion, is there one about doing this anywhere (renaming the go import paths)? Or should someone start one and / or help PR that change?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is roughly sketched out in #791
I don't have a set timeline for it yet, I think a couple other things have to happen first. I'd guess some time after Kubecon we'll deprecate github.com/google/ko
and point folks to importing ko.build/pkg/build
and go install ko.build@latest
.
As part of that we'll also move the ko.build website into this repo (#749) which also sets the vanity importpath meta tags.
@@ -1,5 +1,5 @@ | |||
baseImageOverrides: | |||
github.com/google/ko: golang:1.18 | |||
github.com/ko-build/ko: golang:1.18 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
github.com/ko-build/ko: golang:1.18 | |
github.com/google/ko: golang:1.18 |
@@ -13,7 +13,7 @@ builds: | |||
flags: | |||
- -trimpath | |||
ldflags: | |||
- "-s -w -X github.com/google/ko/pkg/commands.Version={{.Version}}" | |||
- "-s -w -X github.com/ko-build/ko/pkg/commands.Version={{.Version}}" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- "-s -w -X github.com/ko-build/ko/pkg/commands.Version={{.Version}}" | |
- "-s -w -X github.com/google/ko/pkg/commands.Version={{.Version}}" |
mkdir -p "$GOPATH/src/github.com/ko-build/ko" | ||
cp -r "$ROOT_DIR/"* "$GOPATH/src/github.com/ko-build/ko/" | ||
|
||
echo "Downloading github.com/go-training/helloworld" | ||
GO111MODULE=off go get -d github.com/go-training/helloworld | ||
|
||
pushd "$GOPATH/src/github.com/google/ko" || exit 1 | ||
pushd "$GOPATH/src/github.com/ko-build/ko" || exit 1 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should refer to google/ko too for now.
Updates the repo path in all the non-go files (release, test, readme etc)