Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-dev
Navigation:
Lists: gentoo-dev: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-dev@g.o
From: "Jorge Manuel B. S. Vicetto" <jmbsvicetto@g.o>
Subject: Re: SHA256 and indention in metadata.xml
Date: Sat, 25 Jun 2011 20:32:43 +0000
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

On 25-06-2011 14:23, Nirbheek Chauhan wrote:
> On Sat, Jun 25, 2011 at 6:16 PM, justin <jlec@g.o> wrote:
>> Another question, do we have a rule, how the metadata.xml has to be
>> indented? Tabs or n spaces?
>>
> 
> There's no rule, but we should follow the same rule as ebuilds —
> indentation should be with a tab that's displayed as 4 spaces in
> editors (no expansion of tabs to spaces).

Talking from my own experience when doing retirement stuff, there seems
to be two large currents on metadata.xml in the tree, using tabs and 2
spaces for indentation.
I personally prefer tabs, but I also like using EAPI="<version>",
sorting everything alphabetically and even use the following depend blocks:

*DEPEND="
	!<X-2.0
	!Y
	<A>
	<B>
	...
	<Z>
	a? ( <X> )
	b? ( <Y> )
	c? (
		<J>
		<K>
	)
"

As expected, I'm sure many of the others disagree / dislike at least
part of my preferences.

- -- 
Regards,

Jorge Vicetto (jmbsvicetto) - jmbsvicetto at gentoo dot org
Gentoo- forums / Userrel / Devrel / KDE / Elections / RelEng
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQIcBAEBCAAGBQJOBkXrAAoJEC8ZTXQF1qEPjUgQANBsE0uhZPR0Yqlmh6G4bCpo
F+IvN0PbMcU35tjy87jQ47Y4dCg9mCQftPe1uPt4rtmc1Sww/ztqPdlsXJdi4nRQ
pnVPnJdds39hYzmc5rOjVtsyZOKLH92J7ytVom9AiuO7DqxJvs/A6q/sj46E0KBI
MSUHvSNMH+aq6xGVyQ2lTRAUXUT83bkl3BOrxdPLApgZvteF+fDKHUIviLoQA+wO
VV31Jsav+IIa3KNmxmiF6IoWZFeCLyVlwMJDHp0r23Q28n6qDOoKbWjpwQBwGPXQ
5a/nLKHRTVStzy94gqqCSlNyZso4KjrC5JAeadHiAPisRGloJUWB12UYN/Tm/4CA
KfA4Myvk3Aclr6BGnUQ+DeX+r0hKElHwR60XqkebTt04dcDS1GylV1IpJjpHt8dZ
j2Btz6HdZKzDTRabCyaaOk2UaXAYtN4KjkaWepKHauR73XEtLxs8YY1gc+0T3i4Q
pbjQJfGCP166b/1hS9Evr5/oAcxlDlSRHL0773BowrX/CGpKTDv5bv+9Gm3skiOV
Zd89MomsoV++QUTcXe1i7m6XAYyHkhf9doJl62t5LlflQYE+UIb69HnhdpdHQdfw
km55lo24X4lvxV+nDz26v+fi9mHqlJ4TNxZaQ+6PnvrI4K862biRz+VlsSWcE5ay
1nb/tuwZ0VlfQvUh5TES
=wuC1
-----END PGP SIGNATURE-----


Replies:
Re: SHA256 and indention in metadata.xml
-- Maciej Mrozowski
References:
SHA256 and indention in metadata.xml
-- justin
Re: SHA256 and indention in metadata.xml
-- Nirbheek Chauhan
Navigation:
Lists: gentoo-dev: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Re: SHA256 and indention in metadata.xml
Next by thread:
Re: SHA256 and indention in metadata.xml
Previous by date:
Re: Re: RFC: split up media-sound/ category
Next by date:
Re: Re: RFC: split up media-sound/ category


Updated Jun 29, 2012

Summary: Archive of the gentoo-dev mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.