e924ad8278
Allow to statically overwrite distro detection, fixes #421
2022-11-12 14:12:13 +08:00
823275363c
Merge branch 'ghcup-run-improvements'
2022-07-12 00:10:17 +02:00
7a2a5074fa
Fix parsing issues with 'ghcup run' and non-PVP versions
...
This is a major refactor of some CLI code. We try to distinguish
GHC versions from other versions, so that we can use distinct parsers.
Hopefully this doesn't introduce new bugs.
This also forces ghcup run to use the new internal ~/.ghcup/tmp dir.
2022-07-11 19:45:15 +02:00
9fb2889696
Allow to build from arbitrary GHC source dists
2022-07-09 23:12:00 +02:00
63f22b28d7
Allow to build HLS from hackage
2022-07-09 21:12:23 +02:00
a264cb088e
Improve 'ghcup compile hls'
...
1. short hashes now work
2. print the long hash in addition to the detected cabal version of HLS
3. add `--git-describe-version` switch as an alternative to
`--overwrite-version`
Fix 1. and 2. for GHC as well.
2022-07-06 22:49:11 +02:00
2845425099
Restructure modules
2022-05-22 21:11:40 +02:00
df89ddcdf5
Use internal tmpdir
2022-05-20 23:19:33 +02:00
c9790e5823
Use strongly types GHCupPath
and restrict destructive operations
2022-05-13 21:35:34 +02:00
b036c9861f
Re-enable upgrade functionality for all configurations
...
Adds a --fail-if-shadowed switch.
2022-05-04 14:15:17 +02:00
92bd333552
Fix double appstate
2022-03-18 17:47:49 +01:00
8eeb32c495
Overhaul metadata merging and add 'ghcup config add-release-channel URI'
2022-03-18 17:47:49 +01:00
fdcd6822c4
Don't do update check on --no-verbose
2022-03-18 17:47:49 +01:00
f9a38e616d
Add --raw-format to 'tool-requirements' subcommand
2022-03-17 15:05:18 +01:00
5186d959bc
Avoid metadata download when possible
2022-02-10 19:29:32 +01:00
c72841ca58
Implement 'ghcup run'
2022-02-09 18:57:59 +01:00
b245c11b1d
Allow to disable self-upgrade functionality wrt #305
2022-01-28 23:08:35 +01:00
43ea85b495
Also fix redundant upgrade warnings for 'ghcup upgrade'
2021-11-14 16:24:13 +01:00
2e03b075f8
Avoid redundant warnings when installing tools, fixes #283
2021-11-13 22:59:52 +01:00
190b5dedba
Allow to control the metadata cache, fixes #278
2021-10-30 14:16:45 +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
5a39ead523
Speed up unset command
2021-09-27 12:52:45 +02:00
9fe7af3335
Hide nuclear command
2021-09-25 22:45:06 +02:00
c19dd5ee8b
Implement ghcup gc
command
...
Fixes #241
2021-09-25 22:29:02 +02:00
9497e310ca
Improve cli interface with partial versions
...
Fixes #243
2021-09-25 17:13:11 +02:00
041a341879
Merge branch 'issue-242'
2021-09-25 00:19:51 +02:00
15dd810d67
Get rid of concurrent-output
...
Also improve some NO_COLOR foo.
2021-09-24 23:49:50 +02:00
fa523d590e
Add ListAvailable to ListCriteria
2021-09-24 20:51:29 +02:00
523f2f57e1
Fix ghcup list -t
for hls/stack, fixes #244
2021-09-24 20:51:29 +02:00
ef8da9bcec
Make sure NO_COLOR also applies to logging
2021-09-23 12:16:49 +02:00
d5b41683ca
Improve HLS compile
2021-09-20 22:24:20 +02:00
3d1d8f1af7
Improve optparse hls stuff
2021-09-20 14:43:43 +02:00
f90741f4d3
Implement compiling HLS from source
2021-09-19 22:04:32 +02:00
4767f3db5b
Implement ghcup unset
2021-09-19 14:17:55 +02:00
c431c0ae00
Implement GPG verification wrt #236
2021-09-18 21:51:19 +02:00
c42c4b64f9
Improve logging
2021-09-18 15:46:53 +02:00
d3a36c2c9a
Merge remote-tracking branch 'origin/merge-requests/156'
2021-09-18 15:19:06 +02:00
Arjun Kathuria
8fc128e89b
move some code around for better consistency
2021-09-12 09:25:09 +05:30
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
jneira
488f25aed6
Include stack and minor correction
2021-09-08 14:14:05 +02:00
Arjun Kathuria
59a9a770a5
implements --force option for cabal installs.
2021-09-07 11:23:26 +05:30
Arjun Kathuria
20bcb26e3d
Adds the --force option in install commands
2021-09-07 11:17:10 +05:30
d2346a543a
Fixup
2021-09-04 15:53:29 +02:00
b962bf4af9
Add missing qAddDependentFiles
2021-09-04 15:10:07 +02:00
cc8cf3d12a
Improve --patchdir documentation wrt #226
2021-09-04 14:31:05 +02:00
283f2a6e46
Add ghcup whereis bindir
and friends, fixes #221
2021-09-02 15:37:03 +02:00
d98e54a743
Drop yaml/libyaml
2021-08-30 23:36:11 +02:00