Date: Fri, 14 Feb 2025 12:38:29 -0600 From: "John Marino (FreeBSD)" <freebsd@marino.st> To: freebsd-ports@freebsd.org Subject: Requesting additional column on INDEX-1X for flavor Message-ID: <CAONZFgMWXYuDv47jAP6YavJ6jW7_5cW%2Bausx3HKVGwo9NjBhVQ@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
--000000000000c4bd60062e1e7bb3 Content-Type: text/plain; charset="UTF-8" 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 --000000000000c4bd60062e1e7bb3 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr">This post is aimed at FreeBSD Ports developers that have i= nfluence on the INDEX-1X generation.<br><br>I should have made the followin= g request 3-4 years ago.=C2=A0 I was kind of hoping it would organically ev= olve but that hasn't happened.<br><br>I'd like to see a column adde= d to the INDEX file, specifically to indicate the flavor.<br>There's no= way to reliably determine the flavor of the package using only the INDEX.<= br><br>The reason I ask is because synth requires an flavor index.=C2=A0 Fo= r example, here's an excerpt:<br>------------<br>archivers/py-zstandard= @py311<br>archivers/py-zstd@py311<br>archivers/qpress<br>archivers/quazip@q= t5<br>archivers/quazip@qt6<br>archivers/rar<br>archivers/rpm2cpio<br>------= ---------------<br><br>To generate the 36,000+ line index, it often takes S= ynth 15 minutes or longer to evaluate every makefile in the ports tree, and= it's only increasing over time.=C2=A0 Synth has to generate this index= every time the port tree changes.=C2=A0 This would not be necessary if one= could generate this flavor index by parsing the provided INDEX-1X file.<br= ><br>Here's a current line for quazip qt5 flavor (deps replaced for bre= vity):<br>quazip-qt5-1.4_1|/usr/ports/archivers/quazip|/usr/local|Qt/C++ wr= apper for ZIP/UNZIP package|/usr/ports/archivers/quazip/pkg-descr|kde@FreeB= SD.org|archivers|$deps$|<a href=3D"https://github.com/stachenov/quazip|||">= https://github.com/stachenov/quazip|||</a><br><br>there's no way to rel= iably determine the flavor, so I'd like to "|qt5" added to th= e end.<br>This addition to the INDEX would be a huge benefit for synth user= s who have suffered these long index generation times for years.<br><br>I a= ssume this addition to the INDEX is not technically difficult.<br>What woul= d be the process to formally request this and get it implemented?<br><br>Re= gards,<br>John</div> --000000000000c4bd60062e1e7bb3--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAONZFgMWXYuDv47jAP6YavJ6jW7_5cW%2Bausx3HKVGwo9NjBhVQ>