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

add module support #215

Closed
wants to merge 4 commits into from
Closed

add module support #215

wants to merge 4 commits into from

Conversation

liggitt
Copy link
Member

@liggitt liggitt commented Sep 27, 2021

Hoisted out of kubernetes/kubernetes#99226

xref kubernetes/kubernetes#82531

Need to ensure this works in k8s.io/kubernetes in GOPATH mode (kubernetes/kubernetes#105299) and module mode (kubernetes/kubernetes#99226) before merge

/cc @sttts
/sig api-machinery

@k8s-ci-robot k8s-ci-robot requested a review from sttts September 27, 2021 21:46
@k8s-ci-robot k8s-ci-robot added do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. sig/api-machinery Categorizes an issue or PR as relevant to SIG API Machinery. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. size/L Denotes a PR that changes 100-499 lines, ignoring generated files. labels Sep 27, 2021
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: liggitt
To complete the pull request process, please assign lavalamp after the PR has been reviewed.
You can assign the PR to them by writing /assign @lavalamp in a comment when ready.

The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@liggitt
Copy link
Member Author

liggitt commented Sep 27, 2021

/hold

@k8s-ci-robot k8s-ci-robot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Sep 27, 2021
@liggitt liggitt changed the title WIP: add module support add module support Sep 27, 2021
@k8s-ci-robot k8s-ci-robot removed the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Sep 27, 2021
Copy link
Member

@thockin thockin left a comment

Choose a reason for hiding this comment

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

I don't get the "add multiple packages at once" commit - it looks like a code cleanup but semantically the same - am I missing something?

Overall I get what you're doing here. I hope we can rip out a lot of this and just use tools/packages, and drop all the logic we do to recreate things like "pkg/..." support.

@thockin
Copy link
Member

thockin commented Nov 22, 2021

You know what this need - test cases to make sure we don't backslide

@k8s-ci-robot
Copy link
Contributor

@liggitt: PR needs rebase.

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 added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Nov 29, 2021
@stevekuznetsov
Copy link

@liggitt any chance you are still interested in pursuing this, or, if not, may I?

@liggitt
Copy link
Member Author

liggitt commented Jan 13, 2022

@liggitt any chance you are still interested in pursuing this, or, if not, may I?

go ahead. some of this was hoisted into #222

also, check with @thockin, who has been looking at alternative ways of making the generators work in module mode

@liggitt liggitt closed this Jan 13, 2022
@thockin
Copy link
Member

thockin commented Jan 13, 2022 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. sig/api-machinery Categorizes an issue or PR as relevant to SIG API Machinery. size/L Denotes a PR that changes 100-499 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants