Skip to content

Commit

Permalink
Fix logic for adding freebsd-${arch}@ mailing list to Cc
Browse files Browse the repository at this point in the history
Commit b060ba6 erroneously reverted logic in condition so instead
of adding maillist to Cc for new PRs filed against individual ports
on non-x86 architectures it actually added Cc-s for all non-port
PRs on x86 or Any hardware.

Convert to old logic
  • Loading branch information
gonzoua committed Feb 17, 2017
1 parent b4a9868 commit 26fb612
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions extensions/BFBSD/Extension.pm
Original file line number Diff line number Diff line change
Expand Up @@ -83,10 +83,10 @@ sub bug_end_of_create {
# Bug 196909 - add $arch CCs for ports bugs with
# platform != (amd64, i386)
# We only add CCs, if it is a individual port bug
if ($bug->product ne PRODUCT_PORTS ||
$bug->component ne COMPONENT_PORTS) {
if ($bug->rep_platform eq "amd64" || $bug->rep_platform eq "i386" ||
$bug->rep_platform eq "Any") {
if ($bug->product eq PRODUCT_PORTS &&
$bug->component eq COMPONENT_PORTS) {
if ($bug->rep_platform ne "amd64" && $bug->rep_platform ne "i386" &&
$bug->rep_platform ne "Any") {

my $archuser = sprintf("freebsd-%s\@FreeBSD.org",
$bug->rep_platform);
Expand Down

0 comments on commit 26fb612

Please sign in to comment.