leanprover / leanprover/lean4

make lakefile commit pinning scriptable

Open
#7,849 2 comments 0 reactions 1 assignee View on GitHub

@tydeu is already working on this.

Since Apr 7, 2025.

Lake P-medium
Dominant language
Lean
Stars
9.2k
Forks
990
Avg merge
1d 17h
Merged PRs (30d)
175

Description

I need to be able to update the pinned commit/branch/tag in a require from a script, in order to be able to automate more of the release process.

For a toml file, this would be trivial, but for a lakefile.lean it seems to require munging the text of the Lean file.

Ideally we would have lake require-update batteries nightly-testing, which would handle this.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.