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: Maciej Mrozowski <reavertm@...>
Subject: Re: SHA256 and indention in metadata.xml
Date: Sun, 26 Jun 2011 17:20:49 +0200
On Saturday 25 of June 2011 22:32:43 Jorge Manuel B. S. Vicetto wrote:
> 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>
> 	)
> "

^^ is actually the main point of my "ebuild formatting nazi" agenda (usually 
followed by "oh why did you break formatting in my shiny ebuild!11, revert!" 
chants by various developers in case I happened to touch packages of theirs).

I never understood the reason after keeping deps not sorted alphabetically 
where order doesn't matter - it's like someone purposely made ebuild harder to 
read - it's counter productive.

-- 
regards
MM
Attachment:
signature.asc (This is a digitally signed message part.)
Replies:
Re: SHA256 and indention in metadata.xml
-- Peter Volkov
Re: SHA256 and indention in metadata.xml
-- Kent Fredric
Re: SHA256 and indention in metadata.xml
-- Nirbheek Chauhan
References:
SHA256 and indention in metadata.xml
-- justin
Re: SHA256 and indention in metadata.xml
-- Nirbheek Chauhan
Re: SHA256 and indention in metadata.xml
-- Jorge Manuel B. S. Vicetto
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: Are tags just sets?
Next by date:
Re: Thoughts about broken package handling


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.