-
-
Notifications
You must be signed in to change notification settings - Fork 630
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature: homewbrew formula #799
Comments
Hi @pshirshov! Using brew for installing SDKMAN! sounds like a good idea in theory but seems to pose a few problems in practice:
The main problem I see is that people will do a asdf, another popular version manager, describes the problem here. |
Though many packages do that.
It's possible to add a post-install message to a homebrew package. E.g. try to install JDK on Catalina - and |
Why not simply add sdkman as brew cask ? https://github.com/Homebrew/homebrew-cask/blob/master/doc/development/adding_a_cask.md |
The main problem here is what @helpermethod stated above. SDKMAN updates itself, we would first have to do some development to disable this behaviour for brew installations. Also, sdkman has all it's files in the home folder, so it will probably be a problem for brew to manage these. |
But I can install for example the Google Chrome browser as cask. It also updates itself and does all kinds of things. I don't think the self-update feature is a blocker for implementing sdkman for brew cask. |
References Homebrew/brew#10167. |
Perhaps someone can create a custom tap for this in their own repo? It doesnt need to be perfect to be useful. |
Any news on this? |
I guess now that SDKMAN! is distributed as an SDK itself, that should be doable. Wdyt @marc0der? |
Sure. SDKMAN still updates itself once installed, so we probably need a config to turn that off. Also, during installation, we do a bunch of stuff like populating the |
You can write a cask. |
@benkeil Nope, not me. But maybe you can write that cask 😄 |
What happened to this tap. I used it to install SDKMAN and now it's gone? |
Hi @iron, we are currently moving the tap over to the official repository, and in the process I've made the repository private. I'll make it public until the migration is finished. Sorry for the inconvenience! |
Thank you, very much appreciated. |
There is now an official Homebrew Tap for SDKMAN! updated automatically with every release. Installation instructions can be found here: |
@helpermethod Thanks for all your effort. Fantastic work! |
Hi!
It would be very nice to have a homebrew formula, current way with shell script installation is very inconvenient for automatic provisioning.
The text was updated successfully, but these errors were encountered: