Page MenuHomePhabricator Convert deleted wmf branches to tags
Open, LowPublic


On T244368, we added deletion of old wmf branches in mediawiki/tools/release/delete-wmf-branches.

This has since been superseded by @mmodell's e641ec26 - "Add the very dangerous --delete argument to mass delete branches" in

That feature should additionally do the equivalent of git merge-base to find a branch point and tag releases (or at least a close approximation) before deleting the branch, so that users and tooling can reference it without the costs of keeping the wmf/* branches around indefinitely.

Pairing with Tyler today yielded a gitiles URL:

Finding the parent of that commit should be equivalent to merge-base.

Event Timeline

brennen created this task.Apr 13 2020, 4:29 PM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptApr 13 2020, 4:29 PM

Change 588467 had a related patch set uploaded (by Brennen Bearnes; owner: Brennen Bearnes):
[mediawiki/tools/release@master] (DNM) delete-wmf-branches: tag at branchpoints

brennen triaged this task as Low priority.Apr 17 2020, 4:23 PM
greg awarded a token.Apr 17 2020, 4:26 PM

Change 588467 abandoned by Brennen Bearnes:
(DNM) delete-wmf-branches: tag at branchpoints

Going to use Mukunda's changes to instead.

brennen renamed this task from delete-wmf-branches: Convert deleted wmf branches to tags to Convert deleted wmf branches to tags.May 1 2020, 6:21 PM
brennen updated the task description. (Show Details)
brennen moved this task from Needs/Waiting Review to Next on the User-brennen board.
brennen added a subscriber: mmodell.
brennen moved this task from Next to Backlog on the User-brennen board.May 12 2020, 4:23 PM
hashar removed a project: Gerrit.Sep 7 2020, 8:41 AM