Commit Graph

202 Commits

Author SHA1 Message Date
Julian Ospald 956e11c3f8
Bump version to 0.1.12 2020-10-13 00:09:35 +02:00
Julian Ospald 57c34a07f2
Allow to hide old versions of tools in TUI 2020-10-09 23:05:11 +02:00
Julian Ospald 9d7914e69a
Bump ghcupURL 2020-09-22 23:41:19 +02:00
Julian Ospald 965d2a3ba8
Drop 'ghcup compile cabal'
Upstream has discontinued the old bootstrap shell script.
The new python shell script doesn't work like the old one
and is only useful for bootstrapping to a new architecture.

If you miss this feature, consider running:
  cabal install cabal-install

with the appropriate GHC version set (this might need some
experimenting).

This also fixes #64
2020-09-22 21:26:10 +02:00
Julian Ospald cbbb75062c
Bump version to 0.1.11 2020-09-20 23:09:09 +02:00
Julian Ospald bb7c4205db
Allow to install haskell-language-server wrt #65 2020-09-20 23:09:09 +02:00
Julian Ospald a269131e2d
Allow to compile over existing version, fixes #59 2020-09-17 21:21:16 +02:00
Julian Ospald 59ece98fdc
Fix bug in compileGHC cleanup logic 2020-09-17 21:20:38 +02:00
Julian Ospald 9d6a5313ab
Add JSON roundtrip specs 2020-09-13 21:10:13 +02:00
Julian Ospald de09c950d5
Improve requirements wording, fixes #56 2020-09-13 15:38:51 +02:00
Julian Ospald 02b360e2a9
Create bindists when compiling GHC wrt #51 2020-09-12 23:47:12 +02:00
Julian Ospald 326bf510c9
Fix Error when ~/.ghcup is a valid symlink
Fixes #49
2020-08-31 13:03:12 +02:00
Julian Ospald 873c951d6e
Refactor chmod +x 2020-08-14 22:27:05 +02:00
Julian Ospald d9c864d3c5
Make sure cabal is executable wrt #46 2020-08-14 22:07:39 +02:00
Julian Ospald 672ebf6426
Bump version 2020-08-14 16:57:15 +02:00
Julian Ospald e24c9a3ffe
Show stray cabals, fixes #45 2020-08-14 16:53:32 +02:00
Julian Ospald 202f3ea3ba
Fix bug where setting non-installed GHC unsets current one 2020-08-13 20:40:09 +02:00
Julian Ospald 90af68b211
Pre-release 0.1.9 2020-08-11 21:55:15 +02:00
Julian Ospald dac64f5718
Make TarDir backwardscompat 2020-08-10 22:28:02 +02:00
Julian Ospald 5c45884f5f
Allow to specify regex for subdir 2020-08-10 22:27:50 +02:00
Julian Ospald cafedd73a2
Use Settings to avoid querying dirs every time 2020-08-10 21:52:30 +02:00
Julian Ospald 7163b77837
Only query directories once 2020-08-10 21:51:31 +02:00
Julian Ospald 122c54b51e
Refactor 2020-08-10 21:51:31 +02:00
Julian Ospald b9d7d7d007
Fix licences in module haddock 2020-08-10 21:51:29 +02:00
Julian Ospald aac8f760ad
Add xdg support wrt #39 2020-08-10 21:51:19 +02:00
Julian Ospald 86b0e4b31b
Fix `cabalSet` for pre-release versions 2020-08-10 21:51:19 +02:00
Julian Ospald af811f3dbc
`nub` result in getInstalledCabals 2020-08-10 21:51:19 +02:00
Julian Ospald d30d2ac8a5
Add cabal-install-3.4.0.0-rc1 2020-08-10 21:51:00 +02:00
Julian Ospald 391676e90a
Use yaml instead of pesky json 2020-08-09 21:56:11 +02:00
Julian Ospald 846cf92fa4
Add GHC-8.10.2 2020-08-09 15:49:08 +02:00
Julian Ospald fb1875ee5b
Doc fixes 2020-07-22 02:34:17 +02:00
Julian Ospald 826900cc41
Improve documentation 2020-07-22 01:08:58 +02:00
Julian Ospald ec6bbdbf06
Update ghcup binaries 2020-07-22 00:18:31 +02:00
Julian Ospald b5440fc7d2
Fix bug in installCabalBin 2020-07-21 23:10:47 +02:00
Julian Ospald 4b21adadf1
Release 0.1.8 2020-07-21 22:47:21 +02:00
Julian Ospald 78ae77780b
Fix bug in logging thread
It would die on newlines due to empty String blindness.
Also make sure takeMVar does not block.
2020-07-21 22:43:09 +02:00
Julian Ospald ccb95bcbee
f custom 2020-07-21 22:42:39 +02:00
Julian Ospald 21ac670bbe
Update FreeBSD bindist 2020-07-21 21:08:41 +02:00
Julian Ospald dad926f3ba
Allow to specify custom bindist, fixes #14 2020-07-21 20:19:33 +02:00
Julian Ospald e1cf11f9d4
Add Alpine GHC 8.4.4 for 64bit 2020-07-21 01:18:03 +02:00
Julian Ospald 97cd43792d
Set 8.8.4 as recommended GHC version 2020-07-21 00:31:02 +02:00
Julian Ospald 08693e6d3a
Add more alpine bindists 2020-07-21 00:29:46 +02:00
Julian Ospald e2227da8d2
Update ghcup binaries 2020-07-21 00:02:14 +02:00
Julian Ospald 53148fd1c9
Release 0.1.7 2020-07-20 22:25:28 +02:00
Julian Ospald b7faae1203
Add more alpine bindists 2020-07-20 22:20:24 +02:00
Julian Ospald b6a9d35c3e
Merge branch 'alpine-bindists' 2020-07-20 20:59:08 +02:00
Julian Ospald 6cb6c7a448
Install alpine bindists with --disable-ld-override 2020-07-20 20:48:22 +02:00
Julian Ospald 22a5ad739e
Don't try non-musl bindists for Alpine Linux 2020-07-20 20:47:45 +02:00
Julian Ospald 9e59f484e3
Fix alpine bindists 2020-07-20 20:30:47 +02:00
Julian Ospald 3ecdb63063
Update tarballs 2020-07-19 00:50:57 +02:00
Julian Ospald 4c4266dd8c
Add GHC-8.8.4 for FreeBSD 2020-07-16 14:38:19 +02:00
Julian Ospald e8336bbc8a
Add GHC-8.8.4 2020-07-16 10:57:44 +02:00
Julian Ospald 0f69c73e0e
Rework printing/tee
This should be faster to draw, use less syscalls
and generally use EOF and pipes correctly.
2020-07-16 00:10:27 +02:00
Julian Ospald 3c2e0334b7
Update ghcup binary urls 2020-07-14 19:07:19 +02:00
Julian Ospald 0679626514
Self host ghcup binaries 2020-07-14 14:29:23 +02:00
Julian Ospald 5035051135
Update 0.1.6 2020-07-13 23:50:11 +02:00
Julian Ospald ba03b78f23
Update ghcup binaries 2020-07-13 22:15:39 +02:00
Julian Ospald fb0eba9201
Release 0.1.6 2020-07-13 20:31:14 +02:00
Julian Ospald b184ee835f
Add freebsd 8.6.5 bindist 2020-07-13 20:05:02 +02:00
Julian Ospald ef8e3bd940
Reduce number of os/dl lookups 2020-07-13 18:27:21 +02:00
Julian Ospald 1a64527e14
Improve verbosity 2020-07-13 16:27:01 +02:00
Julian Ospald 50424c2801
Allow to build with tar-bytestring on e.g. 32bit 2020-07-13 15:41:31 +02:00
Julian Ospald 531b82a406
Add ghc-8.8.3 freebsd bindist 2020-07-13 15:41:30 +02:00
Julian Ospald 146ac38549
Add 8.10.1 freebsd bindist 2020-07-12 16:48:25 +02:00
Julian Ospald 8ef19f0825
Allow to build with ghc-8.10.1 and 8.6.5 2020-07-11 22:53:38 +02:00
Ben Gamari 2be1aa2707
Simplify upgrade copying logic 2020-07-10 22:03:04 +02:00
Julian Ospald da94fa5f92
Create brick tui wrt #24 2020-07-10 21:55:12 +02:00
Julian Ospald bed2cca8d2
Use libarchive instead of tar-bytestring 2020-07-05 23:03:24 +02:00
Julian Ospald 9717a1c00f
Use os-release package 2020-07-04 23:28:30 +02:00
Julian Ospald 4b89810892
Rm unused functions 2020-07-04 21:20:08 +02:00
Julian Ospald dd7556ba21
Merge branch 'less-bash' 2020-06-27 21:38:12 +02:00
Julian Ospald f9251589cd
Add some architectures 2020-06-27 19:00:13 +02:00
Julian Ospald 2de549862a
Get rid of language-bash
And clean up detection logic a bit. We also don't
read /etc/lsb-release manually more, since it's format is
not specified.
2020-06-27 18:54:20 +02:00
Julian Ospald 86c144b285
Merge remote-tracking branch 'remotes/origin/merge-requests/12' into hadrian 2020-06-20 14:40:47 +02:00
Julian Ospald 7ec6e8604c
Slight style changes 2020-06-20 14:37:38 +02:00
Julian Ospald de70f4820f
Merge remote-tracking branch 'origin/merge-requests/13' into hadrian 2020-06-20 12:39:21 +02:00
Brian McKenna febe6fcb35 Fix behaviour of non-Hadrian builds
getFileStatus will resolve symbolic links. getSymbolicLinkStatus doesn't.
2020-06-20 03:38:41 +00:00
Brian McKenna 3055529d4c Update GHCupDownloads with ghcup-0.0.2.json content 2020-06-19 23:17:34 +00:00
Brian McKenna d276bfb3ec Extract Hadrian logic to isHadrian function with comment 2020-06-19 23:06:46 +00:00
Sigmund Vestergaard ad53b141c7
Removed reference to specific version of RHEL in GHCupDownloads.hs 2020-06-19 10:49:31 +02:00
Sigmund Vestergaard 23c13a07a9
Added support for RedHat in lib/GHCup/Data/GHCupDownloads.hs 2020-06-19 10:49:31 +02:00
Brian McKenna a186b07763 Support Hadrian provided bindists
Fixes #31
2020-06-18 14:03:51 +00:00
Julian Ospald be93a98bd4
Update ToolRequirements for Ubuntu, add Debian
Fixes #26
2020-05-17 18:43:58 +02:00
Julian Ospald 85054d9c76
Show note for versions that don't have a bindist 2020-05-15 21:53:45 +02:00
Julian Ospald 6c95218daf
Support multiple installed versions of cabal
Fixes #23
2020-05-13 21:33:45 +02:00
Julian Ospald ede6299681
Update darwin binary 2020-05-10 13:47:06 +02:00
Julian Ospald 378942cbce
Update darwin ghcup-0.1.5 binary
Seems to be broken on some systems due to
gitlab CI using homebrew. Switched back
to building it on travis.

Fixes #21
2020-05-07 21:35:40 +02:00
Julian Ospald d2b280da2d
Update tarballs 2020-04-30 20:46:45 +02:00
Julian Ospald 0bbac877bd
Update ghcup tarballs 2020-04-30 00:12:30 +02:00
Julian Ospald a8be2efd85
Bump to version 0.1.5 2020-04-29 22:34:20 +02:00
Julian Ospald f46700e1cc
First cross try 2020-04-29 20:19:01 +02:00
Julian Ospald a1282b2854
Fix missing import 2020-04-29 19:36:16 +02:00
Julian Ospald 0ff7ebb1fd
Allow to set downloader 2020-04-29 19:12:58 +02:00
Julian Ospald 56e4a6b15f
Invert curl flag to internal-downloader 2020-04-29 09:56:26 +02:00
Julian Ospald 56c439d716
Fall back to cached ghcup-<..>.json 2020-04-27 23:23:34 +02:00
Julian Ospald fad9f83e6a
Add CentoOS tool requirements 2020-04-27 21:52:44 +02:00
Julian Ospald 1d623723a2
Fix bug with missing ~/.ghcup/ghc/ dir 2020-04-26 22:06:00 +02:00
Julian Ospald 931080244f
Fix bug in logging 2020-04-26 20:17:59 +02:00
Julian Ospald 27e2e7f848
Fix building of documentation 2020-04-26 11:55:47 +02:00
Julian Ospald 8b638c7ecb
Rm stray ghc version 2020-04-25 13:22:12 +02:00