[34561] trunk/base/src/port1.0/portlint.tcl

afb at macports.org afb at macports.org
Thu Feb 28 01:40:49 PST 2008


Revision: 34561
          http://trac.macosforge.org/projects/macports/changeset/34561
Author:   afb at macports.org
Date:     2008-02-28 01:40:48 -0800 (Thu, 28 Feb 2008)

Log Message:
-----------
lint: issue error when using nomaintainer together with other or openmaintainer without any other (#14506)

Modified Paths:
--------------
    trunk/base/src/port1.0/portlint.tcl

Modified: trunk/base/src/port1.0/portlint.tcl
===================================================================
--- trunk/base/src/port1.0/portlint.tcl	2008-02-28 08:45:49 UTC (rev 34560)
+++ trunk/base/src/port1.0/portlint.tcl	2008-02-28 09:40:48 UTC (rev 34561)
@@ -438,6 +438,16 @@
         }
     }
 
+    if {[regexp "^(.+)nomaintainer(@macports.org)?(.+)$" $maintainers] } {
+        ui_error "Using nomaintainer together with other maintainer"
+        incr errors
+    }
+
+    if {[regexp "^openmaintainer(@macports.org)?$" $maintainers] } {
+        ui_error "Using openmaintainer without any other maintainer"
+        incr errors
+    }
+
     if {[string match "*darwinports at opendarwin.org*" $maintainers]} {
         ui_warn "Using legacy email address for no/open maintainer"
         incr warnings

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080228/357e7a0b/attachment.html 


More information about the macports-changes mailing list