taylor / kiex

Elixir version manager
http://taylor.github.io/kiex/
MIT License
776 stars 66 forks source link

Available for homebrew? #36

Open ctran opened 8 years ago

sobolevn commented 8 years ago

this need to be a brew formula. @taylor, do you want any help with creating it?

rjcoelho commented 8 years ago

I can help, but please create a release since homebrew/head-only is deprecated.

Also homebrew mandates all files are installed in /usr/local, so kiex should able to run from anywhere and lazy setup (create necessary temp folders for instance) on first run. This is how kerl does it.

Check https://github.com/Homebrew/homebrew-core/blob/cab35040bc22c636c3a1040a7dca894b77c782c1/Formula/kerl.rb

taylor commented 8 years ago

@sobolevn @rjcoelho I'd like to have the install go to the user home directory by default while adding support for the /usr/local install for homebrew. The kerl formula does not seem to specify /usr/local so I assume it is has the install prefix path set somewhere else during the kerl build or install process.

rjcoelho commented 8 years ago

https://gist.github.com/rjcoelho/9e7e16cf3ac9ab8845aa8a2cca2718f1

@taylor need a tarball release (homebrew head-only is deprecated) and it would be nice to have bash and zsh completions, see https://github.com/kerl/kerl/blob/master/bash_completion/kerl

sobolevn commented 8 years ago

Apart from missing tags (or releases), there's also an issue with self-updating. brew does not allow to add such packages to the main index. So there are basically two ways:

  1. Remove this feature
  2. Maintain a custom tap (preferable, I think)

Here's a custom tap example: https://github.com/sobolevn/homebrew-tap

@rjcoelho sorry, but I don't get this line: https://gist.github.com/rjcoelho/9e7e16cf3ac9ab8845aa8a2cca2718f1#file-kiex-rb-L13

rjcoelho commented 8 years ago

One vote to remove self updating feature, that it what package managers are for

@sobolevn that line is needed to install but I would prefer that be done by kiex it self on first run (lasy initiation)

sobolevn commented 8 years ago

Any progress on this one?

felipesere commented 6 years ago

I'd love to see this too. Anyway I can help?

Yamilquery commented 6 years ago

+1

mjansing commented 1 year ago

Any updates on this? I would love it to see kiex on brew.