Gentoo Archives: gentoo-dev

From: "Robin H. Johnson" <robbat2@g.o>
To: gentoo-dev@l.g.o
Subject: [gentoo-dev] metadata.xml: <changepolicies>
Date: Wed, 24 Feb 2010 23:41:41
Message-Id: 20100224234126.GC18564@orbis-terrarum.net
1 I'm forking this thread from -core, so we can have some useful
2 discussion about the idea, and then somebody can take it to the
3 gentoo-dev list.
4
5 This needs a lot more polishing still, and I'm not happy with some of
6 the semantics (esp. "policy" is too harsh a word for what we are trying
7 to convey).
8
9 ====
10 Metadata.xml should allow use of a <changepolicies> element. Within the
11 element, package maintainers should be able to describe how
12 non-maintainer changes to the package are handled.
13
14 The changepolicy element should contain zero or more <change> elements,
15 each of which present a tuple of the type of change ("type" attribute)
16 and the policy ("policy" attribute) for that type.
17
18 Proposed types:
19 ---------------
20 - version-bump
21 - trivial-version-bump
22 - trivial-fixes
23 - fixes
24 - enhancements
25 - qa-fixes
26 - trivial-qa-fixes
27
28 TODO: I'm not sure what we'd put into some of these type at this point.
29 One dimension of split would be things that require a revbump vs. those
30 that don't. trivial-version-bump is probably the easiest one to handle,
31 simply copying the ebuild with changes to HOMEPAGE/SRC_URI/KEYWORDS.
32
33 Proposed policies:
34 ------------------
35 - file-bug: A bug (ideally with patch) should be filed only.
36 - review-requested: Discuss the change with a maintainer via ANY means,
37 get a +1 for it, and then you can commit it.
38 - notify: Do the change AND notify the maintainer.
39 - allowed: Do the change, no notification required.
40
41 Proposed defaults:
42 ------------------
43 TODO: I can see a lot of value in motivating developers by declaring the
44 defaults for change policies shall be that all types are "notify".
45
46 ====
47
48 --
49 Robin Hugh Johnson
50 Gentoo Linux: Developer, Trustee & Infrastructure Lead
51 E-Mail : robbat2@g.o
52 GnuPG FP : 11AC BA4F 4778 E3F6 E4ED F38E B27B 944E 3488 4E85

Replies

Subject Author
Re: [gentoo-dev] metadata.xml: <changepolicies> Ulrich Mueller <ulm@g.o>
Re: [gentoo-dev] metadata.xml: <changepolicies> Fabian Groffen <grobian@g.o>
Re: [gentoo-dev] metadata.xml: <changepolicies> Sebastian Pipping <sping@g.o>