Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: differentiate live and cached toolchain resolution in dump-state #150

Merged
merged 1 commit into from
Dec 10, 2024

Conversation

Kha
Copy link
Member

@Kha Kha commented Dec 10, 2024

$ elan dump-state
    "default": {
      "unresolved": {
        "Remote": {
          "origin": "leanprover/lean4",
          "release": "stable",
          "from_channel": "stable"
        }
      },
      "resolved": {
        "live": {
          "Ok": "leanprover/lean4:v4.14.0"
        },
        "cached": {
          "Ok": "leanprover/lean4:v4.9.0"
        }
      }
    },
    "active_override": null,
    "resolved_active": {
      "live": {
        "Ok": "leanprover/lean4:v4.14.0"
      },
      "cached": {
        "Ok": "leanprover/lean4:v4.9.0"
      }
    }
$ elan dump-state --no-net
    "default": {
      "unresolved": {
        "Remote": {
          "origin": "leanprover/lean4",
          "release": "stable",
          "from_channel": "stable"
        }
      },
      "resolved": {
        "live": {
          "Err": "Cannot fetch latest release tag under `--no-net`"
        },
        "cached": {
          "Ok": "leanprover/lean4:v4.9.0"
        }
      }
    },
    "active_override": null,
    "resolved_active": {
      "live": {
        "Err": "Cannot fetch latest release tag under `--no-net`"
      },
      "cached": {
        "Ok": "leanprover/lean4:v4.9.0"
      }
    }

@Kha Kha force-pushed the push-kymowopxwywr branch from 64b738a to c7e202f Compare December 10, 2024 13:54
@Kha Kha enabled auto-merge (squash) December 10, 2024 13:55
@Kha Kha merged commit 6dffb08 into leanprover:master Dec 10, 2024
5 checks passed
@Kha Kha deleted the push-kymowopxwywr branch December 10, 2024 14:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant