[MacPorts] #52767: port lint should warn when modeline is missing

MacPorts noreply at macports.org
Tue Nov 1 05:00:49 CET 2016


#52767: port lint should warn when modeline is missing
-------------------------+--------------------------------
 Reporter:  ryandesign   |      Owner:  macports-tickets@…
     Type:  enhancement  |     Status:  new
 Priority:  Normal       |  Milestone:
Component:  base         |    Version:  2.3.4
 Keywords:               |       Port:
-------------------------+--------------------------------
 `port lint` should warn if the Portfile doesn't have a modeline. We
 recommend a [https://guide.macports.org/chunked/development.creating-
 portfile.html standard modeline], but some ports use a slightly different
 modeline, or make it span multiple lines, or put it at the end of the
 Portfile. While I would prefer port authors use the standard modeline at
 the top of the Portfile on a single line, for lint purposes we could
 probably allow any modeline anywhere. Or maybe that's too hard to code, in
 which case we could be more restrictive.

--
Ticket URL: <https://trac.macports.org/ticket/52767>
MacPorts <https://www.macports.org/>
Ports system for macOS



More information about the macports-tickets mailing list