Giter VIP home page Giter VIP logo

Comments (8)

kkonstantine avatar kkonstantine commented on September 3, 2024

Thanks @hjespers.

Currently the CLI requires bash version >= 4.3. This should be added to a Requirements section. Also it could be re-evaluated whether it makes sense for the supported version to be lowered without significant re-implementation effort.

from confluent-cli.

hjespers avatar hjespers commented on September 3, 2024

I will try "brew install bash" and see if it all works with a more up to date version of bash. MacOS is way behind apparently because Apple can't distribute bash 4.x due to GPL license restrictions.

from confluent-cli.

rmoff avatar rmoff commented on September 3, 2024

Any way this can be caught by the cli itself and reported to the user?
Even if it's added to the Requirements doc, no way 99% of users are going to read that, they'll just hit the error and chuck the cli in the trash ...

from confluent-cli.

hjespers avatar hjespers commented on September 3, 2024

"brew install bash" on MacOS Sierra 10.12.6 get me a bash version that works!

[~] $ confluent status
connect is [UP]
kafka-rest is [UP]
schema-registry is [UP]
kafka is [UP]
zookeeper is [UP]

[~] $ bash --version
GNU bash, version 4.4.12(1)-release (x86_64-apple-darwin16.3.0)
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html

This is free software; you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

from confluent-cli.

kkonstantine avatar kkonstantine commented on September 3, 2024

Good to hear @hjespers!
However, since the dependencies on the more recent bash versions were just a couple, I issued PR: #17 to extend support to bash >= 3.2.

@rmoff the above PR contains also a requirements validation.

Feel free to review the changes if you wish.

from confluent-cli.

hjespers avatar hjespers commented on September 3, 2024

Still an issue for MacOS which is stuck at bash version 3.x. We should document that Mac users will have to "brew install bash" to get a version that meets our minimum requirements

from confluent-cli.

ewencp avatar ewencp commented on September 3, 2024

@hjespers My Mac comes with bash 3.2.57, which should be covered by bash >= 3.2. What version are you seeing that's still a problem after #17? If there's a common enough platform that isn't supported it'd potentially be a blocker for 3.3

from confluent-cli.

hjespers avatar hjespers commented on September 3, 2024

My comment was made when the cli required bash >= 4.3. It's not an issue now that @kkonstantine made it work with bash >=3.2

from confluent-cli.

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.