Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:125938 X-Original-To: internals@lists.php.net Delivered-To: internals@lists.php.net Received: from php-smtp4.php.net (php-smtp4.php.net [45.112.84.5]) by qa.php.net (Postfix) with ESMTPS id A29891A00BD for ; Mon, 11 Nov 2024 06:04:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1731305199; bh=kStRqbaU6G6SGSZphknH2DdMNCR/e0UE8zunkEVGtwU=; h=Date:From:To:In-Reply-To:References:Subject:From; b=HSlxYJp+KU+6LqjOrKXLi3yH3vgkVZO5wnRCgF6ACYhBihChCdebEKEkOxXS9hUKK D1zoek2HhpRqF/HO0NA8Cp7OnkjX0BqfOda/heQt5EANy2RfBqebFtGy34oKdSnG4b L3TVV9CyFtzRvwOm160hUIxYRgINNG4jHIxN3iBeBxYjp/VB6KjEzcXIJKRA4HUlbA Tw6wE8adwFeavHjPvU5vnduhCdNkaZXdhB4cmVOLvq8O6o3Qv6PLzgZJOWfrDdFBNA 2q4LmRACXFFfERYD/n72he/tUrxqeoVz5FUIJooWSIBggx3Aihk4eCa0HR5ihk3rL2 UnLkhApsSHl3g== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 146C9180077 for ; Mon, 11 Nov 2024 06:06:39 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 4.0.0 (2022-12-13) on php-smtp4.php.net X-Spam-Level: X-Spam-Status: No, score=-0.1 required=5.0 tests=BAYES_50,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,DMARC_MISSING,RCVD_IN_DNSWL_LOW, SPF_HELO_PASS,SPF_NONE autolearn=no autolearn_force=no version=4.0.0 X-Spam-Virus: No X-Envelope-From: Received: from fout-b2-smtp.messagingengine.com (fout-b2-smtp.messagingengine.com [202.12.124.145]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Mon, 11 Nov 2024 06:06:38 +0000 (UTC) Received: from phl-compute-01.internal (phl-compute-01.phl.internal [10.202.2.41]) by mailfout.stl.internal (Postfix) with ESMTP id 89C1511400AF for ; Mon, 11 Nov 2024 01:04:03 -0500 (EST) Received: from phl-imap-06 ([10.202.2.83]) by phl-compute-01.internal (MEProxy); Mon, 11 Nov 2024 01:04:03 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= garfieldtech.com; h=cc:content-transfer-encoding:content-type :content-type:date:date:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:subject:subject:to :to; s=fm3; t=1731305043; x=1731391443; bh=6qQ9Lz+9//doZy39Jvt6L 3jmto6luXRJYfOMXTg06m4=; b=gj1Q5LGlOsGaI83hKn9cn9xLYhB0cbEhbae8C yrdFdXsUWawBxpSY4UE/6TLegg7MIP/xEFUobGA/eLLMMmgMWAptAv/GLGYxIZ2Y FGnDI9DUcY9K2dEqWB+8vyUGcAiLBTJNQlQJq60DQuljWI76p33ZX6qGn9DLvcK4 pLf0jwV/yD5kYj6d4c83kTAoeM9sTHWBcdf+lzzKmM6uMezeBTxbNUmujRZ2CatQ tmJqP/dIk7266lgKG0dD5FKT9ajKspHagQ2WRByU4e/JhcqC1rNtRuO8o+qsn+o6 zpf87MZCDRc7KCPRqq3V8EBR37LGIQSat02Aj2aqMaHrYqoFw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:subject:subject:to:to:x-me-proxy:x-me-sender :x-me-sender:x-sasl-enc; s=fm3; t=1731305043; x=1731391443; bh=6 qQ9Lz+9//doZy39Jvt6L3jmto6luXRJYfOMXTg06m4=; b=NFiOB9FQGe0X3J9LP uR9CgSvsAs1C3MV1J3NNgKA0lQrHaVb9pq3L9bgllMLgnFXYhsBn1uzfC81PvdtY IXIUFl1k7Uu/SSn6IslM2Uyu46EThSFvmOU2X49a5QHs/3l3Ey0etQ/cmHfldPE6 na9paRFjN+T6gAov2CXiFGLAUMxsWKUm0bs91fP+wiagSAIp6yI6ayGxR+WkZnV+ 4ISN1uAFVoJYEX79ZriPnzrhfOjJQV7DsNTV12WvIKhaaAfyh7jlvsBtJL/iKotN HLshC4CIGUzbxnyD5fL3AXXcxGq7WziaH3UmP4ZCQq0SZeox2xPBSs2lCHJX2gIx 5NeWg== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefuddruddugdeltdcutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpggftfghnshhusghstghrihgsvgdpuffr tefokffrpgfnqfghnecuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnth hsucdlqddutddtmdenucfjughrpefoggffhffvkfgjfhfutgfgsehtjeertdertddtnecu hfhrohhmpedfnfgrrhhrhicuifgrrhhfihgvlhgufdcuoehlrghrrhihsehgrghrfhhivg hlughtvggthhdrtghomheqnecuggftrfgrthhtvghrnhepueevvdduhffffffhleeuhedv jeevgfelgeetgefftedufeelheegfedvheegleetnecuffhomhgrihhnpehphhhprdhnvg htnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomheplhgr rhhrhiesghgrrhhfihgvlhguthgvtghhrdgtohhmpdhnsggprhgtphhtthhopedupdhmoh guvgepshhmthhpohhuthdprhgtphhtthhopehinhhtvghrnhgrlhhssehlihhsthhsrdhp hhhprdhnvght X-ME-Proxy: Feedback-ID: i8414410d:Fastmail Received: by mailuser.phl.internal (Postfix, from userid 501) id 1252029C006F; Mon, 11 Nov 2024 01:04:03 -0500 (EST) X-Mailer: MessagingEngine.com Webmail Interface Precedence: bulk list-help: list-post: List-Id: internals.lists.php.net x-ms-reactions: disallow MIME-Version: 1.0 Date: Mon, 11 Nov 2024 00:03:42 -0600 To: "php internals" Message-ID: <2bdad6e0-e5e0-48a6-bbd3-b938804287ca@app.fastmail.com> In-Reply-To: <3BE04517-DF71-401C-B29F-9BCBB0B16DB0@getmailspring.com> References: <3BE04517-DF71-401C-B29F-9BCBB0B16DB0@getmailspring.com> Subject: Re: [PHP-DEV] [RFC][Vote] Policy on third party code Content-Type: text/plain Content-Transfer-Encoding: 7bit From: larry@garfieldtech.com ("Larry Garfield") On Sun, Nov 10, 2024, at 6:40 PM, John Coggeshall wrote: >> And we're in 2024 now and nobody writes PHP code without Composer. Without this change, we can't use any composer available library for PHP.NET sites, nor even mention it in the documentation. >> That's bonkers. > > 100% agree with you. > >> This is counter productive, because the current rule is: don't use anything, or mention anything, third party. > Per the very first line of the RFC... > >> The PHP project has had a long-standing but unwritten, vague, and inconsistently-applied proscription against mentioning or using third-party PHP projects, on the grounds that it implies some sort of endorsement over other third-party projects. > I guess my point here is when I read this RFC it moves the needle from > "unwritten, vague, and inconsistently-applied" to a much more firm > "don't use them, don't talk about them" on frameworks -- which I think > is a mistake. It also seems entirely haphazard in the "what's allowed" > vs. "what's not". in terms of packages based on Larry's (probably > correct) opinion of what's mainstream as a solution for particular > problems.. All of this is wildly inconsistent is my point. Also what > happens if I decide to use a composer package component that's really a > part of Laravel or Symfony or ....? Is that allowed or not? > > I wouldn't have even blinked on a "yes" vote here if the RFC was to > allow composer.. it's this other half-baked stuff that I am balking > at... I'd very much like to see this RFC stripped of those bits if > possible. > > John Hi John. First off, the obligatory "it was open for discussion for a month, and now you mention this?" Second, I'm not sure I really understand the objection here. This RFC shifts the policy from "You cannot use or mention anything 3rd party at all, especially a framework, except for where you asked forgiveness and not permission already" to "Here's guidelines for when you can use, reference, or use for marketing (3 different things) third party libraries without asking first, and here's a mechanism for if you want to ask for specific exceptions." So if, hypothetically, someone wanted to rebuild bugs.php.net using Symfony (note: Please don't), that wouldn't be allowed by default... but they could post an RFC to ask for an exception. (Whether it would pass is a different question.) If the issue is just a single component... those are fine, and there's even a few Symfony components *already listed* as approved for use (because they're already in use). So if someone wanted to use Symfony/Yaml on the docs site for some reason, they could just do it. > I guess my point here is when I read this RFC it moves the needle from > "unwritten, vague, and inconsistently-applied" to a much more firm > "don't use them, don't talk about them" on frameworks This is... not true. For using, yes, full frameworks are not allowed for the reasons stated. Components are fine, though, and if someone wanted to RFC an exception for Symfony-based bugs.php.net, they can try. That's more permissive than the current policy. For documentation... it's no change from the current status quo. If your concern is "zOMG, why can't we just tell people in the docs to use Symfony?", it's because someone else will immediately respond with "zOMG, why can't we just tell people to use Laravel instead?", and in a year or so someone will probably say "zOMG why can't we just tell people to use Tempest?" And then we'd have to argue if CodeIgnighter is something we want to even acknowledge exists. Full frameworks are a very, very active market, and I *agree* that we should try to avoid putting our thumb on the scales more than is necessary. Though again, there's an RFC process for exceptions. For marketing material, I quote: "The library MAY be a Web Application, provided its mention clearly does not specifically endorse the Application. If many options exist in a space that bears mention, the most common should be given equal exposure." So if, for example, we wanted to put up a "Yay, PHP 8.4" page that says "Laravel, Symfony, and Slim already support it!", *that is explicitly allowed*, as long as we don't play favorites. That's contrary to the status quo, where even mentioning that they exist is disallowed. The guidelines are not "haphazard". They are carefully written to strike a balance, which is a different balance for different use cases. They were adjusted based on feedback from several people, though not as many as I would have liked. They are subject to adjustment over time via RFC, which is something the old policy as mum about (as it wasn't actually written down), so if you want to file an RFC to widen them a bit further, you can do that and let the voters do what they will. So really, contrary to what you're saying, this RFC improves precisely the situation you're talking about in every way. Perhaps not as much as you would like, but it still moves the needle closer to it. I really don't have the stomach at the moment for litigating the "should we just go ahead and endorse some framework" question (I'm on team-no anyway), so I deliberately avoided that question when the main focus is to, as stated, let us mention Composer, PHPUnit, and other staples that have nowhere near the healthy competition that frameworks have. --Larry Garfield