Giter VIP home page Giter VIP logo

Comments (8)

alongir avatar alongir commented on June 8, 2024 1

Inform AND delete. In both cases.

from kubeshark.

corest avatar corest commented on June 8, 2024
  1. Fix version issue
  2. Fix install script
  3. Send PR to brew/core with kubeshark to be available without explicit tap

from kubeshark.

corest avatar corest commented on June 8, 2024
  1. Done

Regarding install script, I have questions

  • If kubeshark installed with homebrew and now we run install script, should it:
  1. only inform user about kubeshark existing installation
  2. inform AND delete existing installation before proceeding (like do actual brew uninstalll)
  • If kubeshark installed with install script and now we run brew install, should it:
  1. only inform user about kubeshark existing installation
  2. inform AND delete existing installation before proceeding (removing binary with rm)

@alongir

from kubeshark.

corest avatar corest commented on June 8, 2024

@alongir in installation script it is possible to do "brew uninstall kubeshark" -> PR here #1503

But it is not possible vice versa.
If brew runs rm for file created by installation script - it fails due to that file created with sudo.
And sudo is not allowed to be used in brew formulae.

Should we proceed then only with removing kubeshark for case when we install with script?
Because I'd rather keep it informative in both cases, then removing in one and failing in another

from kubeshark.

corest avatar corest commented on June 8, 2024
  1. done

  2. in progress

from kubeshark.

SMillerDev avatar SMillerDev commented on June 8, 2024

You probably want these for automated bumps instead of reinventing the wheel:
https://github.com/marketplace/actions/bump-homebrew-formula or https://github.com/marketplace/actions/homebrew-bump-formula

from kubeshark.

corest avatar corest commented on June 8, 2024

@SMillerDev there was no plan to invent the wheel) It was just a note to not forget about it. Thank you for the links!

from kubeshark.

corest avatar corest commented on June 8, 2024

Ok, that took some time, but it is done now

from kubeshark.

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.