Port tree linter

2024-02-27 Thread Hubert Tournier
Hello there! I made a small program that perhaps may be of interest to some port maintainers. It's called portlint2 (https://github.com/HubTou/portlint2), and it checks the ports Index file and the port's makefiles, for the whole port tree, or for selected categories / maintainers / ports.

Re: Port tree linter

2024-02-27 Thread Hubert Tournier
Hello, Le 27/02/2024 à 23:54, Chris a écrit : On 2024-02-27 09:50, Hubert Tournier wrote: It's called portlint2 (https://github.com/HubTou/portlint2), and it checks the ports Index file and the port's makefiles, for the whole port tree, or for selected categories / maintainers / po

re: Port tree linter

2024-02-27 Thread Hubert Tournier
Hello, Le 27/02/2024 à 23:54, Chris a écrit : On 2024-02-27 09:50, Hubert Tournier wrote: It's called portlint2 (https://github.com/HubTou/portlint2), and it checks the ports Index file and the port's makefiles, for the whole port tree, or for selected categories / maintainers / po

Re: Port tree linter

2024-03-02 Thread Hubert Tournier
Le 28/02/2024 à 08:32, Alexander Leidinger a écrit : Am 2024-02-28 00:52, schrieb Hubert Tournier: Shouldn't this make it to ports-mgmt/ as portlinter? If it's deemed useful, I could make the port next week-end. If you do that, I suggest to use a name which makes it clear that it

Re: Port tree linter

2024-03-02 Thread Hubert Tournier
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

Re: Proposed ports deprecation and removal policy

2024-03-02 Thread Hubert Tournier
On Thu, 29 Feb 2024 19:26:23 UTC, Xin LI wrote: For example, one of my port gets marked as DEPRECATED because a dependency was deprecated and scheduled for removal after 1 month, without any email telling me so (the port doesn't have a lot of releases and there isn't any release during that "par

Re: Port tree linter

2024-03-03 Thread Hubert Tournier
Le 03/03/2024 à 09:22, Nuno Teixeira a écrit : Is there plans to add it to our ports tree? Seems that we don't have PNU deps ported yet. Yes, I'll do that, but I want to finish one or two functionalities first: - VuXML vulnerabilities check, that I'll roll out this afternoon - distfiles avail

Re: Port tree linter

2024-03-03 Thread Hubert Tournier
Le 03/03/2024 à 17:11, Piotr Smyrak a écrit : On Sun, 3 Mar 2024 12:48:03 +0100 Hubert Tournier wrote: Le 03/03/2024 à 09:22, Nuno Teixeira a écrit : Is there plans to add it to our ports tree? Seems that we don't have PNU deps ported yet. Yes, I'll do that, but I want to finish

Re: how to see order of make targets steps in ports tree?

2024-03-14 Thread Hubert Tournier
Hello, Check this link: https://docs.freebsd.org/en/books/porters-handbook/slow-porting/#slow-work From what I have seen, shebangfix is done during the patch target. You use SHEBANG_FILES to specify which files it needs to affect Best regards, Hubert Le 14/03/2024 à 19:55, Miroslav Lachman

Re: Port tree linter

2024-03-20 Thread Hubert Tournier
Hello there! I would like to announce the availability of PortsTreeLint (portstreelint or ptlint or ptl for short) in the ports tree under ports-mgmt/py-pnu-portstreelint This tool checks the FreeBSD ports tree Index and some parts of the ports' Makefiles for errors and warnings. By defaul