Date: Sun, 3 Mar 2024 08:22:58 +0000 From: Nuno Teixeira <eduardo@freebsd.org> To: Hubert Tournier <hubert.tournier@gmail.com> Cc: Alexander Leidinger <Alexander@leidinger.net>, freebsd-ports@freebsd.org Subject: Re: Port tree linter Message-ID: <CAFDf7U%2BVSOA1Zx_TB-J4e3Kps5Fn_MY_zPGSnvmdT5y5Fo_HBw@mail.gmail.com> In-Reply-To: <28d5cf8a-c3eb-419d-ba36-9594c829cad1@gmail.com> References: <cb6f89d3-3f7b-4beb-bd6a-83c95faec3c3@gmail.com> <1d9568c9-b2b6-468e-8bc5-509d9aa4ed99@gmail.com> <46af7b220502ded8fb3848f279546da3@Leidinger.net> <bb131eb7-cc75-448e-8ff2-54721bcfe3da@gmail.com> <c0fe4a0083554b11559b83fa64b591d2@Leidinger.net> <28d5cf8a-c3eb-419d-ba36-9594c829cad1@gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Hello, Is there plans to add it to our ports tree? Seems that we don't have PNU deps ported yet. Cheers Hubert Tournier <hubert.tournier@gmail.com> escreveu (domingo, 3/03/2024 =C3=A0(s) 01:23): > > Le 02/03/2024 =C3=A0 18:22, Alexander Leidinger a =C3=A9crit : > > Am 2024-03-02 09:24, schrieb Hubert Tournier: > > Now that this tool is a Python package, it's easier to use other Python l= ibraries. > > Maybe a check for ports which could be flavourized? Most PHP and python p= ackages could be flavourized. The issue may be false positives... > > PHP examples are baikal and tt-rss (for both I have patches, waiting a bi= t before declaring maintainer timeout). > > Unless there is a way to deduce that from a port's Makefile, I do not see= how to implement it? > > For example, taking Python packages, it would require downloading the dis= tfiles, analyzing their content (for example, sections [options.extras_requ= ire] in setup.cfg), and looking if there are corresponding port flavours (a= ssuming they have been named similarly). > > But downloading all ports distfiles would be very long and would consume = a lot of disk space (with a possible Denial of Service risk, should a file = system be saturated!). > > If there's another simpler way, I would be happy to know about it. > > Best regards, > > Hubert > > --=20 Nuno Teixeira FreeBSD Committer (ports)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAFDf7U%2BVSOA1Zx_TB-J4e3Kps5Fn_MY_zPGSnvmdT5y5Fo_HBw>