Skip to content

move pkg/cmd/util/clientcmd -> pkg/oc/cli/util/clientcmd #17356

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

Conversation

juanvallejo
Copy link
Contributor

@juanvallejo juanvallejo commented Nov 16, 2017

This patch partially solves a few of the items (currently checked) from #17309
Now that clientcmd (which includes printer factory methods) is moved into pkg/oc,
the following files outside of pkg/oc need to have their dependency on clientcmd broken (this will be done in a separate PR):

bold = depends on clientcmd.Config (not sure what to do about this) AND only dependent is pkg/cmd/openshift/openshift.go

cc @deads2k @openshift/cli-review @liggitt

@openshift-ci-robot openshift-ci-robot added the size/L Denotes a PR that changes 100-499 lines, ignoring generated files. label Nov 16, 2017
@juanvallejo juanvallejo mentioned this pull request Nov 16, 2017
19 tasks
@deads2k
Copy link
Contributor

deads2k commented Nov 17, 2017

Check for conflicts with the rebase and get it green. This is an ok way to break the dependency. A little messy in the interm, but acceptable since we know you won't stop part way.

/approve no-issue

@openshift-merge-robot openshift-merge-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Nov 17, 2017
@juanvallejo juanvallejo force-pushed the jvallejo/move-clientcmd-pkg-oc branch 2 times, most recently from a0af75e to 0738ee6 Compare November 17, 2017 17:27
@openshift-merge-robot openshift-merge-robot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Nov 19, 2017
@juanvallejo juanvallejo force-pushed the jvallejo/move-clientcmd-pkg-oc branch from 0738ee6 to 07c391b Compare November 20, 2017 18:51
@openshift-merge-robot openshift-merge-robot removed the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Nov 20, 2017
@deads2k
Copy link
Contributor

deads2k commented Nov 20, 2017

let's crack some eggs.

/lgtm

@openshift-ci-robot openshift-ci-robot added the lgtm Indicates that a PR is ready to be merged. label Nov 20, 2017
@openshift-merge-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: deads2k, juanvallejo

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

Needs approval from an approver in each of these OWNERS Files:

You can indicate your approval by writing /approve in a comment
You can cancel your approval by writing /approve cancel in a comment

@openshift-bot
Copy link
Contributor

/retest

Please review the full test history for this PR and help us cut down flakes.

@openshift-merge-robot openshift-merge-robot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Nov 21, 2017
@juanvallejo juanvallejo force-pushed the jvallejo/move-clientcmd-pkg-oc branch from 07c391b to 0859bcf Compare November 27, 2017 16:47
@openshift-merge-robot openshift-merge-robot removed lgtm Indicates that a PR is ready to be merged. needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. labels Nov 27, 2017
@juanvallejo
Copy link
Contributor Author

/test extended_conformance_install

@juanvallejo
Copy link
Contributor Author

/test extended_clusterup

@openshift-merge-robot openshift-merge-robot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Nov 27, 2017
@juanvallejo juanvallejo force-pushed the jvallejo/move-clientcmd-pkg-oc branch from 0859bcf to 5a72949 Compare November 27, 2017 22:52
@openshift-merge-robot openshift-merge-robot added needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. and removed needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. labels Nov 27, 2017
@deads2k
Copy link
Contributor

deads2k commented Nov 28, 2017

@juanvallejo this pull still valid/needed?

@juanvallejo
Copy link
Contributor Author

@deads2k

this pull still valid/needed?

yes, this pull is a counterpart to #17357. This one moves clientcmd into pkg/oc, and pull/17357 breaks any package dependencies on it outside of pkg/oc

@juanvallejo juanvallejo force-pushed the jvallejo/move-clientcmd-pkg-oc branch from 5a72949 to 30df015 Compare November 28, 2017 16:04
@openshift-merge-robot openshift-merge-robot removed the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Nov 28, 2017
@juanvallejo
Copy link
Contributor Author

/test extended_clusterup

@juanvallejo juanvallejo added lgtm Indicates that a PR is ready to be merged. approved Indicates a PR has been approved by an approver from all required OWNERS files. and removed approved Indicates a PR has been approved by an approver from all required OWNERS files. labels Nov 28, 2017
@openshift-merge-robot openshift-merge-robot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Nov 28, 2017
@juanvallejo juanvallejo force-pushed the jvallejo/move-clientcmd-pkg-oc branch from 30df015 to 8f3978b Compare November 28, 2017 17:57
@openshift-merge-robot openshift-merge-robot removed lgtm Indicates that a PR is ready to be merged. needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. labels Nov 28, 2017
@juanvallejo
Copy link
Contributor Author

/test extended_clusterup

@juanvallejo juanvallejo added the lgtm Indicates that a PR is ready to be merged. label Nov 28, 2017
@juanvallejo
Copy link
Contributor Author

/retest

2 similar comments
@juanvallejo
Copy link
Contributor Author

/retest

@juanvallejo
Copy link
Contributor Author

/retest

@juanvallejo
Copy link
Contributor Author

/test extended_conformance_install_update

@openshift-merge-robot
Copy link
Contributor

/test all [submit-queue is verifying that this PR is safe to merge]

@openshift-ci-robot
Copy link

openshift-ci-robot commented Nov 29, 2017

@juanvallejo: The following tests failed, say /retest to rerun them all:

Test name Commit Details Rerun command
ci/openshift-jenkins/extended_clusterup 8f3978b link /test extended_clusterup
ci/openshift-jenkins/extended_conformance_install_update 8f3978b link /test extended_conformance_install_update

Full PR test history. Your PR dashboard. Please help us cut down on flakes by linking to an open issue when you hit one in your PR.

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. I understand the commands that are listed here.

@openshift-merge-robot
Copy link
Contributor

Automatic merge from submit-queue.

@openshift-merge-robot openshift-merge-robot merged commit f55c2b9 into openshift:master Nov 29, 2017
@juanvallejo juanvallejo deleted the jvallejo/move-clientcmd-pkg-oc branch November 29, 2017 15:08
csrwng pushed a commit to csrwng/origin that referenced this pull request Nov 30, 2017
…cmds-to-pkg-oc

Automatic merge from submit-queue.

move "openshift ex" -> "oc ex"

Moves the experimental command group to `oc` in order to break deps on `pkg/oc` in packages outside of that subtree. Part of openshift#17309 and openshift#17356

Release-Note: `Experimental commands moved from the "openshift" parent to the "oc" parent`

cc @deads2k @liggitt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. lgtm Indicates that a PR is ready to be merged. 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.

7 participants