Date: Sat, 1 Apr 2017 19:00:18 +0200 From: Dominic Fandrey <kami@freebsd.org> To: Ben Woods <woodsb02@gmail.com> Cc: FreeBSD Ports Mailing List <ports@freebsd.org> Subject: Re: [CFT] pkg-plist generator Message-ID: <20170401190018.f5056b8876925acc5320ac98@freebsd.org> In-Reply-To: <CAOc73CAmQ0tsoxe-VW8sAmJSiADcSj1He=KKRBp3sQcaFU5u7A@mail.gmail.com> References: <20170325181408.8feb700e5ed82aa47546e3c7@bsdforen.de> <CAOc73CAmQ0tsoxe-VW8sAmJSiADcSj1He=KKRBp3sQcaFU5u7A@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--Signature=_Sat__1_Apr_2017_19_00_19_+0200_0puemMcs66CYxfhG Content-Type: text/plain; charset=US-ASCII Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, 27 Mar 2017 20:33:46 +0800 Ben Woods <woodsb02@gmail.com> wrote: > On 26 March 2017 at 01:14, Dominic Fandrey <kamikaze@bsdforen.de> wrote: >=20 > > Since February I have been working on a pkg-plist generator that > > understands and handles options. I believe it is now ready for public > > testing as a part of my bsda2 script collection: > > >=20 > I had a similar idea for adding this functionality to the poudriere > testport command, which I mentioned here: > https://github.com/freebsd/poudriere/issues/303 This is actually a big deal, because you have to obey a lot of rules like OPTIONS_SINGLE, OPTIONS_MULTI ${opt}_IMPLIES, ${opt}_PREVENTS etc. The script itself is about 1.3 kLOC long, if you count the shared code it goes up to 3.6 kLOC. lines words chars 1299 4827 34535 src/makeplist.sh 1206 4378 29901 src/bsda_obj.sh 473 1517 10010 src/bsda_container.sh 154 600 3969 src/pkg_info.sh 312 1088 6984 src/bsda_opts.sh 85 265 1442 src/bsda_util.sh 82 313 1889 src/bsda_bsdmake.sh 3611 12988 88730 total It's not huge, but it's not exactly small either. > I never got around to implementing anything though... it staid just an > idea. Looking forward to trying yours. I'm looking forward to your feedback! --=20 A: Because it fouls the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing on usenet and in e-mail?=20 --Signature=_Sat__1_Apr_2017_19_00_19_+0200_0puemMcs66CYxfhG Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- iQGTBAEBCgB9FiEEfYhGEP+7uobxe8A3b/BdaakqWdsFAljf3KNfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDdE ODg0NjEwRkZCQkJBODZGMTdCQzAzNzZGRjA1RDY5QTkyQTU5REIACgkQb/Bdaakq Wdt/Tgf9Hy1ShkNi4icNpJEOLXjFhgeFywC0vucq3JwICLH7v3gjYg9lx3w6PhoR BXKYPNiEVJsyuh5hQwibmbwkv/9K2E938/eXucSt58J4s2vaLiAtwlrncU2DBllC CCZWTgXD8aUZbOBKyb/nWRJZ9SsWxepK0KeeVJkYSJYV9YyqTpHX//YIbcCFuB0g 20i6wLpDs8ksxKehMpv31twDeqSoRWLSS9b8FCIwKoWtz5yTnxrZM4eh7P6DPMfu rx7BTpX7hb1KOK2frnvvejM5TufbVuLudJedJPwWqE5bR4AFvGuVbEeSsoTHBHyW F+2GU+w7XhnTqxSB985CJVsImeUa8A== =OzZF -----END PGP SIGNATURE----- --Signature=_Sat__1_Apr_2017_19_00_19_+0200_0puemMcs66CYxfhG--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20170401190018.f5056b8876925acc5320ac98>