Re: Merging release branches back to parent

From: Date: Thu, 03 Apr 2014 14:29:11 +0000
Subject: Re: Merging release branches back to parent
References: 1 2  Groups: php.internals 
Request: Send a blank email to internals+get-73572@lists.php.net to get a copy of this message
On Wed, Apr 2, 2014 at 2:35 PM, Johannes Schlüter <johannes@schlueters.de>wrote: > On Wed, 2014-04-02 at 14:23 +0200, Johannes Schlüter wrote: > > Hi RMs, > > > > we currently use release branches which we don't merge back into the > > original branch.I would like to propose to change this and merge the > > release branch back into it's parent branch. To the est of my > > remembrance not doing this is a reminder of SVN merge tracking annoyance > > which is not relevant anymore. > > > > The reason for this change is that it makes it hard to find out whether > > a patch was part of a release or not and which release it appeared in > > first. > > > > The suggested work flow (pushes ignored) is like this: > > > > 1. git checkout PHP-X.Y > > 2. git branch PHP-X.Y.Z > > 3. vim NEWS configure.in main/php_version.h && git commit (set to > > next version X.Y.Z+1) > > 4. git checkout PHP-X.Y.Z > > 5. test, cherry pick and release RCs as needed > > 6. vim NEWS configure.in main/php_version.h && git commit (for > > release) > > 7. git tag -s php-X.Y.Z > > 8. git checkout PHP X.Y > > 9. git merge PHP-X.Y.Z > > 10. resolve merge conflict in NEWS and other files && git commit > > This was missing a step already done with current procedure: > > 11. Merge up till reaching master > > as we do for all other commits, obviously. > > johannes > > Hello, I'm not against this, but I don't feel the point. Branching back to the original branch will just create one more commit, adding some merging conflicts (NEWS). What if we have cherry piked commits about CVE, will they conflict as well ? I'm not feeling very well yet with git, so that's why I ask. Julien

« previous php.internals (#73572) next »