Problem/Motivation

It seems like some issues are being committed to 2.x and some to 2.0.x this is leading to issues being closed (fixed) but not making them into a release (e.g https://www.drupal.org/project/address/issues/3460590#comment-16132112)

See commit logs for both branches, they are not aligned

https://git.drupalcode.org/project/address/-/commits/2.x?ref_type=heads
https://git.drupalcode.org/project/address/-/commits/2.0.x?ref_type=heads

Diff between branches https://git.drupalcode.org/project/address/-/compare/2.x...2.0.x?from_pr...

Proposed resolution

Ensure commits go into all relevant branches.

Comments

acbramley created an issue. See original summary.

bojanz’s picture

2.0.x is for bug fixes and small changes only. The next feature release should be 2.1.0, cut from 2.1.x.

The 2.x branch serves as an upstream for feature branches, so 2.2.x would be branched from it. Right now 2.x and 2.1.x should be identical.

acbramley’s picture

2.0.x is for bug fixes and small changes only

Ok, but #3460590: AddressFieldBuilder::build is not compatible with diff 2.0.x's CoreFieldBuilder::build is an extremely small change and didn't make it in?

bojanz’s picture

It shifts the supported Diff branch from 8.x-1.x to 2.0.x, which felt serious enough to leave for a quick 2.1.0 release, which then never materialized.

If you can confirm that the fix still works with diff 8.x-1.x, I can backport.

acbramley’s picture

@bojanz it's compatible with both branches, adding a return type that doesn't exist on the parent class does not break compatibility.

dww’s picture

Status: Active » Postponed (maintainer needs more info)

Thanks for this. See #3460590-16: AddressFieldBuilder::build is not compatible with diff 2.0.x's CoreFieldBuilder::build. I manually tested that issue with both diff 8.x-1.9 and 2.0.0-beta4, and it was working fine. So I cherry-pick'ed the commit and pushed to 2.0.x.

I'd call this fixed, but curious if there are other bug fix or non-disruptive tasks that should be backported from 2.x to 2.0.x. I don't have time to review the linked commit listings right now. I can look more next week.

dww’s picture

Status: Postponed (maintainer needs more info) » Active

This has gotten worse in the last year. I'm also now guilty. We've got 2.0.x and 2.1.x branches, which are actively getting commits and cherry-picks. But 2.x itself has fallen behind.

Once we get 2.1.0 out, let's not make a 2.2.x branch right away. Let's merge / cherry-pick everything from 2.1.x into 2.x itself, and use that as "main" until we're getting close to a 2.2.0 release. Then we can branch 2.2.x. And once we're getting ready to start on a 3.0.x series, we can probably ditch 2.x entirely and use a real main branch.