1 |
On Wed, 16 Mar 2016 20:37:30 +0100 |
2 |
Dirkjan Ochtman <djc@g.o> wrote: |
3 |
|
4 |
> On Wed, Mar 16, 2016 at 7:43 PM, Michał Górny <mgorny@g.o> wrote: |
5 |
> > Therefore, I've been slowly writing a proper GLEP that would describe |
6 |
> > all of metadata.xml in detail. Here's the current draft for review: |
7 |
> |
8 |
> Sounds like a good idea! |
9 |
> |
10 |
> > https://wiki.gentoo.org/wiki/User:MGorny/GLEP:68 |
11 |
> |
12 |
> I reviewed your spec based on my experience from trying to create a |
13 |
> RELAX NG schema for all metadata.xml files that were in the tree at |
14 |
> the time. I assume you've also validated your spec against what's |
15 |
> actually being used? |
16 |
|
17 |
I've validated my XML Schema which conforms to the spec (but isn't 100% |
18 |
strict on everything). You can see the numeric results in 'backwards |
19 |
compat' section, also attaching failures.txt with specific list in |
20 |
case you wanted to look through it. |
21 |
|
22 |
> I have a few questions: |
23 |
> |
24 |
> - I had the upstream maintainer's email element pegged as mandatory. |
25 |
> Don't you think that makes sense? A name-only maintainer element seems |
26 |
> relatively low-value to me. |
27 |
|
28 |
As for upstream stuff, I tried to keep it as GLEP 46 says. In this |
29 |
case, it's unclear whether it's supposed to be mandatory. There's no |
30 |
explicit notion either way. However, as I pointed out, there are 4 |
31 |
packages which list maintainers with empty e-mail address. If we are to |
32 |
consider email obligatory, we should drop maintainer entries from them. |
33 |
|
34 |
> - You list a number of the upstream child elements (changelog, doc, |
35 |
> bug-to) as "zero or more". Doesn't it make sense to make (some of) |
36 |
> these zero or one? |
37 |
|
38 |
This is another problem with GLEP 46 -- I have no clue. After |
39 |
discussing this with ulm, he suggested we use the same number for all |
40 |
elements to reduce possible confusion. |
41 |
|
42 |
Maybe it would be useful to query GLEP 46 authors but sadly I don't |
43 |
have time to do that right now. |
44 |
|
45 |
-- |
46 |
Best regards, |
47 |
Michał Górny |
48 |
<http://dev.gentoo.org/~mgorny/> |