Coder Social home page Coder Social logo

Release on brew about kubesess HOT 7 CLOSED

Ramilito avatar Ramilito commented on August 12, 2024 2
Release on brew

from kubesess.

Comments (7)

kostyay avatar kostyay commented on August 12, 2024 3

Reached 76 stars.. can create the brew package now :)

from kubesess.

Ramilito avatar Ramilito commented on August 12, 2024 1

When above 75 stars we can add this formula

class Kubesess < Formula
  desc "Manage multiple kubernetes cluster at the same time"
  homepage "https://rentarami.se/posts/2022-08-05-kube-context-2/"
  url "https://github.com/Ramilito/kubesess/archive/refs/tags/1.2.2.tar.gz"
  sha256 "237836053935a352bc61f362d1d2fd1892b0b1f49838b3c294ed1d81922d9328"
  license "MIT"

  depends_on "rust" => :build
  depends_on "kubernetes-cli" => :test

  def install
    system "cargo", "install", *std_cargo_args
  end

  test do
    shell_output("#{bin}/kubesess -v kubesess-test context")
    assert_predicate testpath/".kube/cache/kubesess-test", :exist?
  end
end

Steps to take:

  1. brew create --rust https://github.com/Ramilito/kubesess
  2. use the formula above
  3. brew install --build-from-source Kubesess
  4. brew audit --strict --new-formula --online kubesess

from kubesess.

Ramilito avatar Ramilito commented on August 12, 2024

image

I think the repo was created 24 days ago, so 6 days left :(

from kubesess.

Ramilito avatar Ramilito commented on August 12, 2024

PR up on brew, waiting for approval!
Homebrew/homebrew-core#109171

from kubesess.

Ramilito avatar Ramilito commented on August 12, 2024

It's now sort of in brew, It can be installed with:
brew install kubesess

It is not including the completion and alias scripts with this, will try to include it and submit another PR.

Note
If anyone does install it remember that you need the scripts from the same version that's on brew!

from kubesess.

Ramilito avatar Ramilito commented on August 12, 2024

Submittet a new PR:
Homebrew/homebrew-core#109456

from kubesess.

Ramilito avatar Ramilito commented on August 12, 2024

kubesess is now available on brew!
Updated readme to highlight one issue with the script for those that don't have completion setup.

from kubesess.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.