Gentoo Archives: gentoo-dev

From: Jonas Stein <jstein@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] [RFC] Addition of a new field <remote-id type="debian"> to metadata.xml
Date: Fri, 02 Jun 2017 06:17:07
Message-Id: 7aa8c65c-8356-5dce-20a8-620629348ad3@gentoo.org
In Reply to: Re: [gentoo-dev] [RFC] Addition of a new field to metadata.xml by Kent Fredric
1 >> A space separated list of the corresponding debian packages should be
2 >> written in the field
3 >> <remote-id type="debian"> </remote-id>
4 > Why space separated?
5 > Its already legal to specify the field multiple times, and it should
6 > work better that way for consistency with things that can already parse
7 > XML.
8 >
9 > That way there's no need to put an additional parser inside our XML
10 > extraction.
11 >
12 > <remote-id type="debian">libfoo</remote-id>
13 > <remote-id type="debian">libfoo-debug</remote-id>
14 >
15 > No?
16 >
17 > It also means general purpose XML formatting tools can keep it tidy,
18 > _and_ sorted, without having to reinvent new tools.
19
20 That is a very good point.
21 We should note it as you suggested, because it fits better to xml.
22 Thank you.
23 Best,
24
25 --
26 Jonas Stein