Skip to content
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

Download/install should support multi-binary installations #8

Closed
kke opened this issue Jun 18, 2018 · 2 comments
Closed

Download/install should support multi-binary installations #8

kke opened this issue Jun 18, 2018 · 2 comments
Labels
enhancement New feature or request

Comments

@kke
Copy link
Contributor

kke commented Jun 18, 2018

Something like this should be possible:

$ pharos install 1.1.6
Installed pharos-cluster 1.1.6
Installed kubeadm 1.10.7
$ pharos use 1.1.6
$ pharos kubeadm ....

(Distributing / linking to other binaries may be problematic in license sense)

@kke kke added the enhancement New feature or request label Jun 18, 2018
@kke
Copy link
Contributor Author

kke commented Jun 18, 2018

Another option would be that the tool creates and handles symlinks/shims that point to/run correct binaries, like tools such as rbenv do:

$ pharos use 1.5.0
$ kubeadm --version
1.10.6
$ pharos-cluster --version
1.5.0
$
$ pharos use 1.1.0
$ kubeadm --version
1.10.2
$ pharos-cluster --version
1.1.0

This would however require something quite a lot fancier than what it does now.

@kke
Copy link
Contributor Author

kke commented Jun 21, 2018

Implemented in #10

@kke kke closed this as completed Jun 21, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant