[MacPorts] #13825: port lint should check patchfile names in non-selected variants and platforms
#13825: port lint should check patchfile names in non-selected variants and platforms -------------------------------------+-------------------------------------- Reporter: ryandesign@macports.org | Owner: macports-tickets@lists.macosforge.org Type: defect | Status: new Priority: Normal | Milestone: MacPorts base bugs Component: base | Version: 1.6.0 Keywords: | -------------------------------------+-------------------------------------- `port lint` checks patchfile names (see #12958) but only in variants or platforms which are selected. For example, if a portfile includes {{{ platform darwin 6 { patchfiles foo } }}} and one is not running Mac OS X 10.2, then no warning is issued for the patchfile foo, though one should be. Or if a portfile includes {{{ variant abc description abc { patchfiles bar } }}} and one does not run `sudo port lint +abc` (and +abc is not a default variant), then no warning issued for the patchfile bar, though one should be. -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13825> MacPorts </projects/macports> Ports system for Mac OS
#13825: port lint should check non-selected variants and platforms --------------------------------------+------------------------------------- Reporter: ryandesign@macports.org | Owner: macports-tickets@lists.macosforge.org Type: defect | Status: new Priority: Normal | Milestone: MacPorts base bugs Component: base | Version: 1.6.0 Resolution: | Keywords: --------------------------------------+------------------------------------- Changes (by afb@macports.org): * summary: port lint should check patchfile names in non-selected variants and platforms => port lint should check non-selected variants and platforms Comment: Proabably should be made more generic, so that it runs all checks on inactive variants ? -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13825#comment:1> MacPorts </projects/macports> Ports system for Mac OS
#13825: port lint should check non-selected variants and platforms --------------------------------------+------------------------------------- Reporter: ryandesign@macports.org | Owner: macports-tickets@lists.macosforge.org Type: defect | Status: new Priority: Normal | Milestone: MacPorts base bugs Component: base | Version: 1.6.0 Resolution: | Keywords: --------------------------------------+------------------------------------- Comment (by ryandesign@macports.org): Of course. I mean, one phase of lint simply does a line-by-line check of the portfile, so that phase already checks inactive variants. But whatever the second phase does (including checking patchfiles as reported in this ticket and checking port dependencies as reported in #14380) should check inactive variants as well, somehow. -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13825#comment:2> MacPorts </projects/macports> Ports system for Mac OS
participants (1)
-
MacPorts