Merlijn van Deen has uploaded a new change for review. https://gerrit.wikimedia.org/r/104199
Change subject: Ignore [email protected] ...................................................................... Ignore [email protected] Change-Id: Iee5d66a3f9e190a1ead78237b813c1d73653d815 --- M wikibugs 1 file changed, 6 insertions(+), 0 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/wikimedia/bugzilla/wikibugs refs/changes/99/104199/1 diff --git a/wikibugs b/wikibugs index 20652a0..f7c29b5 100755 --- a/wikibugs +++ b/wikibugs @@ -148,6 +148,12 @@ exit 0; } +# Check if the user is '[email protected]', which is used +# to import bugs from other bug trackers. Ignore these messages. +if ($mail->header( 'X-Bugzilla-Who' ) eq '[email protected]') { + exit 0; +} + my ($bug, $summary, $st); if ($subject =~ /\[Bug (\d+)\]\s+New:\s+(.*)/s) { ($bug, $summary, $st) = ($1, $2, "\00303(NEW)\003"); -- To view, visit https://gerrit.wikimedia.org/r/104199 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Iee5d66a3f9e190a1ead78237b813c1d73653d815 Gerrit-PatchSet: 1 Gerrit-Project: wikimedia/bugzilla/wikibugs Gerrit-Branch: master Gerrit-Owner: Merlijn van Deen <[email protected]> _______________________________________________ MediaWiki-commits mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits
