On Sat, Jun 06, 2015 at 09:34:41AM +0200, Michał Górny wrote:
> Dnia 2015-06-06, o godz. 09:26:08
> "Justin Lecher (jlec)" <j...@gentoo.org> napisał(a):
> 
> > Can we get an agreement on how we are indenting metadata.xml?
> > 
> > I like to properly format and indent metadata.xml, but without having
> > an agreement or policy on the indention, I make unhappy by choosing
> > the wrong.
> > 
> > The two options which are already suggested are
> > 
> > * 2 spaces
> > * single tab
> > 
> > So what should it be?
> 
> A tab. With one-line element contents being inline, while multi-line in
> deeper indented block, i.e.:
> 
> ...><maintainer>
> ...>...><name>Foo Bar</name>
> ...>...><email>b...@example.com</email>
> ...></maintainer>
> ...><longdescription>
> ...>...>Some random text. Possibly spanning multiple lines.
> ...>...>Like this.
> ...></longdescription>

This one definitely. Tabs let people set the tabstop themselves and its
all easy. Can we get repoman to autoformat the xml files during a commit
too?

-- Jason


Reply via email to