As of 2021-05-04, mediawiki/core.git has 29 active branches. Generally, we delete branches once there's no more active development of them, leaving behind the tagged releases for historical diving, which means we "should" have seven.
In practice this means we have three sets of branches that should be pruned:
- Drop release branches that aren't active any more:
- REL1_23
- REL1_25
- REL1_26
- REL1_27
- REL1_28
- REL1_29
- REL1_30
- REL1_32
- REL1_33
- REL1_34
- Drop fundraising special branches that aren't used any more:
- fundraising/REL1_27
- fundraising/REL1_31
- Drop Wikimedia production branches that aren't deployed any more:
- wmf/1.36.0-wmf.31
- wmf/1.36.0-wmf.32
- wmf/1.36.0-wmf.33
- wmf/1.36.0-wmf.34
- wmf/1.36.0-wmf.35
- wmf/1.36.0-wmf.36
- wmf/1.36.0-wmf.37
- wmf/1.36.0-wmf.38
- wmf/1.37.0-wmf.1
- wmf/1.37.0-wmf.2
- Stop this needing to be a manual process to spot
- Presumably the FR ones have never been cleaned up, we've forgotten to do it for the releases for a while, and for the production branches we accidentally dropped the feature the cleaned them up?
Do we also need to drop the Wikimedia production branches in all extensions' repos? (The main release branches are the only branch points as we don't tag extensions, so leave those alone.)