1 |
So as a not-so-brief follow-up to solar's email, here is a brief |
2 |
proposal on the automatic assignment stuff, incl. one spot that we might |
3 |
need to add an attribute to metadata.xml. |
4 |
|
5 |
Assignment process, triggering: |
6 |
=============================== |
7 |
Auto-assignment will be be applied/available in the following cases: |
8 |
1. New bugs created with the guided process, having a Product equal to |
9 |
'Gentoo Linux' and a component not equal to 'Eclasses and Profiles'. |
10 |
2. Open bugs will have a new action available: 'Reassign by metadata', |
11 |
with a text input field. The text field will be auto-filled with a |
12 |
package atom $CAT/$PN by parsing the summary line. Using the action |
13 |
will provide the package atom to the next stage. |
14 |
|
15 |
If multiple package atoms are present in a summary line, the first one |
16 |
wins. |
17 |
|
18 |
Assignment process, after the package is known: |
19 |
=============================================== |
20 |
|
21 |
We have a package spec now, so we can find who to assign the bug to. |
22 |
|
23 |
Objectives in this section are to reduce unwanted duplicate mail, while |
24 |
still preserving the data in metadata for non-automated usage. |
25 |
|
26 |
Case 1 - Metadata contains only a herd |
27 |
-------------------------------------- |
28 |
- The herd will have @gentoo.org appended, and this must be a valid |
29 |
bugzilla account. |
30 |
|
31 |
Case 2 - Metadata contains a single maintainer |
32 |
---------------------------------------------- |
33 |
- The herd field is not used. |
34 |
- The maintainer address is used as the bugzilla assignee. |
35 |
This is important for all the herds that have aliases that are NOT the |
36 |
same as their herd name! |
37 |
This diverges from existing manual practice, to avoid unnecessary |
38 |
duplicate mail, and means that existing metadata may need a cleanup. |
39 |
|
40 |
Case 3 - Metadata contains multiple maintainers |
41 |
----------------------------------------------- |
42 |
- Follow case 2 first. |
43 |
- Further maintainer addresses are used in the CC field. |
44 |
|
45 |
Case 4 - Metadata contains multiple maintainers, some special |
46 |
------------------------------------------------------------- |
47 |
- Follow case 3 first. |
48 |
- If a maintainer is listed in the metadata for special reasons (eg only |
49 |
for some special patch), they should include the 'contact=0' attribute |
50 |
on their maintainer element AND have a role element present |
51 |
describing why. |
52 |
- This also allows for cases where the herd address should be used as |
53 |
the assignee, and the maintainer does NOT want a duplicate CC. |
54 |
|
55 |
Comments etc welcome. |
56 |
|
57 |
-- |
58 |
Robin Hugh Johnson |
59 |
Gentoo Linux Developer & Council Member |
60 |
E-Mail : robbat2@g.o |
61 |
GnuPG FP : 11AC BA4F 4778 E3F6 E4ED F38E B27B 944E 3488 4E85 |