c05876cc60
Fix build with ghc-8.6.5
2021-11-02 19:53:22 +01:00
62b16e957b
Merge branch 'issue-276'
2021-10-30 14:17:52 +02:00
190b5dedba
Allow to control the metadata cache, fixes #278
2021-10-30 14:16:45 +02:00
360daf2a09
Make upgrading ghcup in TUI more pleasant
2021-10-30 12:54:05 +02:00
01956d694d
Refactor app Main
2021-10-17 19:15:24 +02:00
c846e52acb
Cleanup during unpack failures as well
2021-10-10 20:48:33 +02:00
15dd810d67
Get rid of concurrent-output
...
Also improve some NO_COLOR foo.
2021-09-24 23:49:50 +02:00
aece305003
Move logger stuff to logger module
2021-09-23 12:53:01 +02:00
ef8da9bcec
Make sure NO_COLOR also applies to logging
2021-09-23 12:16:49 +02:00
c431c0ae00
Implement GPG verification wrt #236
2021-09-18 21:51:19 +02:00
Arjun Kathuria
cadb5086e1
Implements --force install for GHC
2021-09-11 23:20:06 +05:30
Arjun Kathuria
10a30bbf38
Implements --force install for Stack
2021-09-11 22:04:54 +05:30
Arjun Kathuria
6ac7a75bab
Implements --force install for HLS
2021-09-11 22:04:40 +05:30
Arjun Kathuria
59a9a770a5
implements --force option for cabal installs.
2021-09-07 11:23:26 +05:30
13143b8e4d
Drop monad-logger
2021-08-30 23:36:11 +02:00
14fc6b7281
Remove string-interpolate wrt #212
2021-08-25 18:54:58 +02:00
f8cfcd4038
Get rid of tar
2021-08-25 11:48:30 +02:00
3b24f503d1
Fixup rest of the PR
2021-08-11 13:54:02 +02:00
Arjun Kathuria
c2c5625685
implements checking if file already exists for Cabal installs
2021-08-11 10:33:08 +05:30
Arjun Kathuria
dcfb3afdad
Revert "implements isolated install sanity-checking for Cabal installs"
...
This reverts commit 300cfd3ba6
.
2021-08-11 09:46:42 +05:30
Arjun Kathuria
300cfd3ba6
implements isolated install sanity-checking for Cabal installs
2021-08-10 20:14:46 +05:30
Arjun Kathuria
911089f334
updates usages of new installStackBin
across files
2021-08-03 18:08:54 +05:30
Arjun Kathuria
90ed0895d6
updates usages of installHLSBin
across files
2021-08-03 18:08:54 +05:30
Arjun Kathuria
236da31af6
updates usages of new installCabalBindist
across files.
2021-08-03 18:08:54 +05:30
Arjun Kathuria
37ea18a0d8
updates usages of new installGHCBindist and related installGHCBin
2021-08-03 18:08:54 +05:30
9639e695e2
Unhide stack
2021-07-23 16:13:07 +02:00
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
6143cdf2e0
Add --offline switch wrt #186
2021-07-19 13:49:24 +02:00
2f62067d96
Windows support
2021-06-05 21:01:01 +02:00
734916728c
Add stack support
2021-05-15 14:01:00 +02:00
d5b5f1fddd
Chores
2021-03-24 17:56:57 +01:00
f6cc467e95
Fix handling of stray versions wrt #116
2021-03-07 12:02:13 +01:00
8c87c9aeb7
Fix error messages and overhaul pretty printing
...
Fixes #115
2021-03-02 10:35:31 +01:00
c455b521a9
Fix ghcup-tui
2021-02-24 12:42:36 +01:00
dee3218723
Fix item selection with unavailable versions
...
Fixes #107
2021-02-23 17:10:48 +01:00
a9b0c0fbc9
Allow for dynamic post-install, post-remove and pre-compile msgs
2021-02-23 11:52:38 +01:00
Paolo Martini
ead9d31647
Apply NO_COLOR to dimAttributes as well to cover all tui colors
2020-11-26 20:22:32 +01:00
Paolo Martini
a08e624309
Respect NO_COLOR environment variable in list and tui
2020-11-25 11:41:53 +01:00
e829bd8235
Fix brick not updating downloads correctly
2020-11-21 00:32:58 +01:00
53f5a08924
Allow configuring URLSource as well
2020-10-25 14:47:26 +01:00
4fef93b7b1
Allow to configure ghcup with a yaml config file
...
Fixes #41
2020-10-25 10:22:45 +01:00
e250d6013f
Redo Settings as AppState
2020-10-24 01:07:31 +02:00
0ce4549eb8
Ditch the viewport logic
2020-10-11 23:37:27 +02:00
97d568ddd6
Show new versions in bright white
2020-10-11 21:44:11 +02:00
ea58465240
Expand the selected bar
2020-10-11 21:16:48 +02:00
7afd262b1b
Put separators between tools
2020-10-11 21:07:21 +02:00
57c34a07f2
Allow to hide old versions of tools in TUI
2020-10-09 23:05:11 +02:00
73d1d97f1f
Reverse order of tool list in TUI
2020-10-09 20:25:52 +02:00
05cc55c52d
Improve brick UI
2020-09-21 10:40:06 +02:00
bb7c4205db
Allow to install haskell-language-server wrt #65
2020-09-20 23:09:09 +02:00
5c45884f5f
Allow to specify regex for subdir
2020-08-10 22:27:50 +02:00
cafedd73a2
Use Settings to avoid querying dirs every time
2020-08-10 21:52:30 +02:00
7d334c18f5
Don't stop TUI on subcommand failure
2020-08-10 21:51:19 +02:00
d30d2ac8a5
Add cabal-install-3.4.0.0-rc1
2020-08-10 21:51:00 +02:00
e348de8dc4
Drop unused error variants
2020-07-14 19:16:01 +02:00
63c70ee74b
Fix changelog subcommand on darwin
2020-07-13 23:10:17 +02:00
ef8e3bd940
Reduce number of os/dl lookups
2020-07-13 18:27:21 +02:00
1a64527e14
Improve verbosity
2020-07-13 16:27:01 +02:00
50424c2801
Allow to build with tar-bytestring on e.g. 32bit
2020-07-13 15:41:31 +02:00
c3611eec6a
Grey out versions without bindists in tui
2020-07-11 18:53:11 +02:00
Ben Gamari
2be1aa2707
Simplify upgrade copying logic
2020-07-10 22:03:04 +02:00
da94fa5f92
Create brick tui wrt #24
2020-07-10 21:55:12 +02:00