-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
Fix the client set generator #10861
Fix the client set generator #10861
Conversation
[test] @deads2k PTAL |
Do they work? [test] |
@deads2k guess we need some tests for them... I will work on it today/tomorrow. |
cf3226a
to
5dd2469
Compare
@deads2k now they should work |
(this have to wait for rebase first) |
5dd2469
to
13f2f59
Compare
[test] |
@smarterclayton client sets can now be generated again, but I want to add a simple test that proves they work. |
7a7b1fa
to
43e6955
Compare
43e6955
to
c42295f
Compare
ed7c5c6
to
41cc0b7
Compare
My checklist:
After that, I'd take this as a starting point. |
41cc0b7
to
663bffe
Compare
continuous-integration/openshift-jenkins/test Waiting: Determining build queue position |
@deads2k first and second bullet point should be already addressed here, I will create the follow up |
What's the first consumer of these client sets? On Fri, Sep 16, 2016 at 10:39 AM, Michal Fojtik [email protected]
|
@smarterclayton an integration test :-) I think we can pick either deployments or builds and try to use the client set there. What are you thoughts? |
Right now, I just want to make sure I have a way to generate them so we can shake out generation problems (one already found). I see the next steps as:
|
@deads2k do we want to migrate the existing controllers to use client sets at some point? (or maybe start with the CLI first) |
I think I'd try to generate a common clientset with After you've sorted that out, the CLI would probably be my next target. |
@deads2k sound good to me. |
I'd prefer not to put these in our codebase if we can generate directly to On Fri, Sep 16, 2016 at 12:12 PM, OpenShift Bot [email protected]
|
Really? You wouldn't want to go the other direction? Generate here, then extract to client repo on version boundaries? |
I'm asking whether it helps or hurts. Should our clients be generated |
I hate having problems like this so much. These aren't your grandfather's coding problems. Oh wait, they are. I think I'd still start with them here while we get the hang of actually generating something useful and deciding how we generate both grouped an ungrouped APIs in a sane inter-operable way. Seems like for the short-term, we'd make sure we're compatible by godep-ing in the upstream client. |
We already godep in the upstream client. It's just not split correctly yet. |
@smarterclayton do we want to split it here in this PR or is this good for the start at least? The current generated client we have in repo is junk atm. This PR at least allows to experiment with it. I agree with @deads2k that this is a good start and allows to experiment. I'm fine following up with improvements to generator to allow splitting and generating grouped/ungrouped APi clients. |
I'm fine with moving forward, but we need to be very clear before we start using them how we transition to external clients. |
[test] |
Evaluated for origin test up to 663bffe |
continuous-integration/openshift-jenkins/test SUCCESS (https://ci.openshift.redhat.com/jenkins/job/test_pr_origin/9700/) |
@deads2k any final comments? |
Just a repeat of this:
If we can find problems with the generator before 1.5 ships, the next rebase will go easier. [merge] |
[merge] #11094 |
[merge] #11004 |
flake (#8571) |
[merge] |
Evaluated for origin merge up to 663bffe |
continuous-integration/openshift-jenkins/merge SUCCESS (https://ci.openshift.redhat.com/jenkins/job/test_pr_origin/9700/) (Base Commit: 9195050) (Image: devenv-rhel7_5236) |
APIPath
to point to/oapi