Commit Graph

162 Commits

Author SHA1 Message Date
Julian Ospald 4574f3aa4f
Switch to yaml-streamly 2021-10-21 23:39:07 +02:00
Julian Ospald 9f8c9c228d
Reduce IS_WINDOWS CPP 2021-10-17 20:57:22 +02:00
Julian Ospald 01956d694d
Refactor app Main 2021-10-17 19:15:24 +02:00
Julian Ospald ccfaedb7ad
Migrate to aeson-2.0.1.0 2021-10-13 19:47:14 +02:00
Julian Ospald a68355cb7d
Raise Cabal lower bound 2021-10-09 22:49:09 +02:00
Julian Ospald 2ff2655db0
Fix ghcup.cabal 2021-10-03 12:15:22 +02:00
Julian Ospald f1e01e8b18
Add golden file to extra-source-files wrt #255 2021-10-02 14:31:38 +02:00
Julian Ospald f2dcfbdc5f
Prepare for hackage release 2021-10-01 17:15:30 +02:00
Julian Ospald 0e6688c2bc
Bump to 0.1.17.2 2021-09-30 11:15:53 +02:00
Julian Ospald 30d9eb5634
Bump to 0.1.17.1 2021-09-26 15:02:08 +02:00
Julian Ospald 15dd810d67
Get rid of concurrent-output
Also improve some NO_COLOR foo.
2021-09-24 23:49:50 +02:00
Julian Ospald 28d4071fac
Bump version 2021-09-20 19:55:11 +02:00
Julian Ospald 31a523755f
Remove solus support 2021-09-20 19:42:06 +02:00
Julian Ospald f90741f4d3
Implement compiling HLS from source 2021-09-19 22:04:32 +02:00
Julian Ospald d2346a543a
Fixup 2021-09-04 15:53:29 +02:00
Julian Ospald 8c72bf697e
Move files into nicer subdirectories 2021-09-04 15:08:58 +02:00
Julian Ospald d98e54a743
Drop yaml/libyaml 2021-08-30 23:36:11 +02:00
Julian Ospald 13143b8e4d
Drop monad-logger 2021-08-30 23:36:11 +02:00
Julian Ospald a269b60282
Remove extra 2021-08-29 22:37:16 +02:00
Julian Ospald 430dc2d20b
Remove zip dependency 2021-08-29 20:56:17 +02:00
Julian Ospald e9c335eecc
Add --cabal-plan 2021-08-27 14:59:09 +02:00
Julian Ospald 14fc6b7281
Remove string-interpolate wrt #212 2021-08-25 18:54:58 +02:00
Julian Ospald 9d6e469f79
Add solus support 2021-08-25 13:51:34 +02:00
Julian Ospald f8cfcd4038
Get rid of tar 2021-08-25 11:48:30 +02:00
Mario Lang df55d972cf brick-0.64 has been released 2021-08-24 21:16:41 +02:00
Julian Ospald 6701093c3b
Bump version to 0.1.16.2 2021-08-11 16:30:01 +02:00
vglfr 1cfff674b7
Implement config CLI MVP 2021-08-03 09:09:47 +03:00
Julian Ospald b38a569124
Bump to 0.1.16.1 2021-07-28 22:36:59 +02:00
Julian Ospald 442ddfd4e4
Bump ghcup metadata, because new GHC versions may have different bin/ layout 2021-07-28 20:08:20 +02:00
Julian Ospald e4e52ebf6b
Bump to 0.1.16 2021-07-27 20:39:12 +02:00
Julian Ospald 48d3b3bc3e
Merge branch 'cursor' of https://github.com/mlang/ghcup-hs into mlang-cursor 2021-07-23 14:38:49 +02:00
Mario Lang 761b8cc750 Place an (invisible) cursor at the beginning of the active list item
This change is to support screen readers which use the cursor location
to indicate the focus to the user.

Brick.putCursor is unreleased, so grab the latest version from git via extra-deps.
2021-07-23 11:53:28 +02:00
Julian Ospald 1c2cf98850
Fix file/dir removal on windows, fixes #165 2021-07-21 20:50:58 +02:00
Julian Ospald 6143cdf2e0
Add --offline switch wrt #186 2021-07-19 13:49:24 +02:00
Julian Ospald f04708e8ae
Speed up 'whereis' subcommand wrt #179 2021-07-15 20:01:00 +02:00
Julian Ospald 34ecb1a56e
Add build-tool-depends: hspec-discover:hspec-discover 2021-07-13 17:25:13 +02:00
Julian Ospald a30b3c84d7
Loosen bound on versions wrt #164 2021-07-03 17:48:39 +02:00
Julian Ospald a608a105e3
Release 0.1.15.2 2021-06-13 22:07:33 +02:00
Julian Ospald dfb6c09133
Enable libarchive wrt #147 2021-06-13 21:29:00 +02:00
Julian Ospald 9982311c87
Update lzma-static 2021-06-10 15:10:53 +02:00
Julian Ospald e0ee1c2f94
Bump to 0.1.15.1 2021-06-10 14:00:26 +02:00
Julian Ospald 5cd9ce8835
Fix build with zip 2021-06-07 19:33:12 +02:00
Julian Ospald a47304e599
Add ghcup-0.0.5.yaml to cabal extra docs 2021-06-06 11:58:51 +02:00
Julian Ospald 2f62067d96
Windows support 2021-06-05 21:01:01 +02:00
Julian Ospald 5f6ed1292d
Remove dead dependency on ascii-string
This hopefull fixes nix packaging.
2021-05-12 13:42:27 +02:00
Julian Ospald 7d13836fea
Warn when /tmp doesn't have 2500 or more of disk space 2021-04-25 17:25:40 +02:00
Julian Ospald b1c3ffd729
Update ghcup.cabal 2021-04-11 18:14:52 +02:00
Julian Ospald 4f1a9e95a2
Add stuff to extra-doc-files 2021-04-11 18:08:31 +02:00
Julian Ospald f6a4f55384
Release 0.1.14.1 2021-04-11 18:01:31 +02:00
Julian Ospald 3111387e5a
Bump lzma-static 2021-04-11 16:31:44 +02:00
Julian Ospald fbac593739
Fix build on FreeBSD 2021-04-10 13:29:36 +02:00
Julian Ospald 4a86b2479e
Fix up .cabal file 2021-04-09 19:39:14 +02:00
Julian Ospald 7bb2552d0f
Tighten bounds for hackage 2021-04-09 19:18:44 +02:00
Julian Ospald ad21640cd9
Please 'cabal check' 2021-04-09 19:13:36 +02:00
Julian Ospald e4aad4e645
Use lzma-static 2021-04-09 19:01:31 +02:00
Julian Ospald adf44ba141
Validate subdirs too, fixes #52 2021-04-02 16:54:27 +02:00
Julian Ospald d5b5f1fddd
Chores 2021-03-24 17:56:57 +01:00
Julian Ospald df54b3711f
Update cabal.project etc 2021-03-07 20:54:53 +01:00
Julian Ospald 0d3dc4eba2
Bump ghcup version 2021-03-02 12:39:24 +01:00
Julian Ospald 8c87c9aeb7
Fix error messages and overhaul pretty printing
Fixes #115
2021-03-02 10:35:31 +01:00
Julian Ospald d3505d4ee6
Bump version to 0.1.13 2021-02-25 15:33:52 +01:00
amesgen 56569a0698
use regex instead of substring 2021-01-02 05:05:05 +01:00
Julian Ospald eebb91fbb0
Use extra-doc-files for CHANGELOG.md 2020-11-20 23:16:13 +01:00
Julian Ospald 4fef93b7b1
Allow to configure ghcup with a yaml config file
Fixes #41
2020-10-25 10:22:45 +01:00
Julian Ospald 241dadbeb5
Update to versions-4.0.1 API 2020-10-25 10:22:35 +01:00
Julian Ospald 956e11c3f8
Bump version to 0.1.12 2020-10-13 00:09:35 +02:00
Julian Ospald 40a1cc98c6
Drop use of table-layout, thanks to Simon 2020-09-22 21:05:59 +02:00
Julian Ospald cbbb75062c
Bump version to 0.1.11 2020-09-20 23:09:09 +02:00
Julian Ospald 9d6a5313ab
Add JSON roundtrip specs 2020-09-13 21:10:13 +02:00
Julian Ospald 02b360e2a9
Create bindists when compiling GHC wrt #51 2020-09-12 23:47:12 +02:00
Julian Ospald 7ec9d90aab
Fix build with libarchive-3.0.0.0 2020-09-01 19:55:48 +02:00
Julian Ospald 672ebf6426
Bump version 2020-08-14 16:57:15 +02:00
Julian Ospald 90af68b211
Pre-release 0.1.9 2020-08-11 21:55:15 +02:00
Julian Ospald 6f1b8b4041
Fix build on 32bit 2020-08-11 19:47:29 +02:00
Julian Ospald 5c45884f5f
Allow to specify regex for subdir 2020-08-10 22:27:50 +02:00
Julian Ospald 391676e90a
Use yaml instead of pesky json 2020-08-09 21:56:11 +02:00
Julian Ospald 185d4f869b
Remove unnecessary bundles 2020-07-22 01:37:15 +02:00
Julian Ospald 4b21adadf1
Release 0.1.8 2020-07-21 22:47:21 +02:00
Julian Ospald dad926f3ba
Allow to specify custom bindist, fixes #14 2020-07-21 20:19:33 +02:00
Julian Ospald 53148fd1c9
Release 0.1.7 2020-07-20 22:25:28 +02:00
Julian Ospald fb0eba9201
Release 0.1.6 2020-07-13 20:31:14 +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 8ef19f0825
Allow to build with ghc-8.10.1 and 8.6.5 2020-07-11 22:53:38 +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 b82367838d
Fix memory leak 2020-07-04 21:18:51 +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 85054d9c76
Show note for versions that don't have a bindist 2020-05-15 21:53:45 +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 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 5edebd57d9
Move download info into library 2020-04-22 19:32:48 +02:00
Julian Ospald 5d94d0bf75
Also check for GHC and Cabal updates on start 2020-04-18 20:20:18 +02:00
Julian Ospald eaafd77a7e
Add --version and --numeric-version 2020-04-17 18:57:58 +02:00
Julian Ospald 879bd061dd
Bump to 0.1.4 2020-04-16 09:04:19 +02:00
Julian Ospald 3d10f964c6
Bump version to 0.1.3 2020-04-15 15:42:09 +02:00
Julian Ospald b3105b439c
Bump version to 0.1.2 2020-04-15 13:58:53 +02:00
Julian Ospald 0d393612a7
Update git repo links 2020-04-15 01:04:58 +02:00