[pacman-dev] package PKGINFO format vs DB format
aaronmgriffin at gmail.com
Wed Sep 19 12:29:54 EDT 2007
On 9/19/07, Xavier <shiningxc at gmail.com> wrote:
> On Wed, Sep 19, 2007 at 12:49:12AM -0500, Aaron Griffin wrote:
> > And it died again it seems!
> > This is a lot of work, and I'm trying to keep on top of these things....
> > So here's the operative question to get the ball rolling.
> > 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.
> Which files exactly are we talking about?
> What about "files" (no pun intended ;) in the local db?
Lemme see if I recall correctly. The second format is obviously our
current DB format. The first is the .PKGINFO file in the package
I, also, like the first format better.
Here's on thing that wasn't brought up above - list parsing:
list = one
list = two
list = three
More information about the pacman-dev