Re: Port tree linter
- Reply: Nuno Teixeira : "Re: Port tree linter"
- In reply to: Alexander Leidinger : "Re: Port tree linter"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 03 Mar 2024 01:22:45 UTC
Le 02/03/2024 à 18:22, Alexander Leidinger a écrit : > > Am 2024-03-02 09:24, schrieb Hubert Tournier: > >> Now that this tool is a Python package, it's easier to use other >> Python libraries. >> > Maybe a check for ports which could be flavourized? Most PHP and > python packages could be flavourized. The issue may be false positives... > > PHP examples are baikal and tt-rss (for both I have patches, waiting a > bit 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 distfiles, analyzing their content (for example, sections [options.extras_require] in setup.cfg), and looking if there are corresponding port flavours (assuming 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