Zulip Chat Archive

Stream: general

Topic: lean-3.31.0 branch is no longer tracking master


Johan Commelin (Aug 09 2021 at 13:28):

https://github.com/leanprover-community/mathlib/tree/lean-3.31.0 hasn't moved in a couple of days. Anyone know what's up?
cc: @Gabriel Ebner @Bryan Gin-ge Chen

Gabriel Ebner (Aug 09 2021 at 13:30):

Scheduled github actions only run for 30 days or so before human intervention.

Gabriel Ebner (Aug 09 2021 at 13:30):

I believe we need to press some button here in this repo: https://github.com/leanprover-community/azure-scripts

Gabriel Ebner (Aug 09 2021 at 13:30):

https://github.com/leanprover-community/azure-scripts/actions/workflows/branch_update.yml

Gabriel Ebner (Aug 09 2021 at 13:30):

You need to click on "enable workflow" here ^^^

Johan Commelin (Aug 09 2021 at 13:30):

done

Gabriel Ebner (Aug 09 2021 at 13:32):

And the branch is up to date again.

Mario Carneiro (Aug 10 2021 at 04:35):

What is the name of the staging branch for the upcoming version of lean? I created a lean-3.32.0 branch but this discussion sounds like the bot handles this branch specially

Johan Commelin (Aug 10 2021 at 05:12):

@Mario Carneiro yep, that branch name is forbidden. But you can use somehting like lean-3-32-0

Mario Carneiro (Aug 10 2021 at 05:15):

what does the bot do with the lean-3.x branches?

Johan Commelin (Aug 10 2021 at 05:27):

I think leanpkg uses them for dependency upgrades.

Johan Commelin (Aug 10 2021 at 05:29):

If you run leanpkg upgrade in some package like LTE, then it looks at the lean version you are using, discovers it is interested in lean-3.31.0 and then bumps mathlib to the lean-3.31.0 branch.
The bot automatically moves lean-3.31.0 along with master, until lean is bumped to a new version.


Last updated: Dec 20 2023 at 11:08 UTC