[MacPorts] #14031: port lint should check for whitespace before/after variant descriptions
#14031: port lint should check for whitespace before/after variant descriptions -------------------------------------+-------------------------------------- Reporter: ryandesign@macports.org | Owner: macports-tickets@lists.macosforge.org Type: enhancement | Status: new Priority: Normal | Milestone: MacPorts base enhancements Component: base | Version: 1.7.0 Keywords: | -------------------------------------+-------------------------------------- The syntax of variant descriptions lends itself to being written incorrectly, resulting in unintended whitespace before or after the description. Wrong: {{{ variant foo description { foodesc } { ... } variant bar description " bardesc " { ... } }}} Right: {{{ variant foo description {foodesc} { ... } variant bar description "bardesc" { ... } }}} `port lint` should warn of whitespace before or after a variant description. -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/14031> MacPorts </projects/macports> Ports system for Mac OS
#14031: port lint should check for whitespace before/after variant descriptions --------------------------------------+------------------------------------- Reporter: ryandesign@macports.org | Owner: macports-tickets@lists.macosforge.org Type: enhancement | Status: new Priority: Normal | Milestone: MacPorts base enhancements Component: base | Version: 1.7.0 Resolution: | Keywords: --------------------------------------+------------------------------------- Changes (by raimue@macports.org): * cc: raimue@macports.org (added) Comment: In my opinion, port variants should strip leading and trailing whitespace on variant descriptions. -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/14031#comment:1> MacPorts </projects/macports> Ports system for Mac OS
#14031: port lint should check for whitespace before/after variant descriptions --------------------------------------+------------------------------------- Reporter: ryandesign@macports.org | Owner: macports-tickets@lists.macosforge.org Type: enhancement | Status: new Priority: Normal | Milestone: MacPorts base enhancements Component: base | Version: 1.7.0 Resolution: | Keywords: --------------------------------------+------------------------------------- Comment (by ryandesign@macports.org): That would be another way to go. Probably a better way. I filed that as a separate ticket #14037. If we do that, then we don't need to change `port lint`. -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/14031#comment:2> MacPorts </projects/macports> Ports system for Mac OS
#14031: port lint should check for whitespace before/after variant descriptions --------------------------------------+------------------------------------- Reporter: ryandesign@macports.org | Owner: ryandesign@macports.org Type: enhancement | Status: new Priority: Normal | Milestone: MacPorts base enhancements Component: base | Version: 1.7.0 Resolution: | Keywords: --------------------------------------+------------------------------------- Changes (by ryandesign@macports.org): * owner: macports-tickets@lists.macosforge.org => ryandesign@macports.org Comment: #14037 has been implemented (good job, Rainer!) so we don't need any `port lint` changes after all. -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/14031#comment:3> MacPorts </projects/macports> Ports system for Mac OS
#14031: port lint should check for whitespace before/after variant descriptions --------------------------------------+------------------------------------- Reporter: ryandesign@macports.org | Owner: ryandesign@macports.org Type: enhancement | Status: closed Priority: Normal | Milestone: MacPorts base enhancements Component: base | Version: 1.7.0 Resolution: wontfix | Keywords: --------------------------------------+------------------------------------- Changes (by ryandesign@macports.org): * status: new => closed * resolution: => wontfix -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/14031#comment:4> MacPorts </projects/macports> Ports system for Mac OS
participants (1)
-
MacPorts