Commit Graph

90 Commits

Author SHA1 Message Date
785fb895b4
Implement 'latest-prerelease' tag wrt #788 2023-02-21 22:22:11 +08:00
9c464ec9fc
Don't fail if the duplicate is the last element 2023-02-19 17:25:14 +08:00
f575dcdad6
Improve usability on 'ghcup config add-release-channel'
Fixes #751 (or so I hope).
2023-02-12 19:58:08 +08:00
20f0505120
Don't implicitly smuggle in config options
Fixes #775
2023-02-09 00:04:53 +08:00
a4c00d2c56
Make version shortcuts work with 'ghcup set', fixes #757 2023-01-24 15:24:03 +08:00
74edf1fc07
Merge branch 'testsuite' 2023-01-12 12:58:39 +08:00
1e32639873
Implement 'ghcup test ghc' based on the bindist testsuite 2023-01-12 12:58:10 +08:00
26a6368d79
Merge remote-tracking branch 'origin/pr/700' 2023-01-08 22:26:19 +08:00
703be0a706
Add support for mirrors wrt #357 2023-01-04 00:36:07 +08:00
009f9211a9
Integrate with errors.haskell.org
Fixes #434
2023-01-03 23:43:46 +08:00
109187eb6f
Merge branch 'issue-367-content-prop' 2023-01-03 23:17:35 +08:00
e881705323
Merge branch 'issue-440' 2023-01-03 22:47:12 +08:00
9d4c923649
Add content-length property to downloads
This is optional for now. Fixes #367
2023-01-02 20:41:42 +08:00
2783b8f693
Fix 'ghcup install hls -u' on windows
Fixes #716
2023-01-02 20:38:58 +08:00
4d82c37539
Add --metadata-fetching-mode arg, fixes #440 2023-01-01 19:16:32 +08:00
70dd106549
Merge branch 'issue-708' 2022-12-27 00:10:41 +08:00
f7d2033e25
Improve postRm message, fixes #384 2022-12-20 22:20:10 +08:00
e8586cf993
Improve add-release-channel, fixes #708 2022-12-20 00:57:56 +08:00
043500e8e8
Optimize 'ghcup whereis ghcup' 2022-11-20 23:29:56 +08:00
e924ad8278
Allow to statically overwrite distro detection, fixes #421 2022-11-12 14:12:13 +08:00
Cheng Shao
8420bf093e Update ghc-head bindist URL 2022-08-09 13:32:58 +00:00
823275363c
Merge branch 'ghcup-run-improvements' 2022-07-12 00:10:17 +02:00
284fe1b3b6
Fix parser and completer for 'ghcup compile hls --version' 2022-07-12 00:05:08 +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
f3c703d655
Support hls in 'ghcup changelog' 2022-07-11 19:44:10 +02:00
b6ff5bc764
Use ghcup's internal dir for 'ghcup run' 2022-07-11 19:43:48 +02:00
99a51d67a1
Make compiling from hackage the default 2022-07-10 21:58:03 +02:00
974112016e
Allow to run 'cabal update' automatically before the HLS build 2022-07-09 23:50:20 +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
d657c17df4
Merge branch 'issue-375' 2022-06-26 23:11:32 +02:00
4022edb12e
Allow passing bindist configure args wrt #377 2022-06-09 14:42:01 +02:00
d1c72cdff4
Add --mingw-path switch to 'ghcup run' 2022-06-06 23:03:45 +02:00
16888a12d4
Cleanup 2022-05-28 16:44:08 +02:00
9f7df33692
Merge branch 'issue-367' 2022-05-24 12:44:57 +02:00
03dfd0cba0
Require --isolate to have an absolute directory, fixes #367 2022-05-23 23:50:49 +02:00
0e64d1f22f
Improve AlreadyInstalled 2022-05-23 23:49:43 +02:00
c7774450bf
Refactor excepts 2022-05-23 23:37:09 +02:00
9375255452
Warn on all tools when shadowed 2022-05-23 16:50:23 +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
430b655785
Improve error handling for mergeFileTree 2022-05-20 00:15:25 +02:00
c9790e5823
Use strongly types GHCupPath and restrict destructive operations 2022-05-13 21:35:34 +02:00
48aee1e76c
[WIP] Prototype of recording installed files
This also installs makefile based build system via DESTDIR
into a temporary directory and then merges it into the filesystem.
2022-05-13 00:46:47 +02:00
dc0ea5a59c
Document and handle '--force' option better 2022-05-12 13:28:09 +02:00
a6a54f34cf
Merge branch 'issue-360' 2022-05-11 20:35:56 +02:00
f7811961b5
Merge branch 'isolateDir' 2022-05-11 20:35:38 +02:00
5787a662ed
Add a --quick switch to 'ghcup run'
Also fixes #360, because we resolve all tags/versions now
by default.
2022-05-11 20:11:35 +02:00
991e540c11
Refactor code around isolateDirs, so we have proper knowledge 2022-05-11 16:18:35 +02:00