Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:125309 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 0563A1A00BD for ; Tue, 27 Aug 2024 11:34:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1724758583; bh=ThedjgDsK0/hl7xZS+czOACUYGUNgoLDCRnnsLsjENA=; h=Date:From:To:cc:Subject:In-Reply-To:References:From; b=bZNNTX3FiqzFTrsnQZgPftpeWdM5uozQimnq8sltouBU2SXce75hMQKThHfi7PQ30 IHtWwlBhYxYSOeIQ1hvHE+GHyerNLXqjalJweS7ubvrZKAZx9lIoLYIH5C/7qvBtxL wWYhv4vAM+iTqA1X66vXJms2Qb2u1tvBvRqo+ms3qnJyzcztns9oKlD9mDMPtZU8ho q+SLwdIRpVbKTIIAKUp10bgDiK7wiuHdeE649W865Hjip1vaJ/wjDQb+poGub2TGch fn2txRb/m51Xgu3v2/LYFmCbLlfkHmv89PXuq/mtmtjVMPtsvrdjVlHvfG5dBTQztZ l+1AvmtL1luOQ== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 70F67180051 for ; Tue, 27 Aug 2024 11:36:23 +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=3.6 required=5.0 tests=BAYES_50,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,DMARC_PASS,SPF_HELO_PASS, SPF_SOFTFAIL autolearn=no autolearn_force=no version=4.0.0 X-Spam-Virus: No X-Envelope-From: Received: from xdebug.org (xdebug.org [82.113.146.227]) (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 ; Tue, 27 Aug 2024 11:36:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1724758469; bh=ThedjgDsK0/hl7xZS+czOACUYGUNgoLDCRnnsLsjENA=; h=Date:From:To:cc:Subject:In-Reply-To:References:From; b=Mco7UUKKKQb8jT/ZEztmsk41V2TwT5L/+cmh19D0VRCjWb8TO0oXbHDFOKwa4tcti z87jWTXcgZ2SQA5LHenu3l8H/ieTc4T5HpGviZOxKc/4I4s6w3dcTPBraV+fWMWjSr mZ0jlRFTPgIg7fOOcbBXJ2acprnO6SrznYZ6oCYnsiIXqSUTsJ5+YY3t61yMYeFomq P/SfCjzoq7HfLTeElfRU5zl9UZmDEVdaOyBYAkCxXOHIDJonsi+f+wu7xXzXdmyZph 5qcwtjRykF2xrIrKDGZmhuCvscH27GkFnyeoLiUoxLwZVKPIZuuoH6OEabgWip8khM 0NMA8aFfQ7XnA== Received: from localhost (localhost [IPv6:::1]) by xdebug.org (Postfix) with ESMTPS id 1EF5810C033; Tue, 27 Aug 2024 12:34:29 +0100 (BST) Date: Tue, 27 Aug 2024 12:34:28 +0100 (BST) To: Deleu cc: Bob Weinand , Jim Winstead , internals@lists.php.net Subject: Re: [PHP-DEV] [RFC] [Discussion] Using and Mentioning Third-party Packages in PHP Documentation and Web Projects In-Reply-To: Message-ID: <477e7b2f-8d76-7594-74c1-79bd96681b8a@php.net> References: <642cb3ea-bf51-4832-8539-0540742000e1@app.fastmail.com> Precedence: bulk list-help: list-post: List-Id: internals.lists.php.net x-ms-reactions: disallow MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="8323329-1617747547-1724758469=:23442" From: derick@php.net (Derick Rethans) This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --8323329-1617747547-1724758469=:23442 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: QUOTED-PRINTABLE On Mon, 26 Aug 2024, Deleu wrote: > On Mon, Aug 26, 2024 at 3:12=E2=80=AFPM Bob Weinand = wrote: >=20 > > Thanks for bringing this up - I also suggest that we make this a=20 > > binary choice - either we adopt the proposed language or its=20 > > opposite. > > > > I.e. a rejection of this should codify that statement in the=20 > > negative. > > > > I do in particular reject the notion that we should document=20 > > third-party projects (usage for our infra is fine). > > > > The point of the PHP documentation is to describe the PHP runtime=20 > > and PECL extensions, which are both officially distributed through=20 > > php.net. > > > > Anything not related to these does not belong into the manual, much=20 > > less into core documentation (like language/oop5 autoload.xml, to=20 > > take the example from=20 > > https://github.com/php/doc-en/pull/3677/files). > > > > Changing this current unwritten rule is an invitation to implicitly=20 > > promote specific projects. The question is really where does it end?=20 > > Would we for example also mention PSRs as "widely followed=20 > > guidelines for interoperability" or something? It's a strong=20 > > invitation for some scope creep. > > > > As such I strongly condemn the idea of inclusion of this guideline. > > > > There are, ultimately, enough ways for people to learn about the PHP=20 > > ecosystem, the php.net documentation is none of them. If I go to=20 > > php.net, it's because I want to learn about the runtime, not its=20 > > ecosystem. > > > Since your message was somewhat ambiguous to me, I would like to take=20 > this opportunity to request clarification from Jim. >=20 > I read this RFC as an opportunity to allow community-driven PHP=20 > projects to be embraced when it suits PHP's internals needs. For=20 > instance, I remember a few years ago a conversation about rebuilding=20 > the php.net website. The current "unwritten" rule was used to impose=20 > that a new PHP website could not use any existing PHP Framework as to=20 > not "endorse" any particular project. Same thing goes for the RFC=20 > Voting process, PSRs, Composer, etc. I think there is a difference between "using existing packages to make=20 our life easier" and "we use this fully fledged framework". The latter=20 should still not be a reasonable outcome here. > In a way, I agree with Bob's take that the php.net documentation=20 > should not be used to *document* 3rd-party tooling, but my=20 > interpretation of the RFC has nothing to do with documenting 3rd-party=20 > tools but instead its about mentioning or even relying on them. No, it absolutely has something to do with that. There is no mention of=20 Composer on php.net. That is ludicrous. Documenting *proprietary* installers (such as AMPSS as raised in=20 https://github.com/php/doc-en/pull/1674) is probably something I *won't*=20 favour. Explaining how to install PHP with homebrew, apt or yum makes perfect=20 sense to me. Nobody really ought to go to www.php.net/download and=20 compile PHP themselves. But that's the only installation instructions=20 that we have. cheers, Derick --8323329-1617747547-1724758469=:23442--