Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:103440 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 83136 invoked from network); 15 Nov 2018 20:38:26 -0000 Received: from unknown (HELO mail-it1-f173.google.com) (209.85.166.173) by pb1.pair.com with SMTP; 15 Nov 2018 20:38:26 -0000 Received: by mail-it1-f173.google.com with SMTP id o19so21220648itg.5 for ; Thu, 15 Nov 2018 08:59:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=TMh9uAexRbsO3LH5qFriDN4yEvIJ2r644jUxJNjmqTY=; b=CnZbvkMF7OSpDbefUCMGfpYBpVKcfV7YJMpd5MeDqcgk34TwgHa21ia8UmtHaMMavU Tk+xwb6BA9HSA5gC+yS7sK+ZlSTpaRrLAHdJqQgHz2wPqbrNPXLmAAyoVZ85F+L65bxt mY6Xu+6hdof1Tnl5VXa187cdtymh/LwzPg0QJrg2kSS85dY/CsoyX0RUfzSAlf91QUAy fY75wwjGVdtG+d0vFHWqX9Kq6OvNTe91/aluAmhwJOGbZAKkQwdOsHPTD1AlAycGel0N BdyrbuHXsVdCHTv1qjwqXetZjv5QsDVPn9gZl7+NXmADIf7JRgcqnXkv/YrrsVX4GYRJ 4RjA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=TMh9uAexRbsO3LH5qFriDN4yEvIJ2r644jUxJNjmqTY=; b=Bk/SM/ZGhCLlgcZ2CpI+b4kz0jh6FaNNiFurgLjTUHFdH+MG+f47dywJn66LJsnK82 CB3mr7eazio53wLR4dNT340UHuX7PW0QHagVQJP1w50Ipts5FxwkQhhHE3mqe4pts5Yd xB7Defr4Gk1NkYnbWYqbaSSyhzbmqkvi//9apruwghHDHTTC00qwnfU8k/FzPGJFcVYQ Q0FSxeFV4MrLbWdwk1jMi60oc8jXPTlvgzIF5FpRQLd+DxLacsuRXkLk6VjuG1e3iCrL GcHz/vcZRPaN+KNjROhlSYCyk0d1EnV2huROhhiYPOWlRTQmKbdmfZ3DfYwyBTTiRFoM DHDQ== X-Gm-Message-State: AGRZ1gJ2o+8TT0STkQQwAkKfQISPa5r+P12XaUqwhO96ZTo4ME4g1dkd dVnjVtTtfKjP+blxq/AhKYgUqsUHafPo1evaK2w= X-Google-Smtp-Source: AFSGD/UzUMMoF4ctRb9zXDo/hLaYmIuO2aYPSL7/ebclR4ps8kSfTpxBag/vgPBKU4QeebnFeLsj1hBB2KeVT+ReV98= X-Received: by 2002:a24:658a:: with SMTP id u132-v6mr6658881itb.110.1542301146710; Thu, 15 Nov 2018 08:59:06 -0800 (PST) MIME-Version: 1.0 References: <091debad-319d-7010-4852-fb9d7e6304ac@gmx.de> In-Reply-To: Date: Thu, 15 Nov 2018 17:58:49 +0100 Message-ID: To: zeev@php.net Cc: Christoph Becker , PHP internals Content-Type: multipart/alternative; boundary="000000000000fc8858057ab6f789" Subject: Re: [PHP-DEV] Re: Branch off PHP-7.4 early From: nikita.ppv@gmail.com (Nikita Popov) --000000000000fc8858057ab6f789 Content-Type: text/plain; charset="UTF-8" On Thu, Nov 15, 2018 at 5:46 PM Zeev Suraski wrote: > > > On Thu, Nov 15, 2018 at 5:07 PM Christoph M. Becker > wrote: > >> On 15.11.2018 at 15:27, Nikita Popov wrote: >> >> > Based on previous discussions, it appears that our current plan is to >> > release PHP 8.0 after PHP 7.4. Normally we only branch off versions once >> > they reach beta stage, which means the PHP-7.4 branch will only be >> created >> > around summer 2019. >> > >> > I would like to propose to branch off PHP-7.4 earlier this time and >> start >> > working on PHP 8.0 in the master branch. This will allow people to start >> > working on changes that are not suitable for PHP 7.4 (due to either >> > significant internal ABI breakage, or userland breakage). >> > >> > Because each new branch introduces a lot of merge overhead for >> > contributors, I would further propose that merges should only go up to >> > PHP-7.4, while merges into master (PHP 8) will be performed >> occasionally, >> > on an as-needed basis, by the people working on it. >> >> Have you considered having a separate PHP-8 branch, which can be rebased >> onto master from time to time, and eventually be merged into master >> (basically, treating the PHP-8 branch as a big feature branch)? >> > > First, I think that continuously merging the level of changes we have in > store for PHP 8 on an ongoing basis from a branch into master - while > master is a moving target - would be a pretty big headache. That's why I > think there's sense to PHP 8 being the master branch, where most > development would go towards. > > However, I think that if PHP 8 is on master - it should become the > responsibility of people who introduce patches for 7.4 - to also ensure > that they work with 8 (master). If PHP 8 will be in a branch, that's much > less likely to happen. Given the complexity and effort of 8, I think we > could use some shared responsibility here, instead of putting the burden on > the few working on the PHP 8 magic. > If people are introducing major changes (e.g. when typed properties lands) it's reasonable to expect that they will also carry out the merge to the PHP 8 branch, as such merges are often tricky and require domain knowledge. What I'm mainly suggesting is that we do not merge every single commit into the PHP 8 branch, as is our current practice. Depending on where you land your change, you currently already have to merge across PHP-7.1, PHP-7.2, PHP-7.3 and master, which is a pretty big hassle. I would rather not add one more branch to that list. I really don't think that merging into the PHP 8 branch is going to be an issue, though we can always reconsider the merge procedure if that turns out to be wrong. Another option, by the way, would be ditching 7.4 altogether and focusing > our efforts on 8.0 right away. It does mean people won't get typed > properties in 2019, but it will mean they'll likely get PHP 8 sooner. > For me PHP 7.4 is more important for deprecations than typed properties. If we don't have a PHP 7.4 release, we end up in the same situation as PHP 7: We have an opportunity to introduce a degree of BC breakage, but the last opportunity to introduce deprecations has already sailed by the time the decision is made. Unless we are fine with removing functionality without prior deprecation, I think we need the PHP 7.4 release. Nikita --000000000000fc8858057ab6f789--