Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 2 Nov 2021 11:55:42 +0300
From:      Gleb Popov <arrowd@freebsd.org>
To:        FreeBSD ports list <freebsd-ports@freebsd.org>
Subject:   Re: A tool to generate a plist for all OPTIONS combination
Message-ID:  <CALH631m3YWkRr1148PzovF7kHbXX1n9wq=oyTgqe5PBpnSNo=g@mail.gmail.com>
In-Reply-To: <20211102082517.dcg3rbzvkrk23kpe@nexus.home.palmen-it.de>
References:  <CALH631ni-SL5BysBSAS%2B5_zFGsxcCS5rVaWJ5XAZ3Ty6DKD-Yw@mail.gmail.com> <20211102082517.dcg3rbzvkrk23kpe@nexus.home.palmen-it.de>

next in thread | previous in thread | raw e-mail | index | archive | help
--000000000000e8350c05cfca7610
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

On Tue, Nov 2, 2021 at 11:26 AM Felix Palmen <felix@palmen-it.de> wrote:

> * Gleb Popov <arrowd@freebsd.org> [20211101 23:18]:
> > I wrote an utility called Panopticum [1] that uses Poudriere to build a
> > given port with every possible OPTIONS setting, generate a packing list
> > after each build and then combine multiple plists into a single one wit=
h
> > necessary OPTIONS_SUB prepended.
>
> Thanks a lot, I'll definitely give this a try when I touch a port with
> several options next time. I've been looking for something like this,
> actually just to have complete 'poudriere testport' coverage for all
> options =E2=80=93 didn't even think about the possibility to use it for
> pkg-plist generation, but that's a nice idea!
>
> I assume it will already sort out "impossible" combinations of options?
>

Yep, it does handle GROUP_RADIO, GROUP_SINGLE and GROUP_MULTI options
correctly. GROUP_RADIO was actually the reason it took so long, because
everything-ON is an invalid combination and it was confusing plist combiner=
.

--000000000000e8350c05cfca7610--



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