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 Script for Binary #117

Open
3 tasks
joehand opened this issue Jul 3, 2019 · 4 comments
Open
3 tasks

Download/Install Script for Binary #117

joehand opened this issue Jul 3, 2019 · 4 comments
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed

Comments

@joehand
Copy link
Contributor

joehand commented Jul 3, 2019

With #115 we have binaries being built on each new tagged release.

However, we still need to make it easy to "install" this. We've used this script with dat: https://github.com/datproject/dat/blob/master/download.sh and can take a similar approach.

  • Add download/install script
  • Document install methods (via npm or via install script)
  • Add install methods to website
@joehand joehand added enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed labels Jul 3, 2019
@joehand
Copy link
Contributor Author

joehand commented Jul 3, 2019

For some documentation fodder, see https://zeit.co/download.sh

@joehand
Copy link
Contributor Author

joehand commented Jul 4, 2019

See https://gist.github.com/joehand/24f15a88c13dc628fd3dc459d9810429 for an install script and some open questions also added below.

Questions I have:

  • Is ~/.cabal/releases the best place to install?
  • Can we make that exit message nicer?
  • What if the latest release isn't published? (this happened in Dat because we released a new one but the binary didn't get built b/c tests failed causing this script to break)
  • Should we prefer this distribution to npm? (e.g. zeit/now installs the binary when you do npm install)

@cblgh
Copy link
Member

cblgh commented Jul 12, 2019

Is ~/.cabal/releases the best place to install?

yeah that's a good spot :)

Can we make that exit message nicer?

on fail? or what exit message

What if the latest release isn't published? (this happened in Dat because we released a new one but the binary didn't get built b/c tests failed causing this script to break)
Should we prefer this distribution to npm? (e.g. zeit/now installs the binary when you do npm install)

oh hm, i don't think i have any opinions on these. @noffle?

@hackergrrl
Copy link
Member

@joehand I'm ok with letting people use their distribution's package manager to install cabal, and just providing the ZIP archives with the binaries for folx who want to DIY it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants