I just noticed that a new port submitted had a quoted "COMMENT" which portlint didn't complain about. This patch adds a warning for this.
Responsible Changed From-To: freebsd-ports-bugs->marcus Over to maintainer
State Changed From-To: open->feedback What is the reasoning behind this? Is that it looks bad in pkg_info? The reason I ask is that some ports use quoting within COMMENT, but do not quote the whole COMMENT (e.g. games/gweled). I think this is fine. If that is the case, then I think your pattern might be a bit too restrictive. We could opt for something like the following instead: if ($whole =~ /^COMMENT[+?]?=[ t]+"[^"+]"$/m) { Thoughts?
Yes, you're right. I just copied the regex from one of the other checks without giving it much thought. Only quoting the whole COMMENT should be flagged, quotes inside the message are ok.
State Changed From-To: feedback->closed Committed, and integrated into portlint 2.7.5.