Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:59222 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 43516 invoked from network); 30 Mar 2012 07:37:30 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 30 Mar 2012 07:37:30 -0000 Authentication-Results: pb1.pair.com smtp.mail=glopes@nebm.ist.utl.pt; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=glopes@nebm.ist.utl.pt; sender-id=unknown Received-SPF: error (pb1.pair.com: domain nebm.ist.utl.pt from 193.136.128.21 cause and error) X-PHP-List-Original-Sender: glopes@nebm.ist.utl.pt X-Host-Fingerprint: 193.136.128.21 smtp1.ist.utl.pt Linux 2.6 Received: from [193.136.128.21] ([193.136.128.21:44179] helo=smtp1.ist.utl.pt) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 3A/54-17229-8B2657F4 for ; Fri, 30 Mar 2012 02:37:29 -0500 Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp1.ist.utl.pt (Postfix) with ESMTP id 4CBD270004E4; Fri, 30 Mar 2012 08:37:25 +0100 (WEST) X-Virus-Scanned: by amavisd-new-2.6.4 (20090625) (Debian) at ist.utl.pt Received: from smtp1.ist.utl.pt ([127.0.0.1]) by localhost (smtp1.ist.utl.pt [127.0.0.1]) (amavisd-new, port 10025) with LMTP id Yj8+A5g0qWeh; Fri, 30 Mar 2012 08:37:25 +0100 (WEST) Received: from mail2.ist.utl.pt (mail.ist.utl.pt [IPv6:2001:690:2100:1::8]) by smtp1.ist.utl.pt (Postfix) with ESMTP id 0D3BC70004ED; Fri, 30 Mar 2012 08:37:24 +0100 (WEST) Received: from slws007.slhq.int (a79-168-248-114.cpe.netcabo.pt [79.168.248.114]) (Authenticated sender: ist155741) by mail2.ist.utl.pt (Postfix) with ESMTPSA id 9ED392004F8F; Fri, 30 Mar 2012 08:37:23 +0100 (WEST) Content-Type: text/plain; charset=utf-8; format=flowed; delsp=yes To: internals@lists.php.net, "Yasuo Ohgaki" References: Date: Fri, 30 Mar 2012 09:37:22 +0200 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Organization: =?utf-8?Q?N=C3=BAcleo_de_Eng=2E_Biom=C3=A9di?= =?utf-8?Q?ca_do_I=2ES=2ET=2E?= Message-ID: In-Reply-To: User-Agent: Opera Mail/11.61 (Win32) Subject: Re: [PHP-DEV] Merge from 5.3 and/or 5.4. What's the current policy? From: glopes@nebm.ist.utl.pt ("Gustavo Lopes") On Fri, 30 Mar 2012 02:59:29 +0200, Yasuo Ohgaki wrote: > Since the git work flow in the wiki requires to apply patch to > lowest possible branch, then merge upwards. > > This changes old work flow, commit trunk, then merge to > release. > > I've committed simple build problem fix to all branches, I think > release masters don't care such merge. However, how about > feature changes? > > I have simple patch for > > Request #47570 libpq's PG_VERSION should be exported to userland > https://bugs.php.net/bug.php?id=47570 > > This is simple change, but it's new feature. (I added 2 new module > constants for PG_VERSION, PG_VERSION_STR) > > Question is "What's the standard work flow for new features?" > I don't see how this is any different. "Lowest possible branch" doesn't necessarily mean 5.3. It can mean 5.4 or master. If the feature is not appropriate for 5.3, but it is for 5.4 and master, commit it to 5.4 and merge 5.4 into master. Or it can be appropriate just for master, in which case there's no merge into other branches. This is the most common scenario -- when a commit is applicable to one branch and all other more recent ones. The problem with the current workflow is only when you have something specific to a lower branch, which is not applicable to upper branches because the code base has diverged. You still have to merge upwards in those situations and resolve the likely conflict (typically with the "ours" strategy). -- Gustavo Lopes