Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:59225 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 51585 invoked from network); 30 Mar 2012 08:23:16 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 30 Mar 2012 08:23:16 -0000 Authentication-Results: pb1.pair.com smtp.mail=yohgaki@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=yohgaki@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.213.42 as permitted sender) X-PHP-List-Original-Sender: yohgaki@gmail.com X-Host-Fingerprint: 209.85.213.42 mail-yw0-f42.google.com Received: from [209.85.213.42] ([209.85.213.42:59686] helo=mail-yw0-f42.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id D1/00-51377-37D657F4 for ; Fri, 30 Mar 2012 03:23:15 -0500 Received: by yhfq11 with SMTP id q11so163920yhf.29 for ; Fri, 30 Mar 2012 01:23:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:cc:content-type :content-transfer-encoding; bh=TdxMcbI22I+j8rDvjXv00H5OSaxHTW+ZyxxDR4n5X2I=; b=nHLhcLU7NWfxPcNLL4P4TzkIqvnPOKjIns0JDEAv/93QbITvRzi9SDTzSQH5Wdi0qc VJnJ3K7HsdviuqbpwCCZN12ToH8wPjnjViwrj10vkZI3SwVthHQFu/ykN4yzff7JkoY6 eNviC+K8SEKtmo0gDIB3T05Ka4DyFHE9oKYfhN9aa+THvm+xSuIuMUeIP9WLRuxHcDEF ZaJSJEC2SJXYG6hdZ8m1Xlz6ASbbVf9PEiHN8NVaqhAfnIY+2gb/hSED+DkqazLrCoOS /SpoSi/PfJALE/xxQfoIAuvc+1yE0dCMOs0+NsKqogBL1ZunDbnlS+qJkQnzQPFEN7mh qvyQ== Received: by 10.236.191.169 with SMTP id g29mr1045427yhn.103.1333095792652; Fri, 30 Mar 2012 01:23:12 -0700 (PDT) MIME-Version: 1.0 Sender: yohgaki@gmail.com Received: by 10.146.86.14 with HTTP; Fri, 30 Mar 2012 01:22:31 -0700 (PDT) In-Reply-To: References: Date: Fri, 30 Mar 2012 17:22:31 +0900 X-Google-Sender-Auth: o7GgcKDNsRoycalLbz6u8d2oKLg Message-ID: To: Gustavo Lopes Cc: internals@lists.php.net Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Subject: Re: [PHP-DEV] Merge from 5.3 and/or 5.4. What's the current policy? From: yohgaki@ohgaki.net (Yasuo Ohgaki) Hi, Bug fix can be merged upwards. However, Are we free to merge feature changes? Adding new module constant is new feature. I certainly would like to have it on 5.4 and it's probably OK for 5.4, but how about 5.3? So I'm asking procedure before commit. Before git, we just commit new feature/changes to trunk and we could think/argue about merge later. Now we need to think/argue about merge, then commit. We need some guidelines for feature changes, if we are going to keep "merge upward" policy. Anyway, RM of 5.3/5.4 are okay to add module constants to pgsql? If there is no objection, I'll commit the change and updates docs. Regards, -- Yasuo Ohgaki yohgaki@ohgaki.net 2012/3/30 Gustavo Lopes : > On Fri, 30 Mar 2012 02:59:29 +0200, Yasuo Ohgaki wro= te: > >> Since the git work flow in the wiki requires to apply patch to >> lowest possible =A0branch, 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 =A0libpq's PG_VERSION should be exported to userland >> https://bugs.php.net/bug.php?id=3D47570 >> >> 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 t= he > 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 th= ose > situations and resolve the likely conflict (typically with the "ours" > strategy). > > -- > Gustavo Lopes