Commit Graph

113 Commits

Author SHA1 Message Date
Julian Ospald 3e9bb7c369
Restore TUI scrolling to old behavior 2024-01-22 22:39:45 +08:00
Julian Ospald afd7e7dc4f
Re-introduce tar 2024-01-03 17:56:33 +08:00
Julian Ospald e214695a3e
Merge remote-tracking branch 'origin/pr/850' 2023-12-02 18:42:22 +08:00
Luis Morillo 0e46b9509a complete tutorial. remove show all tools from widgets. resolve some conflicts. 2023-11-23 16:05:12 +01:00
Luis Morillo d3474d0cd9 add KeyInfo handler and widget. Improve tutorial 2023-11-23 15:32:23 +01:00
Luis Morillo 5c3dad1bb9 reorganize code by sections 2023-11-23 15:31:33 +01:00
Luis Morillo 987cdaf313 factor out attr names. Add windows symbols to tutotial widget. Improve tutorial aesthetics and text 2023-11-23 15:28:21 +01:00
Luis Morillo 835352428a simplify rendering for better ux 2023-11-23 15:28:19 +01:00
Luis Morillo 8f4246e716 Use proper Name type and Modal type. Create tutorial Widget 2023-11-23 15:27:33 +01:00
Luis Morillo 1353a2fd20 use map-like data structure 2023-11-23 15:26:49 +01:00
Luis Morillo aa9fbdbfc2 Use MonadState Instance to simplify install', del', set' and changelog'. Lensify the app 2023-11-23 15:24:24 +01:00
Julian Ospald 3a8cdf9967
Fix opening changelog on windows 2023-11-20 22:36:17 +08:00
Julian Ospald 2caf491e9d
Remove the "show all tool" config
We show all tools at the moment anyway.
2023-11-18 18:55:06 +08:00
Julian Ospald 2e5dee8e1a
Add mechanism to warn on new metadata versions, fixes #860 2023-11-13 16:53:24 +08:00
Julian Ospald d6601b0353
Remove globalTools from metadata 2023-11-13 15:39:58 +08:00
Julian Ospald 6047614a16
Be less confusing when user tries to 'set' ghcup in TUI
Fixes #923
2023-11-12 17:36:00 +08:00
Julian Ospald 675ab17fff
Improve signs on windows (no unicode) 2023-11-05 22:29:55 +08:00
Julian Ospald 9fcacbd96b
Fix CPP defines for windows+brick 2023-11-05 22:22:53 +08:00
Julian Ospald c7439d3c89
Improve stack metadata support wrt #892 2023-10-25 14:00:01 +08:00
Julian Ospald 38cd5ad8ed
Merge branch 'improved-key-brick' 2023-10-24 15:00:31 +08:00
Julian Ospald 452ca8cca2
Improve key handling in TUI, fixes #875 2023-10-23 22:47:17 +08:00
Julian Ospald 5f73320b29
Support stacks installation strategy and metadata wrt #892 2023-10-23 22:46:43 +08:00
Colin Woodbury eae197ccb3
chore: bump `versions` upper bound and squash warnings 2023-10-21 19:23:25 +08:00
Julian Ospald 5170baf074
Fix cleaning up directories of compiled tools
'fromSrc' doesn't work well anyway.
2023-07-18 11:02:26 +08:00
Julian Ospald 9798e0f1d2
Fix brick min size for version column 2023-07-07 17:37:20 +08:00
Julian Ospald a43fa7d63e
More cross fixes to install bindist 2023-07-07 16:41:58 +08:00
Julian Ospald 4b34cddcda
Implement support for nightlies, wrt #824 2023-05-14 19:43:49 +08:00
Luis Morillo 78d68e381a apply logging only on GHC uninstalation 2023-04-14 17:31:28 +02:00
Julian Ospald 785fb895b4
Implement 'latest-prerelease' tag wrt #788 2023-02-21 22:22:11 +08:00
Julian Ospald a427146de5
Update dependencies and make buildable with GHC-9.4.4 2023-01-12 13:52:08 +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
Julian Ospald f7d2033e25
Improve postRm message, fixes #384 2022-12-20 22:20:10 +08:00
Arjun Kathuria ca5c5550ab removes newline after set' function 2022-07-10 21:49:54 +05:30
Arjun Kathuria 3d49f79beb removes `prettyShow` from error case in BrickMain set' 2022-07-10 09:52:57 +05:30
Arjun Kathuria e9740d13fc Updates `userPrompt` in BrickMain to a more efficient version 2022-07-10 09:50:58 +05:30
Arjun Kathuria 7cbe38b011 Behavior Enhancement: make user press "S" only once to set, asks to install AND set if tool uninstalled 2022-06-28 19:50:22 +05:30
Arjun Kathuria 3bbc1edb19 updates user prompt message for "set" uninstalled version in BrickMain 2022-06-28 19:49:00 +05:30
Arjun Kathuria 0e1fd68d93 when setting an uninstalled tool in tui, asks user to install first 2022-06-25 13:45:07 +05:30
Julian Ospald 4022edb12e
Allow passing bindist configure args wrt #377 2022-06-09 14:42:01 +02:00
Julian Ospald 9375255452
Warn on all tools when shadowed 2022-05-23 16:50:23 +02:00
Julian Ospald 2845425099
Restructure modules 2022-05-22 21:11:40 +02:00
Julian Ospald 430b655785
Improve error handling for mergeFileTree 2022-05-20 00:15:25 +02:00
Julian Ospald c9790e5823
Use strongly types `GHCupPath` and restrict destructive operations 2022-05-13 21:35:34 +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 f7811961b5
Merge branch 'isolateDir' 2022-05-11 20:35:38 +02:00
Julian Ospald 991e540c11
Refactor code around isolateDirs, so we have proper knowledge 2022-05-11 16:18:35 +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 c72841ca58
Implement 'ghcup run' 2022-02-09 18:57:59 +01:00
Julian Ospald 51690d1df3
Support HLS dynamic builds 2022-02-05 16:33:05 +01:00