Bug 277824 - ports-mgmt/py-pnu-portstreelint: New port: FreeBSD ports tree lint
Summary: ports-mgmt/py-pnu-portstreelint: New port: FreeBSD ports tree lint
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Nuno Teixeira
URL: https://github.com/HubTou/portstreelint
Keywords:
Depends on:
Blocks:
 
Reported: 2024-03-20 01:31 UTC by Hubert Tournier
Modified: 2024-03-20 09:44 UTC (History)
1 user (show)

See Also:


Attachments
git format-patch for py-pnu-portstreelint (2.72 KB, patch)
2024-03-20 01:31 UTC, Hubert Tournier
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Hubert Tournier 2024-03-20 01:31:29 UTC
Created attachment 249315 [details]
git format-patch for py-pnu-portstreelint

Hello,

This is a new port for my pnu-portstreelint Python package (see the "Port tree linter" discussion on freebsd-ports ML).

This tool could be of interest to ports maintainers.

There's a TODO file in the GitHub repository with possible future directions, but I welcome other ideas from anyone...

Best regards,

PS: there are convenience aliases ptlint and ptl offered for keyboard sustainability
Comment 1 commit-hook freebsd_committer freebsd_triage 2024-03-20 09:43:39 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=d004acb586229ffd0436c52c6b7f3e3f6dfcd202

commit d004acb586229ffd0436c52c6b7f3e3f6dfcd202
Author:     Hubert Tournier <hubert.tournier@gmail.com>
AuthorDate: 2024-03-20 08:27:33 +0000
Commit:     Nuno Teixeira <eduardo@FreeBSD.org>
CommitDate: 2024-03-20 09:41:54 +0000

    ports-mgmt/py-pnu-portstreelint: New port: FreeBSD ports tree lint

    - Submitter becomes maintainer

    The portstreelint utility checks the FreeBSD ports tree Index and some
    parts of the ports' Makefiles for errors and warnings.

    By default it will scan the whole port tree, but you can select a
    subset of the ports by specifying lists of categories, maintainers and
    ports names.

    WWW:            https://github.com/HubTou/portstreelint
    PR:             277824

 ports-mgmt/Makefile                             |  1 +
 ports-mgmt/py-pnu-portstreelint/Makefile (new)  | 25 +++++++++++++++++++++++++
 ports-mgmt/py-pnu-portstreelint/distinfo (new)  |  3 +++
 ports-mgmt/py-pnu-portstreelint/pkg-descr (new) | 12 ++++++++++++
 4 files changed, 41 insertions(+)
Comment 2 Nuno Teixeira freebsd_committer freebsd_triage 2024-03-20 09:44:16 UTC
Committed, thank you!