Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:85663 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 69045 invoked from network); 1 Apr 2015 19:36:18 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 1 Apr 2015 19:36:18 -0000 Authentication-Results: pb1.pair.com smtp.mail=dennis@birkholz.biz; spf=unknown; sender-id=unknown Authentication-Results: pb1.pair.com header.from=dennis@birkholz.biz; sender-id=unknown Received-SPF: unknown (pb1.pair.com: domain birkholz.biz does not designate 144.76.185.252 as permitted sender) X-PHP-List-Original-Sender: dennis@birkholz.biz X-Host-Fingerprint: 144.76.185.252 mx01.nexxes.net Received: from [144.76.185.252] ([144.76.185.252:41985] helo=mx01.nexxes.net) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id FA/39-21906-FA84C155 for ; Wed, 01 Apr 2015 14:36:16 -0500 Received: from [137.226.183.192] (ip3192.saw.rwth-aachen.de [137.226.183.192]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: db220660-p0g-1@packages.nexxes.net) by mx01.nexxes.net (Postfix) with ESMTPSA id 896404808A2; Wed, 1 Apr 2015 21:36:12 +0200 (CEST) Message-ID: <551C48AC.3090908@birkholz.biz> Date: Wed, 01 Apr 2015 21:36:12 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 MIME-Version: 1.0 To: Stanislav Malyshev , internals@lists.php.net References: <551BC7CF.3080309@birkholz.biz> <551C44C7.6060108@gmail.com> In-Reply-To: <551C44C7.6060108@gmail.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] What's our official stance on small self-contained additions in a micro version From: dennis@birkholz.biz (Dennis Birkholz) Hi Stas, Am 01.04.2015 um 21:19 schrieb Stanislav Malyshev: > Hi! > >> I am sorry for the contributor but my example is >> https://github.com/php/php-src/pull/1145 >> (DateTime::createFromImmutable() method) which was posted here on the >> list, got three negative replies but was merged nevertheless. I will not >> reproduce the arguments here but now the door for a clean solution >> inside the DateTimeInterface seems closed forever. > > Why is it closed forever? I've seen Derick look at the patch and didn't > see any objection from him except for small CS fixes. Also, we did not > release it yet so if there's any problem with it it still can be > reverted. But I haven't seen any mention of it so far on the list except > for this mention in completely unrelated topic which would be extremely > easy to miss and that says basically "all is lost now, no use to discuss > it, the end is nigh" without explaining anything. If you want to explain > yourself, please start a topic and do this, we have 2 weeks before > 5.6.8, ample time to revert if necessary. the discussion appeared on the list at the 5th of march: http://markmail.org/message/3aesaaoqv6ihiw53 The thing with this patch is, there should be one factory method for each classes implementing DateTimeInterface to create an instance from any other instance of DateTimeInterface. Having some factory methods for some reference objects is just inconsistent. And Derick wrote: (in http://markmail.org/message/ukwizupev32ld5tg) "I am against this addition, even though the patch looks OK." That is not "any objection from him except for small CS fixes" but I don't know what discussion happened off-list. >> Besides, I think that the vast majority of PHP users out there is using >> distro versions, so it does not matter to them if a feature goes into >> 5.6.7 oder 7.1.0, they will get the feature when the distro upgrades. > > That'd basically mean "never", no distro would go from 5.6 to 7.1 within > the same version, and changing distro version is insanely operationally > complex thing which is done very rarely. That is right and I think that is the reality we have to face: most users use distro versions. They get a new version when they need to upgrade their distro every few years. >> So, please let the x.y.z versions contain only additional (security) >> fixes and stick to the RFC process, thanks. > > We are already doing this. The discussion is about changing the process > to ban enhancements in released versions, which was never the case and > we specifically emphasized this when we started it. Now you seem to > propose to ban non-security bugfixes on releases too. So basically you'd > have to wait for years to even get a bug fixed. Nice. No, I don't say ban non-security bugfixes. But I say don't add new methods/functionality that should go in the next feature release. Thanks Dennis