Update core subtree splitter to handle major.x & main branches

Created on 4 May 2024, 8 months ago
Updated 22 May 2024, 8 months ago

Problem/Motivation

When 11.0.0-alpha1 was released, the 11.0.x-dev release did not exist yet, since it did not need to be branched yet. The subtree splitter was assuming the dev branch would always have all three components.

A temporary fix was made: https://bitbucket.org/drupalorg-infrastructure/subtree-splitter/commits/... which is already wrong, since 11.0.x-dev now exists. Another temporary fix would be reverting that commit, we’d be good until 11.1.0-alpha1.

And in the future, we want to use the main branch as the last fallback to support 🌱 Use a 'main' branch as the development target Active

Proposed resolution

  • Try {major}.{minor}.x first
  • Next try {major}.x
  • Next try main

Remaining tasks

  • Figure out the best way to check for branch existence in CommandBase::getCoreBranch()
  • Use that
πŸ“Œ Task
Status

Fixed

Component

Packaging

Created by

πŸ‡ΊπŸ‡ΈUnited States drumm NY, US

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024