Gentoo Archives: gentoo-dev

From: Dan Meltzer <hydrogen@×××××××××××××××××.com>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] Planning for automatic assignment of bugs
Date: Thu, 26 Apr 2007 20:28:03
Message-Id: 200704261623.29197.hydrogen@notyetimplemented.com
In Reply to: [gentoo-dev] Planning for automatic assignment of bugs by "Robin H. Johnson"
1 On Thursday 26 April 2007 3:40:06 pm Robin H. Johnson wrote:
2 > So as a not-so-brief follow-up to solar's email, here is a brief
3 > proposal on the automatic assignment stuff, incl. one spot that we might
4 > need to add an attribute to metadata.xml.
5 >
6 > Assignment process, triggering:
7 > ===============================
8 > Auto-assignment will be be applied/available in the following cases:
9 > 1. New bugs created with the guided process, having a Product equal to
10 > 'Gentoo Linux' and a component not equal to 'Eclasses and Profiles'.
11 > 2. Open bugs will have a new action available: 'Reassign by metadata',
12 > with a text input field. The text field will be auto-filled with a
13 > package atom $CAT/$PN by parsing the summary line. Using the action
14 > will provide the package atom to the next stage.
15 >
16 > If multiple package atoms are present in a summary line, the first one
17 > wins.
18 >
19 > Assignment process, after the package is known:
20 > ===============================================
21 >
22 > We have a package spec now, so we can find who to assign the bug to.
23 >
24 > Objectives in this section are to reduce unwanted duplicate mail, while
25 > still preserving the data in metadata for non-automated usage.
26 >
27 > Case 1 - Metadata contains only a herd
28 > --------------------------------------
29 > - The herd will have @gentoo.org appended, and this must be a valid
30 > bugzilla account.
31 >
32 > Case 2 - Metadata contains a single maintainer
33 > ----------------------------------------------
34 > - The herd field is not used.
35 > - The maintainer address is used as the bugzilla assignee.
36 > This is important for all the herds that have aliases that are NOT the
37 > same as their herd name!
38 > This diverges from existing manual practice, to avoid unnecessary
39 > duplicate mail, and means that existing metadata may need a cleanup.
40 >
41 > Case 3 - Metadata contains multiple maintainers
42 > -----------------------------------------------
43 > - Follow case 2 first.
44 > - Further maintainer addresses are used in the CC field.
45 >
46 > Case 4 - Metadata contains multiple maintainers, some special
47 > -------------------------------------------------------------
48 > - Follow case 3 first.
49 > - If a maintainer is listed in the metadata for special reasons (eg only
50 > for some special patch), they should include the 'contact=0' attribute
51 > on their maintainer element AND have a role element present
52 > describing why.
53 > - This also allows for cases where the herd address should be used as
54 > the assignee, and the maintainer does NOT want a duplicate CC.
55 >
56 > Comments etc welcome.
57
58 Sounds good... one suggestion I have is to try and detect new ebuild
59 submissions and resassign them to m-w automatically as well. maybe a
60 checkbox "this is a new ebuild" or some other way to automatically detect it?
61 --
62 gentoo-dev@g.o mailing list

Replies

Subject Author
Re: [gentoo-dev] Planning for automatic assignment of bugs expose@×××××××××××.net