-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
move pkg/cmd/util/clientcmd -> pkg/oc/cli/util/clientcmd #17356
Conversation
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 |
a0af75e
to
0738ee6
Compare
0738ee6
to
07c391b
Compare
let's crack some eggs. /lgtm |
[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 |
/retest Please review the full test history for this PR and help us cut down flakes. |
07c391b
to
0859bcf
Compare
/test extended_conformance_install |
/test extended_clusterup |
0859bcf
to
5a72949
Compare
@juanvallejo this pull still valid/needed? |
5a72949
to
30df015
Compare
/test extended_clusterup |
30df015
to
8f3978b
Compare
/test extended_clusterup |
/retest |
2 similar comments
/retest |
/retest |
/test extended_conformance_install_update |
/test all [submit-queue is verifying that this PR is safe to merge] |
@juanvallejo: The following tests failed, say
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. |
Automatic merge from submit-queue. |
…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
This patch partially solves a few of the items (currently checked) from #17309
Now that
clientcmd
(which includes printer factory methods) is moved intopkg/oc
,the following files outside of
pkg/oc
need to have their dependency onclientcmd
broken (this will be done in a separate PR):pkg/cmd/openshift/openshift.go
(no other dependents)) (break dep on clientcmd in pkgs outside pkg oc #17357)pkg/cmd/openshift/openshift.go
(no other dependents)) (break dep on clientcmd in pkgs outside pkg oc #17357)cmd/dockerregistry/main.go
(depends onclientcmd.Config
)) (break dep on clientcmd in pkgs outside pkg oc #17357)pkg/diagnostics
inside existingpkg/oc/admin/diagnostics
) move pkg/diagnostices -> pkg/oc/admin/diagnostics #17393pkg/diagnostics
inside existingpkg/oc/admin/diagnostics
) move pkg/diagnostices -> pkg/oc/admin/diagnostics #17393pkg/diagnostics
inside existingpkg/oc/admin/diagnostics
) move pkg/diagnostices -> pkg/oc/admin/diagnostics #17393pkg/diagnostics
inside existingpkg/oc/admin/diagnostics
) move pkg/diagnostices -> pkg/oc/admin/diagnostics #17393pkg/diagnostics
inside existingpkg/oc/admin/diagnostics
) move pkg/diagnostices -> pkg/oc/admin/diagnostics #17393pkg/oc/experimental
) (break dep on clientcmd in pkgs outside pkg oc #17357)bold = depends on
clientcmd.Config
(not sure what to do about this) AND only dependent ispkg/cmd/openshift/openshift.go
cc @deads2k @openshift/cli-review @liggitt