Summary: | ports-mgmt/portlint : request to warn on patches that don't have UTC in "---" line | ||
---|---|---|---|
Product: | Ports & Packages | Reporter: | John Marino <marino> |
Component: | Individual Port(s) | Assignee: | Joe Marcus Clarke <marcus> |
Status: | Closed FIXED | ||
Severity: | Affects Only Me | CC: | danfe |
Priority: | --- | Flags: | bugzilla:
maintainer-feedback?
(marcus) |
Version: | Latest | ||
Hardware: | Any | ||
OS: | Any |
Description
John Marino
2015-02-16 21:13:41 UTC
Auto-assigned to maintainer marcus@FreeBSD.org danfe will probably be interested in this, CC him. I definitely agree with John that this is a problem that should be fixed. I'd happily review/test proposed patches (or might cook one myself when time permits). Have a look at http://www.marcuscom.com/cgi-bin/cvsweb.cgi/portlint/portlint.pl.diff?r1=1.350&r2=1.351 . This is my proposed patch. I suggest changing "``make patch'' to "``make makepatch''. The perl code looks ok but I didn't test it. (In reply to Joe Marcus Clarke from comment #4) I won't have time to test it right now, but it looks almost fine overall. Two nits: 1) the make(1) target is "makepatch", not just "patch", so the full command should be "make makepatch"; and 2) I might be wrong, but I don't see the need for $pline local variable. Won't combined /UTC\s+$/ work? Thanks. Updated. A commit references this bug: Author: marcus Date: Mon Apr 13 04:53:26 UTC 2015 New revision: 383894 URL: https://svnweb.freebsd.org/changeset/ports/383894 Log: Update to 2.16.3. * Check the patches to make sure they were generated using ``make patch'' [1] * Do not throw a bunch of Perl errors if the makefile is bad [2] PR: 197747 198887 Changes: head/ports-mgmt/portlint/Makefile head/ports-mgmt/portlint/src/portlint.pl Fixed in 2.16.3. |