Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:125369 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 B9B4B1A00BD for ; Sat, 31 Aug 2024 13:47:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1725112149; bh=LTX1TK6+vwy1t3a5fSbUs3gA5EvGTuI9SvhKAKlslW8=; h=Date:From:To:In-Reply-To:References:Subject:From; b=Wu4QD5pSEEo4AedzT/OW+J+9v15yuR4Ef+vzszNNjg6k3Ren3xpRiVuxcL7ItpLDt 3QfVqddBCdUyT2nYTVTblGs5G8w3jlfpT7CnRhnZ21jvSyPnljTsZQjqDzKnb3yKUg SFzBOOife+NG0rApdLcb5aXB8iMhk0iTCS96iH/O8vIHiEiNo5FrUdgZ5VwkLV2HqE FVr2rmRq63jdHSxwyRtd/9msWAgNBoUKb15Zz0MetBMYhuCOLqgxdUiwbkyek/OctY KhmaP67pRcA7PxBrC8scEJZyIfgtM2z3S8U3lELninj8fUq6Bdma0eGiCDX93kTewV b4uffjF2MCTpg== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 0D9AC18007C for ; Sat, 31 Aug 2024 13:49:08 +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,HTML_MESSAGE, RCVD_IN_DNSWL_LOW,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS, SPF_PASS autolearn=no autolearn_force=no version=4.0.0 X-Spam-Virus: No X-Envelope-From: Received: from fout1-smtp.messagingengine.com (fout1-smtp.messagingengine.com [103.168.172.144]) (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 ; Sat, 31 Aug 2024 13:49:07 +0000 (UTC) Received: from phl-compute-03.internal (phl-compute-03.nyi.internal [10.202.2.43]) by mailfout.nyi.internal (Postfix) with ESMTP id 29E3F13802B7; Sat, 31 Aug 2024 09:47:11 -0400 (EDT) Received: from phl-imap-09 ([10.202.2.99]) by phl-compute-03.internal (MEProxy); Sat, 31 Aug 2024 09:47:11 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bottled.codes; h=cc: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=fm2; t=1725112031; x=1725198431; bh=apID3uqV+g gk/Ir/9noKd3VrTBWAKs0JPO6XXm/akAw=; b=WObfif2hN63fSeSVes/HOUlSJO js1bRbewtYgKdsyyh9OFyrWw14zH+0fp7wA8bStRGRayEgs3PvDkqjniPxHMvNoW ovtBbTpzlS+zIUKrHpEwRgTidLet5A7kW8ZAWk8iNROvmIa/8NvSw54wr0vOOzmy EBUESWbrnN3j66wNLTj2dajiJqfvTBsyabIYXY7AR4qEnsRa8wvkqH8XFRQjfdOh e0K4Hz+ltfNj9RE5yyoVlG+aEUeahjnm5UDBQnheulyCz0GOw/Jc2Rh57xEkEHQG JEDnUK0jlO9Z/y94Z3UPOEXd8/ljXnb5az8U/3EUR6NPpGrYwuFRkRP2VsHw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc: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-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm1; t=1725112031; x=1725198431; bh=apID3uqV+ggk/Ir/9noKd3VrTBWA Ks0JPO6XXm/akAw=; b=T3qib6NxxSCSgs6usXYOe2zVoqslk7FPsS0KtUFs3DH4 QV9pfNKNnqYya/oLqTRKT+8Rb8V9rXPDmrz6tn8E1ocqA1rpKXBLL2eHfChUEIdH /CQhoW+7NUUc08SpfLbuQQdhZ4leHv3mXqgCDotfk0UXVDSsDWOGs5vjLeOeHzYE IFKlLuY9EoXuI1LCczD3TG6I0Qkp2DdrEJWNDoNo1561Zm0rh0dE/3QARpzDNQA3 AZfY9Hja3Bk53lmNSUX5n41YtLAlNOGmdlrPK7QT08ZTFSID2jMUpNeq6LnQvYCL GSYf+z50ZWGO4RCioMuTtIjNx41HuLYPrWHiZmfUjw== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeftddrudefkedgieekucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdggtfgfnhhsuhgsshgtrhhisggvpdfu rfetoffkrfgpnffqhgenuceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnh htshculddquddttddmnecujfgurhepofggfffhvffkjghfufgtsegrtderreertdejnecu hfhrohhmpedftfhosgcunfgrnhguvghrshdfuceorhhosgessghothhtlhgvugdrtghoug gvsheqnecuggftrfgrthhtvghrnhepiedthffhvdffhfettdfgveefgfeugeegudeukeej heeigefghfeiveelfeefueefnecuffhomhgrihhnpehgihhthhhusgdrtghomhenucevlh hushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehrohgssegsohht thhlvggurdgtohguvghspdhnsggprhgtphhtthhopeefpdhmohguvgepshhmthhpohhuth dprhgtphhtthhopegtmhgsvggtkhgvrheileesghhmgidruggvpdhrtghpthhtohepihhn thgvrhhnrghlsheslhhishhtshdrphhhphdrnhgvthdprhgtphhtthhopehjihhmfiesth hrrghinhgvughmohhnkhgvhidrtghomh X-ME-Proxy: Feedback-ID: ifab94697:Fastmail Received: by mailuser.nyi.internal (Postfix, from userid 501) id A4AC6780065; Sat, 31 Aug 2024 09:47:10 -0400 (EDT) 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: Sat, 31 Aug 2024 15:46:50 +0200 To: "Christoph M. Becker" , "Jim Winstead" , internals@lists.php.net Message-ID: <98b12de8-5398-4038-9ae6-3dc6377d69cc@app.fastmail.com> In-Reply-To: <27cbee89-093f-4903-baec-a10058370c33@gmx.de> References: <9791621c-1313-4306-bc6a-5dd789f2b2df@gmx.de> <51FA7D6F-09F6-4267-9B57-5CBD42EA898C@cmpct.info> <57156bdd-cf93-404f-a10c-cd842bd7bb92@app.fastmail.com> <27cbee89-093f-4903-baec-a10058370c33@gmx.de> Subject: Re: [PHP-DEV] What to do with ext/snmp? Content-Type: multipart/alternative; boundary=71d22600dd734cacb5cdaea5c09ff4f3 From: rob@bottled.codes ("Rob Landers") --71d22600dd734cacb5cdaea5c09ff4f3 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On Fri, Aug 30, 2024, at 20:13, Christoph M. Becker wrote: > On 30.08.2024 at 19:05, Jim Winstead wrote: >=20 > [snip] >=20 > And generally, while there are many well maintained extensions on PECL, > most (i.e. way more than half of the extension there) are outright > abandoned, dead or half-dead, a lot of the latter barely kept alive by > Remi Collet. A next generation PECL (installer) will not change this; > only people who actively care about these extension could, if these > people have knowledge of PHP extension development. >=20 > I'm not saying that all PECL extensions deserve to be kept alive; there > are good reasons for many to have been abandoned, e.g. because they we= re > built on no longer supported libraries, are generally not useful > anymore, or would be written in PHP nowadays (e.g. ext/dbase). >=20 > Instead I'm saying that we should be careful to unbundle extensions. > This should probably seen as a last resort if we absolutely can't > maintain the extension any longer, or it doesn't make sense to do that. > I'm not sure yet that ext/snmp falls into this category. >=20 > It's easy to vote "yes, unbundle this extension" if you've never used > the extension and are not planning to do so in the future. It may be a > death sentence, though. >=20 > Christoph >=20 I went over to pecl to see how hard it was to create a new extension (af= ter being prompted by Gina to submit my GMP operator stuff as a pecl ext= ension). It appears to be very involved with a checkmark: "I have already discussed the topic of maintaining and/or adding a PECL = extension on the pecl-dev@lists.php.net mailing list, and we determined = it's time for me to have a PECL account" I, personally, can't imagine going through such a process. Not only do y= ou have to convince gate-keepers you don't know to share your extension = with (which higher up on the page says your code should be complete), bu= t also convince end-users to use your extension. The barrier of entry is= high, when it would be much easier to just create a repository and inst= ructions; effectively making discovery of interesting php extensions nea= rly impossible. If you are using something like Docker containers, there is https://gith= ub.com/mlocati/docker-php-extension-installer which go so far as to inst= all extensions from github (and apply patches) if they aren't updated/av= ailable in pecl (example: memcached + php 8 had an issue that was fixed = on github but didn't get an update on pecl for nearly a year, IIRC). I'm pretty excited about pecl's replacement (how is that going anyway?) = and hope it will be easier to create, maintain, and distribute extension= s with. In other words, I emphatically agree that moving extensions out of core = and into pecl would be a death sentence. =E2=80=94 Rob --71d22600dd734cacb5cdaea5c09ff4f3 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable
On Fri, Aug 30,= 2024, at 20:13, Christoph M. Becker wrote:
On 30.08.2024 at 19:05, Jim Winstead wr= ote:

[snip]

An= d generally, while there are many well maintained extensions on PECL,
most (i.e. way more than half of the extension there) are ou= tright
abandoned, dead or half-dead, a lot of the latter b= arely kept alive by
Remi Collet.  A next generation P= ECL (installer) will not change this;
only people who acti= vely care about these extension could, if these
people hav= e knowledge of PHP extension development.

I= 'm not saying that all PECL extensions deserve to be kept alive; there
are good reasons for many to have been abandoned, e.g. beca= use they were
built on no longer supported libraries, are = generally not useful
anymore, or would be written in PHP n= owadays (e.g. ext/dbase).

Instead I'm sayin= g that we should be careful to unbundle extensions.
This s= hould probably seen as a last resort if we absolutely can't
maintain the extension any longer, or it doesn't make sense to do that= .
I'm not sure yet that ext/snmp falls into this category.=

It's easy to vote "yes, unbundle this exte= nsion" if you've never used
the extension and are not plan= ning to do so in the future.  It may be a
death sente= nce, though.

Christoph


I went over to pecl to see how hard= it was to create a new extension (after being prompted by Gina to submi= t my GMP operator stuff as a pecl extension). It appears to be very invo= lved with a checkmark:

"I have already disc= ussed the topic of maintaining and/or adding a PECL extension on the pecl-dev@lists.php.net mailin= g list, and we determined it's time for me to have a PECL account"

I, personally, can't imagine going through such = a process. Not only do you have to convince gate-keepers you don't know = to share your extension with (which higher up on the page says your code= should be complete), but also convince end-users to use your extension.= The barrier of entry is high, when it would be much easier to just crea= te a repository and instructions; effectively making discovery of intere= sting php extensions nearly impossible.

If = you are using something like Docker containers, there is https://gith= ub.com/mlocati/docker-php-extension-installer which go so far a= s to install extensions from github (and apply patches) if they aren't u= pdated/available in pecl (example: memcached + php 8 had an issue that w= as fixed on github but didn't get an update on pecl for nearly a year, I= IRC).

I'm pretty excited about pecl's repla= cement (how is that going anyway?) and hope it will be easier to create,= maintain, and distribute extensions with.

= In other words, I emphatically agree that moving extensions out of core = and into pecl would be a death sentence.

=E2=80=94 Rob
--71d22600dd734cacb5cdaea5c09ff4f3--