Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:75371 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 76855 invoked from network); 11 Jul 2014 09:45:53 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 11 Jul 2014 09:45:53 -0000 Authentication-Results: pb1.pair.com header.from=tyra3l@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=tyra3l@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.216.180 as permitted sender) X-PHP-List-Original-Sender: tyra3l@gmail.com X-Host-Fingerprint: 209.85.216.180 mail-qc0-f180.google.com Received: from [209.85.216.180] ([209.85.216.180:64483] helo=mail-qc0-f180.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 12/B0-06796-F42BFB35 for ; Fri, 11 Jul 2014 05:45:51 -0400 Received: by mail-qc0-f180.google.com with SMTP id l6so463500qcy.11 for ; Fri, 11 Jul 2014 02:45:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=zhzhegote36OwSKHuX5Rhmvm79PcrKxz4xRg3B6DTsI=; b=WWHeE2pMD/EiYfZsc5AhS5qrDI7NQC7wdrnYlqKztomkBWfc6d9y6QFxIck3RQRm1l AxNBu/1w3Ix3mwaqpjjTvquepZhg8TS9aUFAN4shh4D8rQ56ckD7eHiZnOy+WRa/oUEZ SIk7GCeetU+/ZnC4jNJX+9Jcdn1LaaXvoUKm28mKVqkN7Bwgzh0GAeHqJIgVh3WNyWiH UCcjeDVoQ1bl/zfKvw388rqIAFhFz8EPam2O9y1c+2rEhD4V5zB4eCtpAq3R6Ms3CA9F bWklr1jH04Xw6++dJdzaMxrHGKAzZnbSGMlLAXUrB0SLvOxYEgyhRf2dDrXBvgmgCVRY u7NA== MIME-Version: 1.0 X-Received: by 10.140.102.12 with SMTP id v12mr85115119qge.94.1405071948654; Fri, 11 Jul 2014 02:45:48 -0700 (PDT) Received: by 10.140.47.175 with HTTP; Fri, 11 Jul 2014 02:45:48 -0700 (PDT) In-Reply-To: <53BFA72B.1080008@sugarcrm.com> References: <2264B27B-F9BE-4540-AD1C-5046143F18D2@gmail.com> <53BFA075.9000201@sugarcrm.com> <53BFA72B.1080008@sugarcrm.com> Date: Fri, 11 Jul 2014 11:45:48 +0200 Message-ID: To: Stas Malyshev Cc: Tjerk Meesters , PHP Internals Content-Type: multipart/alternative; boundary=001a1134f152622fa404fde7cea7 Subject: Re: [PHP-DEV] Travis CI for pull requests From: tyra3l@gmail.com (Ferenc Kovacs) --001a1134f152622fa404fde7cea7 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Fri, Jul 11, 2014 at 10:58 AM, Stas Malyshev wrote: > Hi! > > > mentioned a few times now), and I think this will cause a significant > > amount of pain for the people who wanna merge pull requests after the > > phpng (or other similar major rewrite) is merged to the master, as they > > will be required to backport the changes. > > When we will have the major rewrite merged (if it will be merged into > master at all and not used as separate branch), we'll deal with it, but > it didn't happen yet, so I was talking about the situation now. > I would be pretty surprised if we would have a branch for PHP-next, but that wouldn't be merged into master. > > Right now I think we should use the same model many other projects use > to run development - that is, one active development branch (master) and > stable branches where patches are merged into on one-by-one basis. I think we are pretty unique in the sense that we have at least 4 active development branch at any given time (oldstable, stable, nextstable, master). > This > is also a workflow described here for features: > https://wiki.php.net/vcs/gitworkflow I guess you are referring to https://wiki.php.net/vcs/gitworkflow#feature_workflow_for_core_developers That is just an example for explaining how to use git with the feature branches workflow. For example the next section ( https://wiki.php.net/vcs/gitworkflow#workflow_for_external_contributors) uses the PHP-5.4 as the base for the fork/PR and only mentions using master as the base as an option. > > > > Ofc. when we have a diverging master we can't really save the porting, > > but we could offload that work to the PR authors, and porting forward i= s > > better documented (UPGRADING.INTERNALS) than porting backwards. > > Right now it is not needed since master is not that different. I've already seen Pull Requests which were cleanly apply for master but merging it into the "correct" branch caused conflicts, and as we merge that upwards, it could even conflict again when reaching the branch which introducted the divergence. > When it'd > be needed you'd probably need separate pulls for both branches anyway, > since the porting effort may be significant. > Yeah, I also think that. > > If you need to test your patch on multiple branches, you also can always > fork on gihtub and hook Travis CI to your private fork, and run the > builds on those too. Running CI does not require a pull. > Ofc, no argument here. I was just pointing out that introducing the requirement to always target master will probably require more work from the people doing the merge, and given how few people actually doing that I think it would make sense to shift that to the person opening the PR instead of the one merging it. --=20 Ferenc Kov=C3=A1cs @Tyr43l - http://tyrael.hu --001a1134f152622fa404fde7cea7--