Commit Graph

108 Commits

Author SHA1 Message Date
Lei Zhu f1f4d5e836 gc test 2023-07-28 23:26:19 +08:00
Lei Zhu 2726e83235 whereis test 2023-07-28 23:00:15 +08:00
Lei Zhu 6f07b6a343 compile test 2023-07-24 23:04:18 +08:00
Lei Zhu dfebfc9504 upgrade test 2023-07-24 22:26:33 +08:00
Lei Zhu f400f43b8c list test 2023-07-23 23:51:03 +08:00
Lei Zhu c92875882a rm test 2023-07-23 16:30:25 +08:00
Lei Zhu cf1e8659b0 unset test 2023-07-23 15:41:27 +08:00
Lei Zhu aafb77df7c install test 2023-07-22 23:10:27 +08:00
Lei Zhu dc1a813305 config test 2023-07-22 17:46:23 +08:00
Lei Zhu 38db038953 changlog test 2023-07-22 17:14:49 +08:00
Lei Zhu c10924274d Set test 2023-07-22 11:45:29 +08:00
Julian Ospald 0da5572164
Don't need --bignum option 2023-07-07 23:20:16 +08:00
Julian Ospald a43fa7d63e
More cross fixes to install bindist 2023-07-07 16:41:58 +08:00
Julian Ospald 4361ef7a72
Fix cross target being ignored 2023-07-07 00:39:31 +08:00
Sylvain Henry 3218aaa378
Allow cross-compilation with Hadrian 2023-07-07 00:38:50 +08:00
Julian Ospald aed478153d
Print alternative day if day not found 2023-05-14 22:06:38 +08:00
Julian Ospald 210816769a
Add dlOutput to DownloadInfo 2023-05-14 22:06:38 +08:00
Julian Ospald 4b34cddcda
Implement support for nightlies, wrt #824 2023-05-14 19:43:49 +08:00
Julian Ospald 785fb895b4
Implement 'latest-prerelease' tag wrt #788 2023-02-21 22:22:11 +08:00
Julian Ospald 9c464ec9fc
Don't fail if the duplicate is the last element 2023-02-19 17:25:14 +08:00
Julian Ospald f575dcdad6
Improve usability on 'ghcup config add-release-channel'
Fixes #751 (or so I hope).
2023-02-12 19:58:08 +08:00
Julian Ospald 20f0505120
Don't implicitly smuggle in config options
Fixes #775
2023-02-09 00:04:53 +08:00
Julian Ospald a4c00d2c56
Make version shortcuts work with 'ghcup set', fixes #757 2023-01-24 15:24:03 +08:00
Julian Ospald 74edf1fc07
Merge branch 'testsuite' 2023-01-12 12:58:39 +08:00
Julian Ospald 1e32639873
Implement 'ghcup test ghc' based on the bindist testsuite 2023-01-12 12:58:10 +08:00
Julian Ospald 26a6368d79
Merge remote-tracking branch 'origin/pr/700' 2023-01-08 22:26:19 +08:00
Julian Ospald 703be0a706
Add support for mirrors wrt #357 2023-01-04 00:36:07 +08:00
Julian Ospald 009f9211a9
Integrate with errors.haskell.org
Fixes #434
2023-01-03 23:43:46 +08:00
Julian Ospald 109187eb6f
Merge branch 'issue-367-content-prop' 2023-01-03 23:17:35 +08:00
Julian Ospald e881705323
Merge branch 'issue-440' 2023-01-03 22:47:12 +08:00
Julian Ospald 9d4c923649
Add content-length property to downloads
This is optional for now. Fixes #367
2023-01-02 20:41:42 +08:00
Julian Ospald 2783b8f693
Fix 'ghcup install hls -u' on windows
Fixes #716
2023-01-02 20:38:58 +08:00
Julian Ospald 4d82c37539
Add --metadata-fetching-mode arg, fixes #440 2023-01-01 19:16:32 +08:00
Julian Ospald 70dd106549
Merge branch 'issue-708' 2022-12-27 00:10:41 +08:00
Julian Ospald f7d2033e25
Improve postRm message, fixes #384 2022-12-20 22:20:10 +08:00
Julian Ospald e8586cf993
Improve add-release-channel, fixes #708 2022-12-20 00:57:56 +08:00
Julian Ospald 043500e8e8
Optimize 'ghcup whereis ghcup' 2022-11-20 23:29:56 +08:00
Julian Ospald 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
Julian Ospald 823275363c
Merge branch 'ghcup-run-improvements' 2022-07-12 00:10:17 +02:00
Julian Ospald 284fe1b3b6
Fix parser and completer for 'ghcup compile hls --version' 2022-07-12 00:05:08 +02:00
Julian Ospald 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
Julian Ospald f3c703d655
Support hls in 'ghcup changelog' 2022-07-11 19:44:10 +02:00
Julian Ospald b6ff5bc764
Use ghcup's internal dir for 'ghcup run' 2022-07-11 19:43:48 +02:00
Julian Ospald 99a51d67a1
Make compiling from hackage the default 2022-07-10 21:58:03 +02:00
Julian Ospald 974112016e
Allow to run 'cabal update' automatically before the HLS build 2022-07-09 23:50:20 +02:00
Julian Ospald 9fb2889696
Allow to build from arbitrary GHC source dists 2022-07-09 23:12:00 +02:00
Julian Ospald 63f22b28d7
Allow to build HLS from hackage 2022-07-09 21:12:23 +02:00
Julian Ospald 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
Julian Ospald d657c17df4
Merge branch 'issue-375' 2022-06-26 23:11:32 +02:00