[MacPorts] #35925: port lint inaccurately complains about port directory name when a full @macports.org maintainer address is used

MacPorts noreply at macports.org
Sat Sep 1 15:14:26 PDT 2012


#35925: port lint inaccurately complains about port directory name when a full
@macports.org maintainer address is used
-------------------------------------+--------------------------------------
 Reporter:  ryandesign@…             |       Owner:  ryandesign@…           
     Type:  defect                   |      Status:  new                    
 Priority:  Normal                   |   Milestone:                         
Component:  base                     |     Version:  2.1.2                  
 Keywords:                           |        Port:                         
-------------------------------------+--------------------------------------
 {{{
 $ port lint XXX
 --->  Verifying Portfile for XXX
 Warning: Using full email address for no/open maintainer
 Error: Portfile directory XXX does not match port name nomaintainer
 --->  1 errors and 1 warnings found.
 }}}

 The warning is correct, but the error is not; the problem is that the
 "name" variable (which is supposed to represent the port name) got
 overwritten with the local part of the maintainer email address being
 checked.

 The fix is to change the variable "name" to something else (such as
 "localpart") in the following lines in src/port1.0/portlint.tcl:

 {{{
         } elseif [regexp "^(.+)@macports.org$" $addr -> name] {
             ui_warn "Maintainer email address for $name includes
 @macports.org"
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/35925>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list