Bug 198152

Summary: Issues with >1 cat/port (with maintainers) references in title get no Assignee, only CC's
Product: Services Reporter: Kubilay Kocak <koobs>
Component: Bug TrackerAssignee: Bugmeister <bugmeister>
Status: Open ---    
Severity: Affects Only Me Keywords: feature, needs-qa
Priority: ---    
Version: unspecified   
Hardware: Any   
OS: Any   
See Also: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=198136

Description Kubilay Kocak freebsd_committer freebsd_triage 2015-03-02 10:46:20 UTC
If an issue summary contains multiple cat/port references (both with MAINTAINER, the current auto-assigner process results in no assignee. This is a degenerate (via ambiguity) case.

For example:

Title: cat1/port1: Build breaks when cat2/port2 is installed

Current result after auto-assigner:

Assignee: freebsd-ports-bugs
CC: maintainer-port1,

The port then (ideally) needs to be assigned to the correct maintainer, in a separate and additional step. See bug 198136 as an example

Should this be changed to:

Assignee: maintainer-port1
CC: maintainer-port2

More precisely, that for:

a) Issue summaries containing multiple cat/port references,
b) The first referenced cat/port MAINTAINER is set as Assignee,
c) IF and ONLY if the first referenced port is maintained (not ports@), AND
d) All subsequent referenced cat/port maintainers are added to CC for those that are maintained (not ports@)

Note: If the first references port is UNMAINTAINED, standard rules would apply (Assignee: freebsd-ports-bugs) as is currently the case.

If the first cat/port reference is not the port with the issue (false-positive), then it should be re-assigned. This doesn't increase workflow overhead compared to the current state.