Am 26.01.24 um 11:23 schrieb Gleb Popov:
On Fri, Jan 26, 2024 at 12:55 PM Chris <[email protected]> wrote:
I really appreciate the write up! Makes for a nice overview. The differential
at first glance was a bit daunting. Will flavors and all still remain?
Or will subpackages subsume options/flavors?
I don't know what will happen in the future as I'm not the one who
makes decisions. But solely from my understanding and my writeup -
nothing should be removed. Each feature has its use and may be better
for some kind of ports.
And thus we add even more complexity to the port system ...
For ports that e.g. depend on a particular interpreter version
(Python, Perl, LUA, ...) or database, we currently have 4 ways
to select the correct dependencies etc.:
- pathname (e.g. databases/mysql81-server)
- DEFAULT_VERSIONS environment variable (DEFAULT_VERSIONS="perl5=5.38")
- port OPTION
- FLAVOR
This is not relevant from the poudiere/pkg point of view, since
there will a package name that can be referenced as dependency in
any case, but it makes the port system complex and inconsistent
and some of these methods should have been consolidated long ago.
But instead of a clean-up of the underlying methods and structures,
more complexity has been added.