ghcup-hs/TODO.md
2020-03-03 01:59:45 +01:00

1.2 KiB

TODOs and Remarks

Now

  • better logs

  • better debug-output

  • upgrade Upgrade this script in-place

  • reference tarballs in json

Maybe

  • maybe: download progress

  • maybe: changelog Show the changelog of a GHC release (online)

  • maybe: print-system-reqs Print an approximation of system requirements

  • testing (especially distro detection -> unit tests)

Later

  • add support for RC/alpha/HEAD versions
  • check for updates on start

Questions

  • how to figure out tools (currently not done, but when setting ghc symlinks, removes all previous tools before symlinking requested version to avoid stale tools that only exist for one version)
  • handling of SIGTERM and SIGUSR
  • installing musl on demand?
  • redo/rethink how tool tags works
  • mirror support
  • check for new version on start
  • tarball tags as well as version tags?
  • installing multiple versions in parallel?
  • how to version and extend the format of the downloads file? Compatibility?
  • how to propagate updates? Automatically? Might solve the versioning problem
  • interactive handling when distro doesn't exist and we know the tarball is incompatible?
  • ghcup-with wrapper to execute a command with a given ghc in PATH?
  • maybe add deprecation notice into JSON