Project

General

Profile

Actions

Misc #21770

open

Stop bumping RUBY_PATCHLEVEL in release versions

Misc #21770: Stop bumping RUBY_PATCHLEVEL in release versions
2

Added by k0kubun (Takashi Kokubun) 1 day ago. Updated about 12 hours ago.

Status:
Open
Assignee:
-
[ruby-core:124071]

Description

Proposal

  • Stop bumping RUBY_PATCHLEVEL from 0 in Ruby 4.0.0+

Motivation

  • As a stable branch maintainer, I find it frustrating that reverting a commit made by tool/merger.rb often causes a conflict on #define RUBY_PATCHLEVEL.

Background

  • From Ruby 2.1.0, we stopped doing multiple patch-level releases for a single version, e.g. 2.0.0-p647 and 2.0.0-p648 for Ruby 2.0.0.
  • From Ruby 3.2.0, we stopped showing patch levels on RUBY_DESCRIPTION [Feature #18513]. We thought "patch levels no longer serves us very well".
  • Today, we also backport patches using pull requests on GitHub. We often don't bump RUBY_PATCHLEVEL there because it's easier to use git cherry-pick instead of tool/merger.rb.
Actions

Also available in: PDF Atom