Project

General

Profile

Actions

Feature #5590

closed

Proposal for sustainable branch maintenance

Added by yugui (Yuki Sonoda) about 13 years ago. Updated over 12 years ago.

Status:
Closed
Assignee:
-
Target version:
-
[ruby-core:40748]

Description

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

== Background
I have been maintaining ruby_1_9_1 and ruby_1_9_2 branch.
Ruby 1.9 is now stable as Ruby 1.8 was, but it has not yet reached to
the bugless nirvana. So Ruby 1.9 needs continuous maintenance.

But actually ruby_1_9_1 is no longer well-maintained. My backports to
ruby_1_9_? tend to be late. There is a bottle-neck.

The bottle-neck is review process for commits in trunk.
A few bug is branch-specific. Most of bugs in Ruby 1.9.x reproduce
with trunk too. So I rarely need to write a branch specific patch.
Just backporting from trunk fixes most of bugs in Ruby 1.9.x.
But I need to read a commit carefully and run unit tests before
backport the commit. This review process takes really really long.
That's why patch level releases have been late.

== Proposal
Let's parallelize the bottle-neck.
Review and tests are necessary for stability and compatibility of
released branches but these processes can be parallelized.
I propose the following process:

  • A committer who fixed a bug in trunk should also check if the bug
    reproduces with other active branches. If reproduces, (s)he should
    create a backport request on the Redmine.
    • Or anyone who want us to backport a commit in trunk can create a
      backport request.
  • Another committer review the request. This reviewer checks if this
    commit is good enough and backport it to the older branch.
  • Any committer who thinks the backport breaks compatiblity can revert
    it.
    • Eventually the maintainer of the branch decides to revert or not.

CI and a new Redmine plugin can help this process.

  • Automatic request triggered by commit message?

And the branch maintainer can have time to plan the next patch-level
release.


Regards,
Yuki Yugui Sonoda
http://yugui.jp
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk601B4ACgkQOXzH5JLb/AVbbgCfZKsBSQplRx1SvgE0zhTKIUYm
QwEAn2FM660J6oo3fAiLAkNh1uB5PXRM
=PGvr
-----END PGP SIGNATURE-----


Files

noname (500 Bytes) noname Anonymous, 11/18/2011 02:53 AM
Actions

Also available in: Atom PDF

Like0
Like0Like0Like0