Gentoo Archives: gentoo-dev

From: Kent Fredric <kentnl@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 01:09:34
Message-Id: 20170602130903.334b0d03@katipo2.lan
In Reply to: [gentoo-dev] [RFC] Addition of a new field to metadata.xml by Jonas Stein
1 On Thu, 1 Jun 2017 23:18:22 +0200
2 Jonas Stein <jstein@g.o> wrote:
3
4 > A space separated list of the corresponding debian packages should be
5 > written in the field
6 > <remote-id type="debian"> </remote-id>
7
8 Why space separated?
9
10 Its already legal to specify the field multiple times, and it should
11 work better that way for consistency with things that can already parse
12 XML.
13
14 That way there's no need to put an additional parser inside our XML
15 extraction.
16
17 <remote-id type="debian">libfoo</remote-id>
18 <remote-id type="debian">libfoo-debug</remote-id>
19
20 No?
21
22 It also means general purpose XML formatting tools can keep it tidy,
23 _and_ sorted, without having to reinvent new tools.

Replies