Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 26 Jan 2024 12:12:01 +0100
From:      Luca Pizzamiglio <pizzamig@freebsd.org>
To:        Alexander Leidinger <Alexander@leidinger.net>
Cc:        Gleb Popov <arrowd@freebsd.org>, Stefan Esser <se@freebsd.org>,  freebsd-ports <ports@freebsd.org>, portmgr <portmgr@freebsd.org>,  FreeBSD Core Team <core@freebsd.org>
Subject:   Re: This is going to break port building without poudriere!
Message-ID:  <CAB88xy9V3f9spJJF_Ya=FPVOsxrTP4vzyj4j2tXpuj90id71cw@mail.gmail.com>
In-Reply-To: <4b1f2470bf476f0f9e8f8b689c585c43@Leidinger.net>
References:  <CAB88xy-8hAknWJDRBjbJo2%2Bw878ZMosKcvQbpKVzwq%2BH7%2Bzuyg@mail.gmail.com> <cd0c0cb0-6035-45b4-b3e8-d99115e6c013@FreeBSD.org> <CAB88xy8gTC4UJK0fOiHnVCFf0AGtLoHfHdOAF29zChQ8=5SV6w@mail.gmail.com> <d6a7c9725edd734aca842d6ce85b0be2@Leidinger.net> <CALH631ntQ8VzqhDmyxpcXwpZU0jsALgi_74qzLpNDSBLtGNXRA@mail.gmail.com> <4b1f2470bf476f0f9e8f8b689c585c43@Leidinger.net>

next in thread | previous in thread | raw e-mail | index | archive | help
--00000000000074ae95060fd75e9c
Content-Type: text/plain; charset="UTF-8"

Hi Alexander.

You understand correctly what I wrote:
* Several master/slave ports can be converted to use subpackages.
* Php is a potential candidate for subpackage adoption
However, I wasn't explicit on the fact that I won't impose subpackages
adoption on anyone.
Specifically, I don't want to convert php into subpackages right away,
there are smaller/easier examples to tackle first.
And in general, the maintainer is the one making the decision, and they can
disagree with me.
An experimental adoption will be considered for lang/php83, existing
versions won't be converted.

As you pointed out, there are two challenges specifically for php:
* moving all extensions (slave ports) to subpackages in lang/php* can
significantly increase build times (for ports users) and its dependency
list (for pkg users)
* the meta php-extensions port is a convenient way create a custom group of
extensions
Php port could be converted into subpackages if and only if we can provide
a similar experience as before.
To do that:
* we would need to add options to enable/disable extensions, in order to
manage build times and dependencies
* we need to provide the similar meta php-extensions package, as it's
largely used

If the maintainer finds out that subpackages are not suitable for php, they
won't be adopted.

Best regards,
pizzamig

--00000000000074ae95060fd75e9c
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div>Hi Alexander.</div><div><br></div><div>You understand=
 correctly what I wrote:</div><div>* Several master/slave ports can be conv=
erted to use subpackages. </div><div>* Php is a potential candidate for sub=
package adoption</div><div>However, I wasn&#39;t explicit on the fact that =
I won&#39;t impose subpackages adoption on anyone.</div><div>Specifically, =
I don&#39;t want to convert php into subpackages right away, there are smal=
ler/easier examples to tackle first.</div><div><div>And in general, the mai=
ntainer is the one making the decision, and they can disagree with me.<br><=
/div><div>An experimental adoption will be considered for lang/php83, exist=
ing versions won&#39;t be converted.<br></div><div><br></div></div><div>As =
you pointed out, there are two challenges specifically for php:</div><div>*=
 moving all extensions (slave ports) to subpackages in lang/php* can signif=
icantly increase build times (for ports users) and its dependency list (for=
 pkg users)<br></div><div>* the meta php-extensions port is a convenient wa=
y create a custom group of extensions<br></div><div>Php port could be conve=
rted into subpackages if and only if we can provide a similar experience as=
 before.<br></div><div>To do that:<br></div><div>* we would need to add opt=
ions to enable/disable extensions, in order to manage build times and depen=
dencies<br></div><div>* we need to provide the similar meta php-extensions =
package, as it&#39;s largely used<br></div><div><br></div><div>If the maint=
ainer finds out that subpackages are not suitable for php, they won&#39;t b=
e adopted.</div><div><br></div><div>Best regards,<br></div><div>pizzamig<br=
></div><div><br></div></div>

--00000000000074ae95060fd75e9c--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAB88xy9V3f9spJJF_Ya=FPVOsxrTP4vzyj4j2tXpuj90id71cw>