Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

change_oc

Package Overview
Dependencies
Maintainers
1
Versions
35
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

change_oc

download and change oc version

  • 0.0.35
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source


Change_oc

License: GPL v3 Build Status npm version Known Vulnerabilities

Some command line tooling to download, extract and set the version of oc on the local system.

Downloads the compressed oc binary to this module and extracts the various oc versions to the following locations

/opt/openshift/
       |_ 3.7
       |_ 3.9
       |_ 3.10
       |_ 3.11
       |_ 4.1
       |_ 4.2
       |_ 4.3
       |_ 4.4
       |_ 4.5
       |_ 4.6

Sets the oc binary to execute by symlinking

/usr/bin/oc

Prerequisite

  • node 10
  • npm
  • os linux

Installation

Installation from npm

npm install -g change_oc

Installation from source clone and install the repo

git clone https://github.com/austincunningham/change_oc.git
cd change_oc
npm install

Usage

From npm run the module

change_oc

From source run the npm start script and follow the onscrean instructions

npm start

Download

Change binary

Release Steps

  • Make changes
  • If necessary update README.md
  • Update CHANGELOG.md
  • Squash commits to single commit
  • Commit the changes
  • Bump the version in the package.json
  • Remove package-lock.json and run npm install
  • Second commit for version bump
  • Merge changes from the PR
  • Pull upstream changes to master
  • Publish the changes npm publish

Keywords

FAQs

Package last updated on 26 Oct 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc