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

Update for go modules #143

Closed
lavalamp opened this issue Apr 4, 2019 · 12 comments · Fixed by #178
Closed

Update for go modules #143

lavalamp opened this issue Apr 4, 2019 · 12 comments · Fixed by #178
Labels
lifecycle/frozen Indicates that an issue or PR should not be auto-closed due to staleness.

Comments

@lavalamp
Copy link
Member

lavalamp commented Apr 4, 2019

Let's begin publishing the module file.

Let's version this thing and start respecting the semver guarantees.

@lavalamp
Copy link
Member Author

lavalamp commented Apr 4, 2019

I'd like to tag v1.0.0 after merging #144. Any objections? I think this commits us to not breaking go interfaces. @sttts @thockin

@liggitt
Copy link
Member

liggitt commented Apr 5, 2019

I think we need a tool to tell us if we're breaking go interfaces or we'll fail at manual inspection/enforcement

I assume this applies not only to the code in this repo but also to the code generated by what is in this repo?

Is the plan to use semantic import tagging for v2 and up?

@lavalamp
Copy link
Member Author

lavalamp commented Apr 5, 2019

good point, I thought I heard something about the go team providing such a tool?

I guess we should also not break the code the samples generate. Maybe we should put the samples in different modules. If we check in the generated code, we could use the above tool to verify this.

Is the plan to use semantic import tagging for v2 and up?

I am not sure I understand this question, I thought for v2 we actually have to have a v2 in the path, but for v1 we shouldn't. I wasn't planning on thinking about this until someone wants to break the interface :)

@liggitt
Copy link
Member

liggitt commented Apr 5, 2019

I thought I heard something about the go team providing such a tool?

https://github.com/golang/go/tree/master/api was all I found, but it seems hard-coded to golang src, so would require forking to use against something else

I am not sure I understand this question, I thought for v2 we actually have to have a v2 in the path, but for v1 we shouldn't.

correct

I wasn't planning on thinking about this until someone wants to break the interface :)

fair

@liggitt
Copy link
Member

liggitt commented Apr 6, 2019

good point, I thought I heard something about the go team providing such a tool?

I also saw https://github.com/smola/gocompat mentioned (kubernetes/client-go#234 (comment)), but ran into issues trying to run it on our repos

@liggitt
Copy link
Member

liggitt commented Apr 12, 2019

I think https://github.com/golang/tools/tree/master/internal/apidiff is the tool in the works from the go team

@fejta-bot
Copy link

Issues go stale after 90d of inactivity.
Mark the issue as fresh with /remove-lifecycle stale.
Stale issues rot after an additional 30d of inactivity and eventually close.

If this issue is safe to close now please do so with /close.

Send feedback to sig-testing, kubernetes/test-infra and/or fejta.
/lifecycle stale

@k8s-ci-robot k8s-ci-robot added the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Jul 11, 2019
@fejta-bot
Copy link

Stale issues rot after 30d of inactivity.
Mark the issue as fresh with /remove-lifecycle rotten.
Rotten issues close after an additional 30d of inactivity.

If this issue is safe to close now please do so with /close.

Send feedback to sig-testing, kubernetes/test-infra and/or fejta.
/lifecycle rotten

@k8s-ci-robot k8s-ci-robot added lifecycle/rotten Denotes an issue or PR that has aged beyond stale and will be auto-closed. and removed lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. labels Aug 10, 2019
@fejta-bot
Copy link

Rotten issues close after 30d of inactivity.
Reopen the issue with /reopen.
Mark the issue as fresh with /remove-lifecycle rotten.

Send feedback to sig-testing, kubernetes/test-infra and/or fejta.
/close

@k8s-ci-robot
Copy link
Contributor

@fejta-bot: Closing this issue.

In response to this:

Rotten issues close after 30d of inactivity.
Reopen the issue with /reopen.
Mark the issue as fresh with /remove-lifecycle rotten.

Send feedback to sig-testing, kubernetes/test-infra and/or fejta.
/close

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@lavalamp
Copy link
Member Author

lavalamp commented Sep 9, 2019 via email

@k8s-ci-robot
Copy link
Contributor

@lavalamp: Reopened this issue.

In response to this:

/reopen
/lifecycle frozen

On Mon, Sep 9, 2019 at 4:05 PM Kubernetes Prow Robot <
[email protected]> wrote:

@fejta-bot https://github.com/fejta-bot: Closing this issue.

In response to this
#143 (comment):

Rotten issues close after 30d of inactivity.
Reopen the issue with /reopen.
Mark the issue as fresh with /remove-lifecycle rotten.

Send feedback to sig-testing, kubernetes/test-infra and/or fejta
https://github.com/fejta.
/close

Instructions for interacting with me using PR comments are available here
https://git.k8s.io/community/contributors/guide/pull-requests.md. If
you have questions or suggestions related to my behavior, please file an
issue against the kubernetes/test-infra
https://github.com/kubernetes/test-infra/issues/new?title=Prow%20issue:
repository.


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
#143,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAE6BFRNUQ2ZYJWZT5VZIKTQI3JC3ANCNFSM4HDWZDFA
.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@k8s-ci-robot k8s-ci-robot reopened this Sep 9, 2019
@k8s-ci-robot k8s-ci-robot added lifecycle/frozen Indicates that an issue or PR should not be auto-closed due to staleness. and removed lifecycle/rotten Denotes an issue or PR that has aged beyond stale and will be auto-closed. labels Sep 9, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lifecycle/frozen Indicates that an issue or PR should not be auto-closed due to staleness.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants