Skip to content

move pkg/diagnostices -> pkg/oc/admin/diagnostics#17393

Merged
openshift-merge-robot merged 1 commit intoopenshift:masterfrom
juanvallejo:jvallejo/move-diagnostics-pkg-oc
Nov 27, 2017
Merged

move pkg/diagnostices -> pkg/oc/admin/diagnostics#17393
openshift-merge-robot merged 1 commit intoopenshift:masterfrom
juanvallejo:jvallejo/move-diagnostics-pkg-oc

Conversation

@juanvallejo
Copy link
Copy Markdown
Contributor

This patch is a part of pull/17356 - it aims to break all dependencies
between packages outside of pkg/oc and the clientcmd package.

This patch also partially solves a few of the items (currently checked) from #17309.
By moving pkg/diagnostics to the pkg/oc subtree, we are eliminating package
dependencies on pkg/oc/... in packages outside of that subtree.

cc @liggitt @deads2k @openshift/cli-review @sosiouxme

@openshift-ci-robot openshift-ci-robot added the size/L Denotes a PR that changes 100-499 lines, ignoring generated files. label Nov 20, 2017
@deads2k
Copy link
Copy Markdown
Contributor

deads2k commented Nov 20, 2017

integration failure is real

/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
Copy Markdown
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.

Details 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-merge-robot openshift-merge-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Nov 20, 2017
@juanvallejo juanvallejo force-pushed the jvallejo/move-diagnostics-pkg-oc branch from 13f1071 to 7d9325c Compare November 20, 2017 21: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 lgtm Indicates that a PR is ready to be merged. labels Nov 20, 2017
@juanvallejo juanvallejo force-pushed the jvallejo/move-diagnostics-pkg-oc branch from 7d9325c to 8e9aaf4 Compare November 27, 2017 16:14
@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 27, 2017
@juanvallejo
Copy link
Copy Markdown
Contributor Author

@deads2k wondering if you could re-tag this?

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

/test extended_conformance_install_update

@openshift-merge-robot
Copy link
Copy Markdown
Contributor

Automatic merge from submit-queue.

@openshift-merge-robot openshift-merge-robot merged commit 32e0704 into openshift:master Nov 27, 2017
@juanvallejo juanvallejo deleted the jvallejo/move-diagnostics-pkg-oc branch November 27, 2017 20:32
@openshift-ci-robot
Copy link
Copy Markdown

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

Test name Commit Details Rerun command
ci/openshift-jenkins/extended_conformance_install_update 8e9aaf4 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.

Details

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 added a commit that referenced this pull request Nov 29, 2017
…g-oc

Automatic merge from submit-queue.

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

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):

- [x] pkg/cmd/server/origin/controller/config.go (#17357)
- [x] pkg/cmd/server/admin/create_error_template.go   (#17357)
- [x] pkg/cmd/server/admin/create_bootstrap_project_template.go (#17357)
- [x] pkg/cmd/server/admin/overwrite_bootstrappolicy.go (*this file has been removed by* #17336)
- [x] pkg/cmd/server/admin/create_login_template.go (#17357)
- [x] pkg/cmd/server/admin/create_provider_selection_template.go (#17357)
- [x] **pkg/cmd/infra/router/template.go** (Wanted by: `pkg/cmd/openshift/openshift.go` (no other dependents)) (#17357)
- [x] **pkg/cmd/infra/router/f5.go** (Wanted by: `pkg/cmd/openshift/openshift.go` (no other dependents)) (#17357)
- [x] pkg/cmd/openshift/openshift.go (#17486 and #17482)
- [x] pkg/cmd/dockerregistry/dockerregistry.go (Wanted by: `cmd/dockerregistry/main.go` (depends on `clientcmd.Config`)) (#17357)
- [x] *pkg/diagnostics/networkpod/util/util.go* (Can  be addressed by moving `pkg/diagnostics` inside existing `pkg/oc/admin/diagnostics`) #17393
- [x] *pkg/diagnostics/client/config_contexts.go* (Can  be addressed by moving `pkg/diagnostics` inside existing `pkg/oc/admin/diagnostics`) #17393
- [x] *pkg/diagnostics/client/run_diagnostics_pod.go* (Can  be addressed by moving `pkg/diagnostics` inside existing `pkg/oc/admin/diagnostics`) #17393
- [x] *pkg/diagnostics/pod/auth.go* (Can  be addressed by moving `pkg/diagnostics` inside existing `pkg/oc/admin/diagnostics`) #17393
- [x] *pkg/diagnostics/network/run_pod.go* (Can be addressed by moving `pkg/diagnostics` inside existing `pkg/oc/admin/diagnostics`) #17393
- [x] pkg/ipfailover/keepalived/plugin.go (moved to `pkg/oc/experimental`) (#17357)
- [x] pkg/federation/kubefed/kubefed.go (#17357)
- [x] pkg/dockerregistry/server/client/client.go (#17357)
- [x] pkg/dockerregistry/server/auth_test.go (#17357)

**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
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.

6 participants