-
Notifications
You must be signed in to change notification settings - Fork 509
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
refactor codegen scripts to make it easier to generate two clients #3589
refactor codegen scripts to make it easier to generate two clients #3589
Conversation
note - the order of the versions is changed in the clients because of it's the order (from |
This is ready |
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 @dprotaso!
Could you please expand the description of the PR to cover in more detail the specific problems that this fixes?
00e8eaa
to
e41035d
Compare
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.
/approve
But I would like someone else to look this over too and give the final LGTM
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 @dprotaso!
/lgtm
if [[ "${1:-stable}" == "experimental" ]]; then | ||
readonly OUTPUT_DIR=pkg/clientx | ||
readonly OUTPUT_PKG=sigs.k8s.io/gateway-api/pkg/clientx | ||
else | ||
readonly OUTPUT_DIR=pkg/client | ||
readonly OUTPUT_PKG=sigs.k8s.io/gateway-api/pkg/client | ||
fi |
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'm a little curious if a single clientset would be better here. With that said, this will likely become clearer as we start working with ListenerSet. I'm fine with this as a starting point.
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.
yeah this can be adjusted later
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: dprotaso, robscott, shaneutt The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
e41035d
to
7ccff29
Compare
New changes are detected. LGTM label has been removed. |
…ubernetes-sigs#3589) * refactor codegen scripts to make it easier to generate two clients * add some newlines * fix find invocation use -maxdepth and not -depth * include requested comment
This simplifies the ListenerSet APIs PR
#3588
Release Note