Requesting additional column on INDEX-1X for flavor

From: John Marino (FreeBSD) <freebsd_at_marino.st>
Date: Fri, 14 Feb 2025 18:38:29 UTC
This post is aimed at FreeBSD Ports developers that have influence on the
INDEX-1X generation.

I should have made the following request 3-4 years ago.  I was kind of
hoping it would organically evolve but that hasn't happened.

I'd like to see a column added to the INDEX file, specifically to indicate
the flavor.
There's no way to reliably determine the flavor of the package using only
the INDEX.

The reason I ask is because synth requires an flavor index.  For example,
here's an excerpt:
------------
archivers/py-zstandard@py311
archivers/py-zstd@py311
archivers/qpress
archivers/quazip@qt5
archivers/quazip@qt6
archivers/rar
archivers/rpm2cpio
---------------------

To generate the 36,000+ line index, it often takes Synth 15 minutes or
longer to evaluate every makefile in the ports tree, and it's only
increasing over time.  Synth has to generate this index every time the port
tree changes.  This would not be necessary if one could generate this
flavor index by parsing the provided INDEX-1X file.

Here's a current line for quazip qt5 flavor (deps replaced for brevity):
quazip-qt5-1.4_1|/usr/ports/archivers/quazip|/usr/local|Qt/C++ wrapper for
ZIP/UNZIP package|/usr/ports/archivers/quazip/pkg-descr|kde@FreeBSD.org
|archivers|$deps$|https://github.com/stachenov/quazip|||

there's no way to reliably determine the flavor, so I'd like to "|qt5"
added to the end.
This addition to the INDEX would be a huge benefit for synth users who have
suffered these long index generation times for years.

I assume this addition to the INDEX is not technically difficult.
What would be the process to formally request this and get it implemented?

Regards,
John