[pacman-dev] package PKGINFO format vs DB format

Dan McGee dpmcgee at gmail.com
Wed Sep 19 09:43:40 EDT 2007


On 9/19/07, Roman Kyrylych <roman.kyrylych at gmail.com> wrote:
> 2007/9/19, Aaron Griffin <aaronmgriffin at gmail.com>:
> >
> > Which format do we like more?
> >
> > [
> >     foo = bar
> >     baz = blah
> > ]
> > vs
> > [
> >     %FOO%
> >     bar
> >
> >     %BAZ%
> >     blah
> > ]
> >
> > And try not to think about where/when bash and python and things like
> > that need this data - that's a non-issue as we can always write helper
> > utils using libalpm's parsing if it becomes really hard for things
> > like, say, namcap.
>
> +1 for the first format.
> I looks better IMO + it i s easier to work with bash, sed, grep etc.
>
> --
> Roman Kyrylych (Роман Кирилич)

First seems easier on the eyes for sure. And not very hard to parse. :P

-Dan


More information about the pacman-dev mailing list