<pre style='margin:0'>
Joshua Root (jmroot) pushed a commit to branch release-2.4
in repository macports-base.
</pre>
<p><a href="https://github.com/macports/macports-base/commit/98d55a85e96ce2894122c9b272606031092c3b80">https://github.com/macports/macports-base/commit/98d55a85e96ce2894122c9b272606031092c3b80</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 98d55a85e96ce2894122c9b272606031092c3b80
</span>Author: Joshua Root <jmr@macports.org>
AuthorDate: Wed Feb 15 03:02:37 2017 +1100
<span style='display:block; white-space:pre;color:#404040;'> Fix 'port lint' for multi-valued maintainers
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> (cherry picked from commit 2cadd1b4c232dc78179bb50c4aee6a7da1915ab7)
</span>---
src/port1.0/portlint.tcl | 30 ++++++++++++++++--------------
1 file changed, 16 insertions(+), 14 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/src/port1.0/portlint.tcl b/src/port1.0/portlint.tcl
</span><span style='display:block; white-space:pre;color:#808080;'>index 43b269a..6795555 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/src/port1.0/portlint.tcl
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/src/port1.0/portlint.tcl
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -591,20 +591,22 @@ proc portlint::lint_main {args} {
</span> incr errors
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>- foreach addr $maintainers {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- if {$addr eq "nomaintainer@macports.org" ||
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- $addr eq "openmaintainer@macports.org"} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ui_warn "Using full email address for no/open maintainer"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- incr warnings
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- } elseif {[regexp "^(.+)@macports.org$" $addr -> localpart]} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ui_warn "Maintainer email address for $localpart includes @macports.org"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- incr warnings
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- } elseif {$addr eq "darwinports@opendarwin.org"} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ui_warn "Using legacy email address for no/open maintainer"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- incr warnings
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- } elseif {[regexp "^(.+)@(.+)$" $addr -> localpart domain]} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ui_warn "Maintainer email address should be obfuscated as $domain:$localpart"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- incr warnings
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ foreach maintainer $maintainers {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ foreach addr $maintainer {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {$addr eq "nomaintainer@macports.org" ||
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ $addr eq "openmaintainer@macports.org"} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ui_warn "Using full email address for no/open maintainer"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ incr warnings
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ } elseif {[regexp "^(.+)@macports.org$" $addr -> localpart]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ui_warn "Maintainer email address for $localpart includes @macports.org"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ incr warnings
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ } elseif {$addr eq "darwinports@opendarwin.org"} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ui_warn "Using legacy email address for no/open maintainer"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ incr warnings
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ } elseif {[regexp "^(.+)@(.+)$" $addr -> localpart domain]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ui_warn "Maintainer email address should be obfuscated as $domain:$localpart"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ incr warnings
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span> }
}
</pre><pre style='margin:0'>
</pre>