Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:125868 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 D96851A00BD for ; Sun, 27 Oct 2024 05:37:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1730007622; bh=MX3siFrLH3Na1AHfTiG+7jK2BMXdt0rCqNut/uRQtFU=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=KvvTTx1Qoo56YsvusilvtfFOO9kx2nX3fMro3T79ilj85QInD1I0awELPYiXcmyhv aAyR1eHXY8UmYw18mHLInxEZu08JdCJUd+0HINd83N4FLmAP4Mh/r5sJQMCMDFRPpy RNEZvOAMNYIAJ90Q77PTcuhqxDld5/YyNdd77GgOOiTuC/NRUemSs2yS5WdLshSM2l jFHW7wrD2GYFOgmHTI1Q2aaHAOhRV47utQ39CrtILB7WBb8gpKB9DoxebCfG0aVNuD k0lLLTKaiautt8il4YVA4Tp6I6FmhZEjE05aYLJ1nVTKgRRUvetEyqIsOlqJQEoWyQ 0NXjfKMAdJFNw== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 8156018004F for ; Sun, 27 Oct 2024 05:40:21 +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, 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-pl1-f180.google.com (mail-pl1-f180.google.com [209.85.214.180]) (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 ; Sun, 27 Oct 2024 05:40:20 +0000 (UTC) Received: by mail-pl1-f180.google.com with SMTP id d9443c01a7336-20e6981ca77so35205605ad.2 for ; Sat, 26 Oct 2024 22:37:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1730007473; x=1730612273; darn=lists.php.net; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=ig3aPyGo/AkvtES+UFEmceQRZuyVYS8xygWUNfnXhbg=; b=OWhfrkgRJfJQHG7PKoIR72fLHgtyfIFMGHXZsnmfNfxldaOp6ZBboohOFtqmKSl+b0 wDqtJRUHQbJN/jKWncm8P5sva/5zLmLtWL0ZaLWBpmQdO60FQSKZXZmn8UnDagqcsS3E iQuQTOimPcOODYpu2/JeC84ogGHUPZbuYCA8gjgAaWGxfh9v2nDDC4NiFVWNgNREQvNg ZFfaLCRaen4rZPJnJ9ibt7lUJUpnCE8r8QbSrp43RIUeNom16Sh7aw+k6q8Z37ZYpydW 9Meo693B8HTykFF3QCoc6j7OEM8yw6TSiXt6XpJAt4R86vr/fmqkIw7UKWo20q9j0sn+ xomw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1730007473; x=1730612273; h=content-transfer-encoding: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=ig3aPyGo/AkvtES+UFEmceQRZuyVYS8xygWUNfnXhbg=; b=nE4Zq+4TLg9dPx9cOytbL8NNw5ZxI1a5PV9TJX+13vgGAAYahAr/Fsefxs01Ut5b+p sMwFwMNKF6f0zNZYr+YDlhuM4UlC4ozX4dMAMf5D8iG7s94+IEG5gMTI2Yh/pTlCURNm RP2yXSwV6SMcXV/yUuoBEMrfewzj+D5cV7P+W4KycPh/tcfZJxKdDh6JdCbt4LHiKzR4 zD8hfAr7iHwUPotbj3WZZ6ieoVPyuBAvbEZP5cLsPqHKnKbbjnIbJ1yRvTit8dDeg1ZH ZxhgK2IT48ISO8Q7Eu7s3AA0F0VFoTV91ErCsEwUmjAB7+AQ5xtvB29ExsiQST5h9RyJ SxNg== X-Forwarded-Encrypted: i=1; AJvYcCVs0mjD7Zr0Y1sh2DImkJ18X7chQRgsmkC/38rzTd2yyxT1uaHH+G+iZgJxGTa6A4V2It0Yp/UVy9c=@lists.php.net X-Gm-Message-State: AOJu0YwmtqMg+tdgqKHfTE5JC6P0U4y3qKMN/63DGBm2WE5KaW+59Rh6 GV/2uOJOlBypALynEhaeAlELNtZxs5P70BlrMWqd/V4aNFAtzCdgen1KxlDIvCZ+L/PX3IOk1n/ UeFh/j5b0bgnTtya3fCcDvooyIV84wXbA X-Google-Smtp-Source: AGHT+IEdrAA8zKCiOAlSHxuh9QslyjNbAgR+uFmTJkep/KiHywvjg2wKKWEAg8UCL+OHZomLSY4BAxi2WkVau+Zj5ek= X-Received: by 2002:a17:903:2283:b0:207:6fb:b04f with SMTP id d9443c01a7336-210c689b9c2mr69907865ad.17.1730007472871; Sat, 26 Oct 2024 22:37:52 -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: Date: Sun, 27 Oct 2024 12:37:40 +0700 Message-ID: Subject: Re: [PHP-DEV] [RFC] Policy on 3rd party code To: Jim Winstead Cc: Larry Garfield , php internals Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable From: pierre.php@gmail.com (Pierre Joye) Hello :) On Sun, Oct 27, 2024 at 3:28=E2=80=AFAM Jim Winstead wrote: > > There were more existing 3rd-party dependencies that should probably be a= dded to the policy text: > > https://news-web.php.net/php.internals/125769 > > Two I missed were JpGraph and Parsedown which are used by web-doc. (Curre= ntly by side-loading JpGraph and having an old copy of Parsedown committed = to web-doc, I would hope to move those out as Composer dependencies if we d= ecide to allow that.) > > Jim First, I want to extend my gratitude to all who keep this effort running, your efforts are truly appreciated and much needed! :) I've been following this thread and, while I understand the historical context and some of the off-topic discussions, I find myself a bit puzzled. Historically, the restrictions on what could be used for the php-web, php-doc, and other codebases were primarily about ensuring that mirrors could operate using a stock PHP setup without additional dependencies like database servers. Over time, some services couldn't adhere to these restrictions, leading to various exceptions. It is important to note that php.net no longer has an official mirror program (see https://www.php.net/mirroring.php). Historically, the restrictions on what can be used for the php-web, php-doc, etc code base at large was about the mirrors (, for any of these services, could use it by using a stock PHP without anything else, be database servers etc. Some services obviously could not do it with these restrictions and 'exceptions' have appeared along the way. php.net does not have an official mirror program anymore (see https://www.php.net/mirroring.php), though mirrors still advertise themselves at https://www.php.net/mirror.php The principle that "php.net does not do promotional content" was, and still is, about avoiding explicit promotions of specific companies, products, or individuals. For example, all mirrors were listed in one place, and links/ads/etc from our homepage were never allowed. This is the context behind the stance of not promoting non-php.net entities. Regarding the tools we use in php.net projects, we already leverage a wide range of tools, services, and libraries, both PHP-based and otherwise. These can be seen in our repositories and elsewhere. Given that we no longer rely on a mirror network program per se, I don't see the issue with relaxing some of these strict rules. Doing so could make life easier and more enjoyable for maintainers, and likely improve the codebase by reducing the "Not Invented Here" syndrome or making things easier to maintain. Composer, for instance, has always wanted to remain independent from php.net, which is perfectly understandable. However, does this mean we can't use it? That seems like an overreaction in today's PHP development ecosystem. While it's true that anything can be done using a stock PHP setup without dependencies, this approach has not been ideal for many areas for quite some time. It is most certainly valid as well for many other tools or libraries. Last but not least, it might be a good thing (tm) to maintain a simple list of the tools we use and their purposes. This wouldn't be promotional but rather informative, helping everyone understand the current state of our toolset, improving transparency. best, --=20 Pierre @pierrejoye | http://www.libgd.org