Gentoo Archives: gentoo-dev

From: "Michał Górny" <mgorny@g.o>
To: "Justin Lecher (jlec)" <jlec@g.o>
Cc: Gentoo Dev <gentoo-dev@l.g.o>
Subject: Re: [gentoo-dev] RFC: Indention in metadata.xml
Date: Sat, 06 Jun 2015 07:35:07
Message-Id: 20150606093441.7e22ff39@pomiot.lan
In Reply to: [gentoo-dev] RFC: Indention in metadata.xml by "Justin Lecher (jlec)"
1 Dnia 2015-06-06, o godz. 09:26:08
2 "Justin Lecher (jlec)" <jlec@g.o> napisał(a):
3
4 > Can we get an agreement on how we are indenting metadata.xml?
5 >
6 > I like to properly format and indent metadata.xml, but without having
7 > an agreement or policy on the indention, I make unhappy by choosing
8 > the wrong.
9 >
10 > The two options which are already suggested are
11 >
12 > * 2 spaces
13 > * single tab
14 >
15 > So what should it be?
16
17 A tab. With one-line element contents being inline, while multi-line in
18 deeper indented block, i.e.:
19
20 ...><maintainer>
21 ...>...><name>Foo Bar</name>
22 ...>...><email>bar@×××××××.com</email>
23 ...></maintainer>
24 ...><longdescription>
25 ...>...>Some random text. Possibly spanning multiple lines.
26 ...>...>Like this.
27 ...></longdescription>
28
29
30 --
31 Best regards,
32 Michał Górny

Replies

Subject Author
Re: [gentoo-dev] RFC: Indention in metadata.xml Jason Zaman <perfinion@g.o>