Skip to content

elan is unusable offline #188

@omentic

Description

@omentic

Prerequisites

Description

The lake cli checks and pulls down the latest version of Lean, whenever it can, before being run. This makes it unusable offline. I'd like to request that lake checks for network connectivity before attempting to download Lean -- though, this would still be an issue over slow networks.

Context

N/A

Steps to Reproduce

  1. Install lake. Do whatever with it, install a toolchain or something.
  2. Disconnect from the internet.
  3. Run lake --help.

Expected behavior:
lake should recognize it is offline / on a slow network and immediately function with the existing toolchain.

Actual behavior:
lake stalls out.

Versions

Lake version 5.0.0-src+d8204c9 (Lean version 4.26.0)

Additional Information

N/A

Impact

Add 👍 to issues you consider important. If others are impacted by this issue, please ask them to add 👍 to it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions