Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:125839 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 953231A00BD for ; Wed, 23 Oct 2024 23:58:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1729728034; bh=Uq89ViNqcy23h+nkpkAOOAlgIYV4V3GwSM3Oo7fRtts=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=eUOcdggJiALRIcNVAEQlrWAYpCtY7NNb17QUyeh5AxNwgy0KWWYM+EXDOOr/k/Ft+ 4NRfSqbJrDn565jU9boEG2SARIBCxXJBKhBKswyuou1NHOxvx/ilrB3Lwqp6wF/94e KQGReWXLdQUs3QAtbSAaXy+861E3mM5ErP/GcYbF+J7PR6lf9smqwM3rCE9ItXor48 WaZsDqFzHeCzvt6DN8P+yg5XsfSmHRgPayjVi8UFsekmSpoPHF4q1oG7enfdP1SiE2 DttDS77bIHn1k86iASq2UMOVy74ht9YUS2iH8TJQ9/saVZHcL7xPRBSKF73kEq+ZTg 1gURa/aotTPWg== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 9D61B18004F for ; Thu, 24 Oct 2024 00:00:33 +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.6 required=5.0 tests=BAYES_50,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,DMARC_PASS,FREEMAIL_FROM, HTML_MESSAGE,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL, SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=4.0.0 X-Spam-Virus: No X-Envelope-From: Received: from mail-pj1-f54.google.com (mail-pj1-f54.google.com [209.85.216.54]) (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 ; Thu, 24 Oct 2024 00:00:30 +0000 (UTC) Received: by mail-pj1-f54.google.com with SMTP id 98e67ed59e1d1-2e2c6bc4840so292780a91.2 for ; Wed, 23 Oct 2024 16:58:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1729727884; x=1730332684; darn=lists.php.net; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=tsW4Mf9cfQtjZxi7TG3RGB+ojbgLoT7FJHBtyMfKIL8=; b=RbXDVvy13XL7vDgux/cPb9lrcL5ZPzLeYW6peE+JgyJuURB3dJJ1JylyVNht3OnTT0 ua4cgGQU+nQCEIftWhjK2n7fZ5fY8kEVQHV3Z+6sdKymWWY8JABmXrpOomiLXOo0GN02 KYPbiq/2J0iweFtJLP8sjsFsmmqvMrXy1VGFrOFlGbW4BVSMyVYv/LDs2uCn4CeU/9s0 z2+UCnLS/xV4O6HDKTAG3/PY/2/ReKecA1yl4A7rvCZcMWNJyokxuEr5OBFNzVrf3H7d 1nxo8T9rA9yljYptZx27d3/0FtiMPudv9FPzCjKYa5nDGOWYlL9Tw4QnTpG8kbMOihO8 /Z+w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1729727884; x=1730332684; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=tsW4Mf9cfQtjZxi7TG3RGB+ojbgLoT7FJHBtyMfKIL8=; b=kd8OhsPEgnqgtbwgO4Cgg3eU5JkY+6kRrk7PS4Kn0TSl53IBVblpO7q76i9lYBNKjJ 3eFlYGPr9bxNf8ymOX1H3zfv6a+R7maRdXy9uehTF9t8JlBNrSbE9tkrDmiiPTcuCFTF r5PDy8BnJHSa0NF9IrwW5IqeDdhZAlUI4ELYkwOhZgSpGVkaRLkeaKePwW2RQCyBiTez DRXqdo2wl/yKJ+NeaQvaqhJlfUJ/2+tVc/DyBCAa6NfbkH+Gwse3nAiDaN7jSdnobVPg cmdalBm+gQsliuo+2YHxVmWqvCx1IfF+BGZbFItSWjYn0/j+Ig7iTfJUIj3BALPi/CFU IOVA== X-Gm-Message-State: AOJu0YxNs+OW1xmcNGAm0Z/D6MQ+ZxM/pVlIsfOfu1pMdSjVdbp9iDKc D9NhRyGt34GNy1lNQ1ImSTXnH46Ttv1x+o6K2/DbNPPpbPnrY0oEWpFMfU5gJXGddLxBzUfTlz+ MB0VoQtnyZ78XJTN/njlYTpPbuHytcO9vSyQ= X-Google-Smtp-Source: AGHT+IE1MSUSkZJ5n5nYheU/WS5q7H2ua7LK7Htt1mZpremiwqSenpMLOFBkYr2KLKTbWTD+Spz7pavuVeSaGX9KXJQ= X-Received: by 2002:a17:90a:300e:b0:2e2:a667:1a18 with SMTP id 98e67ed59e1d1-2e76b5bf744mr4558488a91.5.1729727883997; Wed, 23 Oct 2024 16:58:03 -0700 (PDT) Precedence: bulk list-help: list-post: List-Id: internals.lists.php.net x-ms-reactions: disallow MIME-Version: 1.0 References: <92b537ac-62f4-435c-bf55-07223cfa1915@app.fastmail.com> In-Reply-To: <92b537ac-62f4-435c-bf55-07223cfa1915@app.fastmail.com> Date: Thu, 24 Oct 2024 00:57:27 +0100 Message-ID: Subject: Re: [PHP-DEV] [RFC] Policy on 3rd party code To: Larry Garfield Cc: php internals Content-Type: multipart/alternative; boundary="000000000000157f4306252da892" From: fenniclog@gmail.com (fennic log) --000000000000157f4306252da892 Content-Type: text/plain; charset="UTF-8" On Wed, 2 Oct 2024 at 19:37, Larry Garfield wrote: > Since Jim's RFC proposal was criticized for being too vague, I hereby > offer a somewhat more prescriptive policy proposal on using 3rd party > code. (With JIm's blessing.) It's still more heuristics than rules, but I > think that's the right approach generally. It also includes a voting > mechanism to resolve edge cases when they come up. > > I'm sure we'll bikeshed it to death, but please keep an open mind about > the concept in the first place. PHP is more than just php-src, and that's > a good thing. We need to catch up with that reality, while at the same > time maintaining a reasonable neutrality about projects Internals doesn't > manage directly. > > https://wiki.php.net/rfc/third-party-code > > *Puts on trusty flame-retardant suit* > > -- > Larry Garfield > larry@garfieldtech.com I remember a while ago a discussion about bundling composer with PHP by default (and possibly dropping pear). What ever happened with that? As the first thing any dev does after setting up PHP, is install composer. As this RFC points out, almost every project modern uses composer to manage dependencies, and every Library, SDK and framework requires composer. So i'd change this line in the RFC > We should use it, we should document it, we should promote it. To > We should use it, we should document it, we should promote it, we should bundle it! As I mentioned, it is basically a requirement nowadays to work in PHP unless you are doing something custom that doesnt require any dependencies, but then, is that person planning to release it to the public? I am of no opinion of weather php devs internally should use composer, i have no skin in that game. But Documentation - Yes, Promotion - Yes, but does it really need it? Bundle it - Yes! --000000000000157f4306252da892 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

On Wed, 2 Oct 2024 at 19:37, Larry Garfield <larry@garfieldtech.com> wrote:
Since Jim's RFC proposa= l was criticized for being too vague, I hereby offer a somewhat more prescr= iptive policy proposal on using 3rd party code.=C2=A0 (With JIm's bless= ing.)=C2=A0 It's still more heuristics than rules, but I think that'= ;s the right approach generally.=C2=A0 It also includes a voting mechanism = to resolve edge cases when they come up.

I'm sure we'll bikeshed it to death, but please keep an open mind a= bout the concept in the first place.=C2=A0 PHP is more than just php-src, a= nd that's a good thing.=C2=A0 We need to catch up with that reality, wh= ile at the same time maintaining a reasonable neutrality about projects Int= ernals doesn't manage directly.

https://wiki.php.net/rfc/third-party-code

*Puts on trusty flame-retardant suit*

--
=C2=A0 Larry Garfield
=C2=A0 larry@ga= rfieldtech.com

I remember a while ago a discussion about bundling composer with PHP b= y default (and possibly dropping pear).
What ever happened with t= hat?
As the first thing any dev does after setting up PHP, is ins= tall composer. As this RFC points out, almost every project modern uses com= poser to manage dependencies, and every Library, SDK and framework requires= composer.
So i'd change this line in the RFC
>= =C2=A0 We should use it, we should document it, we should promote it.
T= o
> We should use it, we should document it, we should promote it, we sho= uld bundle it!
=C2=A0
As I mentioned, it is basically a requirement = nowadays to work in PHP unless you are doing something custom that doesnt r= equire any dependencies, but then, is that person planning to release it to= the public?
I am of no opinion of weather php devs internally sh= ould use composer, i have no skin in that game. But Documentation - Yes, Pr= omotion - Yes, but does it really need it? Bundle it - Yes!
=
--000000000000157f4306252da892--