{"id":18637102,"url":"https://github.com/openshift/oc","last_synced_at":"2025-05-13T18:11:51.409Z","repository":{"id":37286041,"uuid":"189057830","full_name":"openshift/oc","owner":"openshift","description":"The OpenShift Command Line, part of OKD","archived":false,"fork":false,"pushed_at":"2025-05-13T15:38:20.000Z","size":126262,"stargazers_count":209,"open_issues_count":27,"forks_count":404,"subscribers_count":25,"default_branch":"master","last_synced_at":"2025-05-13T15:51:46.659Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://www.openshift.org","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/openshift.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2019-05-28T15:42:57.000Z","updated_at":"2025-05-13T14:38:53.000Z","dependencies_parsed_at":"2023-10-16T18:24:56.954Z","dependency_job_id":"49101e65-154d-4a60-9c08-d329b1b90ec2","html_url":"https://github.com/openshift/oc","commit_stats":{"total_commits":4533,"total_committers":292,"mean_commits":"15.523972602739725","dds":0.8702845797485109,"last_synced_commit":"c6733714145f520d55b39c250f6e2ec977233c19"},"previous_names":[],"tags_count":223,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openshift%2Foc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openshift%2Foc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openshift%2Foc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openshift%2Foc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/openshift","download_url":"https://codeload.github.com/openshift/oc/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254000855,"owners_count":21997442,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-07T05:33:22.745Z","updated_at":"2025-05-13T18:11:46.396Z","avatar_url":"https://github.com/openshift.png","language":"Go","readme":"# OpenShift Client - oc\n\nWith OpenShift Client CLI (oc), you can create applications and manage OpenShift\nresources.  It is built on top of [kubectl](https://github.com/kubernetes/kubectl/)\nwhich means it provides its full capabilities to connect with any kubernetes\ncompliant cluster, and on top adds commands simplifying interaction with an\nOpenShift cluster.\n\n\n# Contributing\n\nAll contributions are welcome - oc uses the Apache 2 license and does not require\nany contributor agreement to submit patches.  Please open issues for any bugs\nor problems you encounter, ask questions on the OpenShift IRC channel\n(#openshift-dev on freenode), or get involved in the [kubectl](https://github.com/kubernetes/kubectl)\nand [kubernetes project](https://github.com/kubernetes/kubernetes) at the container\nruntime layer.\n\n## Building\n\nTo build oc invoke `make oc`. At any time you can invoke `make help` and you'll\nget a list of all supported make sub-commands.\n\nIn order to build `oc`, you will need the GSSAPI sources. On a Fedora/CentOS/RHEL\nworkstation, install them with:\n\n```\ndnf install krb5-devel\n```\n\nAlso:\n\n```\ndnf install gpgme-devel\ndnf install libassuan-devel\n```\n\nFor MacOS you'll need to install a few brew packages before building locally. Install them with:\n```\nbrew install heimdal\nbrew install gpgme\n```\n## Testing\n\nAll PRs will have to pass a series of automated tests starting from go tools\nsuch as `go fmt` and `go vet`, through unit tests, up to e2e against a real cluster.\n\nLocally you can invoke the initial verification and unit test through `make verify`\nand `make test`, accordingly.\n\n## Dependencies\n\nDependencies are managed through [Go Modules](https://github.com/golang/go/wiki/Modules).\nWhen updating any dependency the suggested workflow is:\n\n1. `go mod tidy`\n2. `go mod vendor`\n\n\n# Security Response\n\nIf you've found a security issue that you'd like to disclose confidentially\nplease contact Red Hat's Product Security team. Details at\nhttps://access.redhat.com/security/team/contact\n\n# License\n\noc is licensed under the [Apache License, Version 2.0](http://www.apache.org/licenses/).\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopenshift%2Foc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fopenshift%2Foc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopenshift%2Foc/lists"}