Commit Graph

62 Commits

Author SHA1 Message Date
Julian Ospald b837a93176
Merge remote-tracking branch 'origin/pr/943' 2024-01-20 16:59:53 +08:00
Julian Ospald 6ae312c1f9
Merge remote-tracking branch 'origin/tar' 2024-01-20 16:55:46 +08:00
Rune K. Svendsen 6fec9d4737 Quote version in `Pretty NotInstalled` instance 2024-01-11 11:42:56 +01:00
Rune K. Svendsen 87ec8c756f Move ArchiveResult into GHCup.Utils.Tar.Types
So a module that wants to import ArchiveResult doesn't have to worry about CPP.
2024-01-09 10:19:58 +01:00
Julian Ospald afd7e7dc4f
Re-introduce tar 2024-01-03 17:56:33 +08:00
Rune K. Svendsen dfe213824f Improve NoDownload Pretty instance on missing/unknown "mtarget"
The guard was only used for the "Perhaps you meant"-part, so include the other part regardless of what `mtarget` is.
2023-12-30 14:13:16 +01:00
Yuto Tanaka 9d7f99bd00 Fix many typos 2023-11-30 18:12:46 +09:00
Julian Ospald d6601b0353
Remove globalTools from metadata 2023-11-13 15:39:58 +08:00
Julian Ospald 0d91c2ac14
Make install error more visible 2023-11-12 15:59:15 +08:00
Julian Ospald c7439d3c89
Improve stack metadata support wrt #892 2023-10-25 14:00:01 +08:00
Julian Ospald 5f73320b29
Support stacks installation strategy and metadata wrt #892 2023-10-23 22:46:43 +08:00
Julian Ospald c149ee8d2b
Print better error on 'ghcup <command> <tool>-<version>'
Wrt #180
2023-07-22 12:21:19 +08:00
Julian Ospald aed478153d
Print alternative day if day not found 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 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 1e32639873
Implement 'ghcup test ghc' based on the bindist testsuite 2023-01-12 12:58:10 +08:00
Julian Ospald 4be97ffd7c
Pad and use hyperlinks 2023-01-03 23:43:46 +08:00
Julian Ospald 009f9211a9
Integrate with errors.haskell.org
Fixes #434
2023-01-03 23:43:46 +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
taylorfausak ab97c80b80 Fix build error 2022-08-23 11:59:08 +00:00
taylorfausak 04369673ef Fix spacing 2022-08-23 11:19:33 +00:00
taylorfausak 63dfdc2da6 Remove hard-coded reference to "cabal"
Fixes #407.
2022-08-22 19:35:38 +00:00
Julian Ospald ce239ab88e
Fix error message 2022-07-11 19:44:10 +02:00
Julian Ospald 16888a12d4
Cleanup 2022-05-28 16:44:08 +02:00
Julian Ospald 0e64d1f22f
Improve AlreadyInstalled 2022-05-23 23:49:43 +02:00
Julian Ospald c7774450bf
Refactor excepts 2022-05-23 23:37:09 +02:00
Julian Ospald 9375255452
Warn on all tools when shadowed 2022-05-23 16:50:23 +02:00
Julian Ospald 430b655785
Improve error handling for mergeFileTree 2022-05-20 00:15:25 +02:00
Julian Ospald 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
Julian Ospald b036c9861f
Re-enable upgrade functionality for all configurations
Adds a --fail-if-shadowed switch.
2022-05-04 14:15:17 +02:00
Julian Ospald c4ab59f7bf
Make sure to always ass GHC env var, fixes #258 2021-10-03 11:38:53 +02:00
Julian Ospald f90741f4d3
Implement compiling HLS from source 2021-09-19 22:04:32 +02:00
Julian Ospald c431c0ae00
Implement GPG verification wrt #236 2021-09-18 21:51:19 +02:00
Julian Ospald 787c927de6
Improve logging, fixes #228 2021-09-06 23:01:49 +02:00
Jan Hrček 3986677b06 Fix typos and simplify code 2021-08-29 14:50:49 +02:00
Julian Ospald 14fc6b7281
Remove string-interpolate wrt #212 2021-08-25 18:54:58 +02:00
Julian Ospald f8cfcd4038
Get rid of tar 2021-08-25 11:48:30 +02:00
Julian Ospald 3b24f503d1
Fixup rest of the PR 2021-08-11 13:54:02 +02:00
Julian Ospald bd18fd9aa1
Merge remote-tracking branch 'origin/merge-requests/127' 2021-08-11 12:28:48 +02:00
Arjun Kathuria ce6fb0bb1e Adds new Error type `FileAlreadyExistsError` 2021-08-11 10:28:30 +05:30
Arjun Kathuria 80fa7965a4 Adds new Error type `IsolatedDirNotEmpty` 2021-08-10 20:11:32 +05:30
Julian Ospald 2792f6f4b6
Fix error handling when we can't find a filename 2021-08-06 19:45:59 +02:00
Julian Ospald fdf45e0fe6
Do etags hashing wrt #193 2021-07-25 23:15:59 +02:00
Julian Ospald a4a7f73fb7
Allow to use Hadrian as build system, fixes #35 2021-07-20 23:51:31 +02:00
Julian Ospald 6143cdf2e0
Add --offline switch wrt #186 2021-07-19 13:49:24 +02:00
Julian Ospald 2f62067d96
Windows support 2021-06-05 21:01:01 +02:00
Julian Ospald 16a9336d31
Fix missing pretty instance 2021-04-25 17:59:15 +02:00
Julian Ospald d5b5f1fddd
Chores 2021-03-24 17:56:57 +01:00
Julian Ospald f6cc467e95
Fix handling of stray versions wrt #116 2021-03-07 12:02:13 +01:00
Julian Ospald 8c87c9aeb7
Fix error messages and overhaul pretty printing
Fixes #115
2021-03-02 10:35:31 +01:00