Skip to content

[Discussion] Restore updateBehavior? #561

@hasufell

Description

@hasufell

@wz1000 and @simonmichael want to be notified before every download with the options:

  1. yes
  2. no
  3. yes, don't ask again
  4. no, don't ask again

Option 3. and 4. would be set globally, for all projects.

@hasufell argued that this doesn't have clear semantics and the user should rather be able to freeze (or set) the toolchain configuration per project.

Currently, if a user doesn't want auto-updates, they can either:

  • set haskell.manageHLS to PATH and use ghcup tui or...
  • set haskell.serverExecutablePath to something interesting

Implementation-wise, this would require to manually check whether an update/download would be imminent before running ghcup run --hls <ver> --ghc <ver>, which currently installs the entire toolchain in one go.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions