Re: PKGBUILD parser

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Sun, May 9, 2010 at 6:06 PM, Loui Chang <louipc.ist@xxxxxxxxx> wrote:
>
> Yeah I've thought about this as well. Source packages could have a
> similar format as binary packages with a .PKGINFO file to present the
> metadata in an easily parsable format.
>
> You can read some of my incomplete brainstormings here:
> http://louipc.mine.nu/arch/%5BRFC%5D-PKGINFO-in-srctargz
>
>

Ah, that's great, never heard of that before !

A few comments :
- using the PKGINFO format sounds like a good idea, but not sure why
you want to keep the same name. As you noticed yourself, this would
cause stupid problems like a possible confusion between source and
package tarballs. Better just call it SRCINFO, so pacman will never be
confused.
- for split pkgbuilds and arch , well... Maybe it would be simpler to
write as many SRCINFO as there are PKGINFO/packages , i.e. one for
every combination of split name / arch. Maybe all these files could be
all combined into just one, I am not sure.
But I would not care about data duplication, I would rather keep it as
dummy and easy to parse as possible.


[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux