1 |
-----BEGIN PGP SIGNED MESSAGE----- |
2 |
Hash: SHA1 |
3 |
|
4 |
Robert Buchholz wrote: |
5 |
> Accepting the fact that different teams have different preferences, we |
6 |
> need to find a solution for them to set theirs individually. This could |
7 |
> either be the order of elements in metadata.xml (and would set the |
8 |
> preference on a per-package basis) or some attribute in herds.xml |
9 |
> (which would be a global setting per herd, and we'd need to find a |
10 |
> default). |
11 |
|
12 |
Ok, sounds like we've got some options: |
13 |
|
14 |
a) herds.xml per-herd priority flag (herd gets assigned) |
15 |
b) metadata.xml priority element (can be opt-in or opt-out) |
16 |
c) order of elements in metadata.xml |
17 |
|
18 |
I'm personally not keen on the order of elements, since adding meaning |
19 |
to the order might mean a fair number of misassignments until people fix |
20 |
the metadata.xml files. |
21 |
|
22 |
The herds.xml element isn't very specific, but if the herd-first rules |
23 |
apply to the whole herd, then it's probably the least-impact solution. |
24 |
|
25 |
Finally, if we think we'll ever need something more specific than |
26 |
herds.xml, we could add an extra element. <priority type="herd"> or |
27 |
<priority type="maintainer"> could be added to the minority case (I'm |
28 |
not sure which has fewer ebuilds, but if there's hard and fast rules |
29 |
this should be relatively automatable). |
30 |
|
31 |
More involved solutions could include wrapping the appropriate element |
32 |
in <assignee></assignee> (what happens if there's no assignee tag), or |
33 |
adding an assignee attribute to one of the herd/maintainer tags (how can |
34 |
we ensure there's never two assignees). |
35 |
|
36 |
I'm up for whatever, with a slight preference toward not relying on |
37 |
ordering... |
38 |
|
39 |
Mike 5:) |
40 |
-----BEGIN PGP SIGNATURE----- |
41 |
Version: GnuPG v2.0.9 (GNU/Linux) |
42 |
|
43 |
iEYEARECAAYFAklg/AEACgkQu7rWomwgFXolAACgoujUIQs0AYRHK+JRoOsMiO41 |
44 |
HMkAoIHx5re/FOiD3GQNCR7fJ7xC3ebM |
45 |
=Sc4j |
46 |
-----END PGP SIGNATURE----- |