make lakefile commit pinning scriptable
Open
@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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.