--
--
To unsubscribe, email repo-discuss...@googlegroups.com
More info at http://groups.google.com/group/repo-discuss?hl=en
---
You received this message because you are subscribed to the Google Groups "Repo and Gerrit Discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to repo-discuss...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
To be more spcific, most projects (including Gerrit AFAIK) do merges like:
stable-1 > stable-2 > master
to get all fixes done on “older” release branches forward to newer releases up to master. But projects never do this the other way round:
master > stable-X
because that would destabilize the stable branch with potentially untested and API breaking changes.
Cheers,
Markus
To be more spcific, most projects (including Gerrit AFAIK) do merges like:
stable-1 > stable-2 > master
to get all fixes done on “older” release branches forward to newer releases up to master. But projects never do this the other way round:
master > stable-X
because that would destabilize the stable branch with potentially untested and API breaking changes.
Cheers,
Markus
On Fri, 31 Aug 2018 at 10:46, Duft Markus <Marku...@ssi-schaefer.com> wrote:To be more spcific, most projects (including Gerrit AFAIK) do merges like:
stable-1 > stable-2 > master
Do you never hit conflicts in the merges with this approach? Because we used to try to use this (ala git-flow) where any release branch was merged back to master and there were frequent merge failures due to the code in the same area on master having changed
On Fri, 31 Aug 2018 at 10:46, Duft Markus <Marku...@ssi-schaefer.com> wrote:To be more spcific, most projects (including Gerrit AFAIK) do merges like:
stable-1 > stable-2 > master
Do you never hit conflicts in the merges with this approach? Because we used to try to use this (ala git-flow) where any release branch was merged back to master and there were frequent merge failures due to the code in the same area on master having changed and as well as the few cases of code added to the stable branch no longer being valid on master.
On Fri, Aug 31, 2018 at 4:01 PM Darragh Bailey <daragh...@gmail.com> wrote:On Fri, 31 Aug 2018 at 10:46, Duft Markus <Marku...@ssi-schaefer.com> wrote:To be more spcific, most projects (including Gerrit AFAIK) do merges like:
stable-1 > stable-2 > master
Do you never hit conflicts in the merges with this approach? Because we used to try to use this (ala git-flow) where any release branch was merged back to master and there were frequent merge failures due to the code in the same area on master having changed and as well as the few cases of code added to the stable branch no longer being valid on master.we also do this for the projects I am working on. Sometimes there is a conflict when merging fixes from release brancheswhich need to be resolved. Frequency how often this happens depends on how often you need fixes on release branchesand how those patches interfere with new features being developed on master.I think there is no difference if you cherry-pick the same patches from the same release branch.You'll come across the same conflicts.