Skip to content
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

Go module support #12

Merged
merged 1 commit into from
Oct 1, 2019
Merged

Conversation

s1061123
Copy link
Member

No description provided.

@@ -9,7 +9,7 @@ import (
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
"k8s.io/client-go/tools/clientcmd"

clientset "github.com/k8snetworkplumbingwg/network-attachment-definition-client/pkg/client/clientset/versioned"
clientset "github.com/K8sNetworkPlumbingWG/network-attachment-definition-client/pkg/client/clientset/versioned"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What does this change imply to dep users? We faced an issue with dep being unable to handle upper-case letters https://github.com/K8sNetworkPlumbingWG/network-attachment-definition-client#networkattachmentdefinition-crd-client.

Just making sure this change won't break existing users.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Currently this PR could be succeed to build command with go-module.
The build may be fail if you use non go-module build environment. Golang now makes go module default, hence it should be okey.

In the future, we should consider the change of github group name (from K8sNetworkPlumbingWG, mixed-case to others).

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As far as I looks dep, golang/dep#1079 may fix the issue, I guess.

And there's some github projects that fix same stuff:
https://github.com/hashicorp/consul-template/pull/1139/files

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I see. Fair enough. Thanks Tomo.

@s1061123 s1061123 force-pushed the dev/go-modules branch 5 times, most recently from fca8210 to 1d3ea6b Compare October 1, 2019 07:31
@phoracek phoracek merged commit 457cae9 into k8snetworkplumbingwg:master Oct 1, 2019
@s1061123 s1061123 deleted the dev/go-modules branch October 1, 2019 12:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants