Gentoo Archives: gentoo-dev

From: "Jorge Manuel B. S. Vicetto" <jmbsvicetto@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] SHA256 and indention in metadata.xml
Date: Sat, 25 Jun 2011 20:33:39
Message-Id: 4E0645EB.7090402@gentoo.org
In Reply to: Re: [gentoo-dev] SHA256 and indention in metadata.xml by Nirbheek Chauhan
1 -----BEGIN PGP SIGNED MESSAGE-----
2 Hash: SHA256
3
4 On 25-06-2011 14:23, Nirbheek Chauhan wrote:
5 > On Sat, Jun 25, 2011 at 6:16 PM, justin <jlec@g.o> wrote:
6 >> Another question, do we have a rule, how the metadata.xml has to be
7 >> indented? Tabs or n spaces?
8 >>
9 >
10 > There's no rule, but we should follow the same rule as ebuilds —
11 > indentation should be with a tab that's displayed as 4 spaces in
12 > editors (no expansion of tabs to spaces).
13
14 Talking from my own experience when doing retirement stuff, there seems
15 to be two large currents on metadata.xml in the tree, using tabs and 2
16 spaces for indentation.
17 I personally prefer tabs, but I also like using EAPI="<version>",
18 sorting everything alphabetically and even use the following depend blocks:
19
20 *DEPEND="
21 !<X-2.0
22 !Y
23 <A>
24 <B>
25 ...
26 <Z>
27 a? ( <X> )
28 b? ( <Y> )
29 c? (
30 <J>
31 <K>
32 )
33 "
34
35 As expected, I'm sure many of the others disagree / dislike at least
36 part of my preferences.
37
38 - --
39 Regards,
40
41 Jorge Vicetto (jmbsvicetto) - jmbsvicetto at gentoo dot org
42 Gentoo- forums / Userrel / Devrel / KDE / Elections / RelEng
43 -----BEGIN PGP SIGNATURE-----
44 Version: GnuPG v2.0.17 (GNU/Linux)
45 Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
46
47 iQIcBAEBCAAGBQJOBkXrAAoJEC8ZTXQF1qEPjUgQANBsE0uhZPR0Yqlmh6G4bCpo
48 F+IvN0PbMcU35tjy87jQ47Y4dCg9mCQftPe1uPt4rtmc1Sww/ztqPdlsXJdi4nRQ
49 pnVPnJdds39hYzmc5rOjVtsyZOKLH92J7ytVom9AiuO7DqxJvs/A6q/sj46E0KBI
50 MSUHvSNMH+aq6xGVyQ2lTRAUXUT83bkl3BOrxdPLApgZvteF+fDKHUIviLoQA+wO
51 VV31Jsav+IIa3KNmxmiF6IoWZFeCLyVlwMJDHp0r23Q28n6qDOoKbWjpwQBwGPXQ
52 5a/nLKHRTVStzy94gqqCSlNyZso4KjrC5JAeadHiAPisRGloJUWB12UYN/Tm/4CA
53 KfA4Myvk3Aclr6BGnUQ+DeX+r0hKElHwR60XqkebTt04dcDS1GylV1IpJjpHt8dZ
54 j2Btz6HdZKzDTRabCyaaOk2UaXAYtN4KjkaWepKHauR73XEtLxs8YY1gc+0T3i4Q
55 pbjQJfGCP166b/1hS9Evr5/oAcxlDlSRHL0773BowrX/CGpKTDv5bv+9Gm3skiOV
56 Zd89MomsoV++QUTcXe1i7m6XAYyHkhf9doJl62t5LlflQYE+UIb69HnhdpdHQdfw
57 km55lo24X4lvxV+nDz26v+fi9mHqlJ4TNxZaQ+6PnvrI4K862biRz+VlsSWcE5ay
58 1nb/tuwZ0VlfQvUh5TES
59 =wuC1
60 -----END PGP SIGNATURE-----

Replies

Subject Author
Re: [gentoo-dev] SHA256 and indention in metadata.xml Maciej Mrozowski <reavertm@×××××.com>