sdkman / sdkman-cli

The SDKMAN! Command Line Interface
https://sdkman.io
Apache License 2.0
6.14k stars 631 forks source link

Feature: sdkman self hosted #1062

Open craph opened 2 years ago

craph commented 2 years ago

Hello,

Is it possible to have a self hosted instance of sdkman (all the stack) to have/define a list of custom candidates ?

Thank you very much. Best regards,

ddcruver commented 1 month ago

I am interested in this feature as well. It could be useful for company's IT department that want to manage the tools the developers uses in the company.

Would this project be interested in accepting a contribution to enable this? If someone implemented it would be nice to know if the leadership would accept this feature or not before doing the work.

helpermethod commented 3 weeks ago

Note that self hosting SDKMAN! wouldn't be that helpful, as SDKMAN! doesn't host any binaries itself, but rather links to the original binaries as-is.

craph commented 3 weeks ago

Note that self hosting SDKMAN! wouldn't be that helpful, as SDKMAN! doesn't host any binaries itself, but rather links to the original binaries as-is.

I understand but It could be useful to host custom tooling and manage them by sdkman if there is a possibility to selfhost

tripleo1 commented 2 weeks ago

Note that self hosting SDKMAN! wouldn't be that helpful, as SDKMAN! doesn't host any binaries itself, but rather links to the original binaries as-is.

I understand but It could be useful to host custom tooling and manage them by sdkman if there is a possibility to selfhost

https://github.com/sdkman/sdkman-cli/blob/47e4c6c8f1327b23564d56ca96d2e5beaaf470bb/src/main/bash/sdkman-install.sh#L116-129

craph commented 3 days ago

Note that self hosting SDKMAN! wouldn't be that helpful, as SDKMAN! doesn't host any binaries itself, but rather links to the original binaries as-is.

I understand but It could be useful to host custom tooling and manage them by sdkman if there is a possibility to selfhost

https://github.com/sdkman/sdkman-cli/blob/47e4c6c8f1327b23564d56ca96d2e5beaaf470bb/src/main/bash/sdkman-install.sh#L116-129

The function is to download tools from sdkman_api not to host custom tooling right ?

tripleo1 commented 2 days ago

look on line 141

and this

https://github.com/sdkman/sdkman-cli/blob/47e4c6c8f1327b23564d56ca96d2e5beaaf470bb/src/main/bash/sdkman-utils.sh#L57